terms_per_plot_level
- pyoptex.doe.fixed_structure.splitk_plot.utils.terms_per_plot_level(factors, model)[source]
Computes the number of coefficients to be estimated per plot level (excluding any degrees of freedom required for the estimation of the variance components).
Parameters
- factorslist(
Factor) The factors of the design.
- modelpd.DataFrame
The model dataframe
Returns
- nb_terms_per_levelnp.array(1d)
The number of terms for each plot level. E.g., element zero is the number of terms for the easy-to-change degrees of freedom.
- factorslist(