Main Content

verify (covmodel)

Check covariate model for errors




verify(CovModelObj) verifies that the following are true about the Expression property of CovModelObj, a CovariateModel object:

  • The expressions are valid MATLAB® code.

  • Each expression is linear with a transformation.

  • There is exactly one expression for each parameter.

  • In each expression, a covariate is used in at most one term.

  • In each expression, there is at most one random effect (eta)

  • Fixed effect (theta) and random effect (eta) names are unique within and across expressions. That is, each covariate has its own fixed effect.

If the previous requirements are true, then verify returns nothing.

Introduced in R2011b