Closed duncanbradley closed 1 year ago
Several options:
Use summary() to report z-statistics or anova() to report t-statistics
summary()
anova()
Use drop1(model, scope=c("axis","denominator","axis:denominator"), test="Chisq")
drop1(model, scope=c("axis","denominator","axis:denominator"), test="Chisq")
Error: Only marginal terms can be dropped from the model
Use car::Anova(model, type="III", test.statistic="Chisq")
car::Anova(model, type="III", test.statistic="Chisq")
Create individual comparison models to test each fixed effect using anova() (used in Choropleth paper)
Assess interaction term using a Chisq goodness-of-fit test, but assess main effects using z- or t-statistics
Solve:
params
:
str_replace(x, ":", "_"))
group_map()
group_split()
map()
completed in 407dd1c
Several options:
Use
summary()
to report z-statistics oranova()
to report t-statisticsUse
drop1(model, scope=c("axis","denominator","axis:denominator"), test="Chisq")
Error: Only marginal terms can be dropped from the model
(terms that can be dropped while respecting the hierarchy of terms in the model)Use
car::Anova(model, type="III", test.statistic="Chisq")
anova()
Create individual comparison models to test each fixed effect using
anova()
(used in Choropleth paper)Assess interaction term using a Chisq goodness-of-fit test, but assess main effects using z- or t-statistics