obs_var

pyoptex.doe.fixed_structure.splitk_plot.utils.obs_var(plot_sizes, ratios=None)[source]

Directly computes the observation matrix from the design. Is similar to obs_var_Zs followed by obs_var_from_Zs.

Parameters

plot_sizesnp.array(1d)

The sizes of each plot. e.g. [3, 4] is a split-plot design with 4 plots and 3 runs per plot.

ratiosnp.array(1d)

The variance ratios of the different groups compared to the variance of the random errors.

Returns

Vnp.array(2d)

The observation covariance matrix.