LM_est: Linear Model Estimation using the nlme package.

Description Usage Arguments Value Author(s) References See Also

Description

This gets the REML or ML estimates and predictions of random effects from the nlme package. function does.

Usage

1
LM_est(x, y, dat, method = "REML")

Arguments

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).

Value

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.

Author(s)

Yusuf Bilgic

References

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.

See Also

rlme


rlme documentation built on May 2, 2019, 3:47 p.m.