lme_fit_FS | R Documentation |
Fit a univariate linear mixed-effects model using Fisher scoring
lme_fit_FS(X, Zcols, y, ni, e = 10^-3)
X |
Design matrix |
Zcols |
Vector of random effect indices in design matrix |
y |
Outcome variable |
ni |
Vector indicating the repeated observations of each subject |
e |
Tolerance (default: 10^-3) |
The function returns stats, a list of statistics, with the following entries: Bhat, CovBhat, bihat, Covbihat, phisqhat, SIGMA, W, Dhat, X, Zcols, re, ni, and lreml.
## Not run: stats <- lme_fit_FS(X, Zcols, y, ni)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.