satdf {CR2}R 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


[Package CR2 version 0.2.1 Index]