validate_plot_sizes

pyoptex.doe.fixed_structure.splitk_plot.utils.validate_plot_sizes(factors, model)[source]

Validates that this configuration of split-plot sizes can estimate all fixed effects and variances of the random effects.

Parameters

factorslist(Factor pyoptex.doe.fixed_structure.utils.Factor)

The factors of the design.

modelpd.DataFrame

The model dataframe

Returns

AssertionError :

If the plot sizes are not sufficient to estimate all fixed effects and variances of the random effects (with at least one degree of freedom).