verify (covmodel)

Check covariate model for errors

Syntax

verify(CovModelObj)

Description

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

  • The expression strings are valid MATLAB® code.

  • Each expression string is linear with a transformation.

  • There is exactly one expression string for each parameter.

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

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

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

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

Was this topic helpful?