cov_time_trend
- pyoptex.doe.fixed_structure.cov.cov_time_trend(ntime, nruns)[source]
Covariance function to account for time trends. The entire experiment is divided in ntime equidistant sections
For example, if ntime is 3 and nruns is 6, then the time trend is [-1, -1, 0, 0, 1, 1]
Parameters
- ntimeint
The total number of distinct time points.
- nrunsint
The total number of runs in the design.
Returns
- covfunc(Y, X)
The covariance function.