satdf: Compute Satterthwaite degrees of freedom

View source: R/satdf.R

satdfR Documentation

Compute Satterthwaite degrees of freedom

Description

Function to compute empirical degrees of freedom based on Bell and McCaffrey (2002).

Usage

satdf(m1, type = "none", Vinv2, Vm2, br2, Gname = NULL)

Arguments

m1

The lmerMod or lme model object.

type

The type of cluster robust correction used (i.e., CR2 or none).

Vinv2

Inverse of the variance matrix.

Vm2

The variance matrix.

br2

The bread component.

Gname

The group (clustering variable) name'

Value

Returns a vector of degrees of freedom.

Author(s)

Francis Huang, huangf@missouri.edu

Bixi Zhang, bixizhang@missouri.edu


flh3/CR2 documentation built on March 11, 2024, 9:20 p.m.