nlme (version 3.1-86)

varExp: Exponential Variance Function

Description

This function is a constructor for the varExp class, representing an exponential variance function structure. Letting $v$ denote the variance covariate and $\sigma^2(v)$ denote the variance function evaluated at $v$, the exponential variance function is defined as $\sigma^2(v) = \exp(2\theta v)$, where $\theta$ is the variance function coefficient. When a grouping factor is present, a different $\theta$ is used for each factor level.

Usage

varExp(value, form, fixed)

Arguments

Value

a varExp object representing an exponential variance function structure, also inheriting from class varFunc.

References

Pinheiro, J.C., and Bates, D.M. (2000) "Mixed-Effects Models in S and S-PLUS", Springer.

See Also

varClasses, varWeights.varFunc, coef.varExp

Examples

Run this code
vf1 <- varExp(0.2, form = ~age|Sex)

Run the code above in your browser using DataLab