x2__modcomp | R Documentation |
Chisq test
X2modcomp(largeModel, smallModel, betaH = 0, details = 0, ...)
## Default S3 method:
X2modcomp(largeModel, smallModel, betaH = 0, details = 0, ...)
largeModel |
An |
smallModel |
An |
betaH |
A number or a vector of the beta of the hypothesis,
e.g. L beta=L betaH. If |
details |
If larger than 0 some timing details are printed. |
... |
Additional arguments, currently not used. |
TBW
Ulrich Halekoh uhalekoh@health.sdu.dk, Søren Højsgaard sorenh@math.aau.dk
(fm0 <- lmer(Reaction ~ (Days|Subject), sleepstudy)) (fm1 <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy)) (fm2 <- lmer(Reaction ~ Days + I(Days^2) + (Days|Subject), sleepstudy))
X2modcomp(fm1, "Days") X2modcomp(fm1, ~.-Days) L1 <- cbind(0, 1)
X2modcomp(fm1, fm0) anova(fm1, fm0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.