Info_Expected_lmeAR1: Calculate expected information matrix

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

Info_Expected_lmeAR1R Documentation

Calculate expected information matrix

Description

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

Usage

Info_Expected_lmeAR1(m_fit)

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

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 May 29, 2024, 12:11 p.m.