lrTest: Likelihood-Ratio Test for Fitted mer Objects

Description Usage Arguments Value See Also Examples

Description

Likelihood-Ratio Test for Fitted mer Objects

Usage

1
lrTest(m1, m2)

Arguments

m1

Model to be compared (list object from tryFit)

m2

Model to be compared (list object from tryFit)

Value

A list with:

Number of Estimated Parameters

A matrix;

Likelihood-Ratio Test

Output from the test, or NA if either or both models did not converge.

See Also

tryFit

Examples

1
2
3
4
dat <- mkDf()
m1 <- tryFit(Resp~Cond+(1+Cond|SubjID)+(1+Cond|ItemID), dat, REML=FALSE)
m2 <- tryFit(Resp~(1+Cond|SubjID)+(1+Cond|ItemID), dat, REML=FALSE)
lrTest(m1, m2)

dalejbarr/simgen documentation built on May 14, 2019, 3:32 p.m.