varConstPower | R Documentation |
This function is a constructor for the varConstPower
class,
representing a constant plus power variance function
structure. Letting v
denote the variance covariate and
\sigma^2(v)
denote the variance function evaluated at
v
, the constant plus power variance function is defined as
\sigma^2(v) = (\theta_1 + |v|^\theta_2)^2
, where \theta_1,\theta_2
are the variance
function coefficients. When a grouping factor is present, different
\theta_1,\theta_2
are used for each factor level.
varConstPower(const, power, form, fixed)
const, power |
optional numeric vectors, or lists of numeric
values, with, respectively, the coefficients for the constant
and the power terms. Both arguments must have length one, unless a
grouping factor is specified in |
form |
an optional one-sided formula of the form |
fixed |
an optional list with components |
a varConstPower
object representing a constant plus power
variance function structure, also inheriting from class
varFunc
.
José Pinheiro and Douglas Bates bates@stat.wisc.edu
Pinheiro, J.C., and Bates, D.M. (2000) "Mixed-Effects Models in S and S-PLUS", Springer.
varClasses
,
varWeights.varFunc
,
coef.varConstPower
vf1 <- varConstPower(1.2, 0.2, form = ~age|Sex)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.