Description Usage Arguments Value Author(s) References See Also
This gets the REML or ML estimates and predictions of random effects from the nlme package. function does.
1 | LM_est(x, y, dat, method = "REML")
|
x |
Design matrix, (p+1)xn, with intercept. |
y |
Response vector of nx1. |
dat |
Data frame |
method |
Character string indicating method to use, either "ML" or "REML" (defaults to REML). |
theta |
Fixed effects esimates. |
ses |
Standard error for fixed effects. |
varb |
Variances. |
sigma |
Error. |
ehat |
Raw residuals |
standr.lme |
Standardized residual |
effect_sch |
Cluster random error. |
effect_sec |
Subcluster random error. |
effect_err |
Epsilon error. |
Yusuf Bilgic
J. Pinheiro, D. Bates, S. DebRoy, D. Sarkar and R Development Core Team. nlme linear and non- linear mixed effects models. The R Journal, 2011. URL http://CRAN.R-project.org/package=nlme. R package version 3.1-98.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.