## S3 method for class 'clm':
anova(object, ..., test = c("Chisq", "none"))
## S3 method for class 'clmm':
anova(object, ..., test = c("Chisq", "none"))
clm
object.clm
objects.test = "none"
the p-value for the likelihood
ratio test is suppressed.Anova
(for printing) and
data.frame
with the following elementstest = "none"
.clm
, addterm
,
dropterm
and
anova.default
options(contrasts = c("contr.treatment", "contr.poly"))
data(soup)
m1 <- clm(SURENESS ~ PROD, scale = ~PROD, data = soup,
link = "logistic")
## anova
anova(m1, update(m1, scale = ~.-PROD))
mN1 <- clm(SURENESS ~ 1, nominal = ~PROD, data = soup,
link = "logistic")
anova(m1, mN1)
anova(m1, update(m1, scale = ~.-PROD), mN1)
## Fit model from polr example:
data(housing, package = "MASS")
fm1 <- clm(Sat ~ Infl + Type + Cont, weights = Freq, data = housing)
anova(fm1, update(fm1, scale =~ Cont))
Run the code above in your browser using DataLab