min_plot_levels

pyoptex.doe.fixed_structure.splitk_plot.utils.min_plot_levels(tppl)[source]

Computes the required number of degrees of freedom at each plot level in order to estimate all fixed effects and variances of the random effects.

Parameters

tpplnp.array(1d)

The number of terms per plot level. Is the result of calling terms_per_plot_level.

Returns

reqnp.array(1d)

The absolute minimum sized split^k-plot design to fit all fixed effects and estimate all variances of the random effects.