Info_Expected_lmeAR1: Calculate expected information matrix

Description Usage Arguments Value Examples

View source: R/REML-ES-functions.R

Description

Calculates the expected information matrix from a fitted linear mixed effects model with AR(1) correlation structure in the level-1 errors.

Usage

1

Arguments

m_fit

Fitted model of class lme, with AR(1) correlation structure at level 1.

Value

Expected Information matrix corresponding to variance components of m_fit.

Examples

1
2
3
4
5
6
data(Laski)
Laski_RML <- lme(fixed = outcome ~ treatment, 
                 random = ~ 1 | case, 
                 correlation = corAR1(0, ~ time | case), 
                 data = Laski)
Info_Expected_lmeAR1(Laski_RML)

scdhlm documentation built on Jan. 13, 2021, 7:10 p.m.