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


CR2 documentation built on Jan. 10, 2023, 1:11 a.m.

Related to satdf in CR2...