Skip to Main Content Skip to Search
Product Documentation

Expression (CovariateModel) - Define relationship between parameters and covariates

Description

The Expression property is a string or cell array of strings, where each string represents the relationship between a parameter and one or more covariates. The Expression property denotes fixed effects with the prefix theta, and random effects with the prefix eta.

Each expression string must be in the form:

parameterName = relationship

This example of an expression string defines the relationship between a parameter (volume) and a covariate (weight), with fixed effects, but no random effects:

CovModelObj.Expression = {'volume = theta1 + theta2*weight'};

This table illustrates expression formats for some common parameter-covariate relationships.

Parameter-Covariate RelationshipExpression Format
Linear with random effectCl = theta1 + theta2*WEIGHT + eta1
Exponential without random effectCl = exp(theta_Cl + theta_Cl_WT*WEIGHT)
Exponential, WEIGHT centered by mean, has random effectCl = exp(theta1 + theta2*(WEIGHT - mean(WEIGHT)) + eta1)
Exponential, log(WEIGHT), which is equivalent to power modelCl = exp(theta1 + theta2*log(WEIGHT) + eta1)
Exponential, dependent on WEIGHT and AGE, has random effectCl = exp(theta1 + theta2*WEIGHT + theta3*AGE + eta1)

The Expression property must meet the following requirements:

Characteristics

Applies toObject: CovariateModel
Data typeString or cell array of strings
Data valuesparameterName = relationship
AccessRead/write

See Also

CovariateModel | getCovariateData | verify

How To

  


Free Computational Biology Interactive Kit

See how to analyze, visualize, and model biological data and systems using MathWorks products.

Get free kit

Trials Available

Try the latest computational biology products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS