On this page
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 s2(v) denote the variance function evaluated at v, the exponential variance function is defined as s2(v) = exp(2* t * v), where t is the variance function coefficient. When a grouping factor is present, a different t is used for each factor level.
Usage
varExp(value, form, fixed)
Arguments
value |
an optional numeric vector, or list of numeric values, with the variance function coefficients. |
form |
an optional one-sided formula of the form |
fixed |
an optional numeric vector, or list of numeric values, specifying the values at which some or all of the coefficients in the variance function should be fixed. If a grouping factor is specified in |
Value
a varExp
object representing an exponential variance function structure, also inheriting from class varFunc
.
Author(s)
José Pinheiro and Douglas Bates bates@stat.wisc.edu
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
vf1 <- varExp(0.2, form = ~age|Sex)
Copyright (©) 1999–2012 R Foundation for Statistical Computing.
Licensed under the GNU General Public License.