emp_start | R Documentation |
Obtain empirical start value for unstructured covariance
emp_start(data, model_formula, visit_var, subject_var, subject_groups, ...)
data |
( |
model_formula |
( |
visit_var |
( |
subject_var |
( |
subject_groups |
( |
... |
not used. |
This emp_start
only works for unstructured covariance structure.
It uses linear regression to first obtain the coefficients and use the residuals
to obtain the empirical variance-covariance, and it is then used to obtain the
starting values.
A numeric vector of starting values.
data
is used instead of full_frame
because full_frame
is already
transformed if model contains transformations, e.g. log(FEV1) ~ exp(FEV1_BL)
will
drop FEV1
and FEV1_BL
but add log(FEV1)
and exp(FEV1_BL)
in full_frame
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.