View source: R/lmmHeterosced.R
lmmHeterosced | R Documentation |
lmmHeterosced
Linear mixed model with the log error variance as linear function of data.
lmmHeterosced(formula, data, heterosced_formula = ~1, REML = TRUE)
formula |
model formula lmer style |
data |
a data frame with the data |
heterosced_formula |
an optional heteroscedasticity formula |
REML |
if restricted maximum likelihood should be used |
lmmHeterosced
returns a list with elements:
Fixef (fixed effects estimates),
Heterosced (parameters of the heteroscedasticity function, a linear function of the log residual variance),
Ranef_log_Var (random effect variances on log),
Ranef (random effect),
Residuals,
data (the original data),
error_var_matrix (variance matrix of the estimation error)
fit (nlminb output),
obj (MakeADFun output),
optTime (Optimization time)
Geir H. Bolstad
# See the vignette 'lmmHeterosced'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.