Description Usage Arguments Details Value Author(s) See Also
Conduct an analysis-of-deviance for the MSU pollinator analysis assuming a Poisson-distributed outcome and varying exposure.
1 |
df |
A |
ft |
A |
annuals |
A |
blocks |
A |
Function stats::glm
performs the analysis-of-deviance via use
of the quasipoisson
family, and thus log link. Following
initial fit, a chi-squared test is used to test via deviance. This
generalized-linear-model set-up corresponds to the typical partial
F-test conducted via residual error in the general-linear-model
normal-outcome case.
Note that the use of the quasipoisson
family provides a conservative
estimate of underlying test statistics. This is due to the
quasipoisson
correcting for observed overdispersion in
poisson
-model fits.
A list
containing results of the original fit, adjusted
Tukey-like pairwise multiple comparisons, and the analysis-of-deviance.
The four constituent objects are
a
The resulting data.frame
housing the statistical
results of the analysis of deviance. Recall that the degrees of freedom
reports numbers one less than the distinct groups tested. The statistic
entitled phi
is the (Pearson's chi-squared) overdispersion. These
statistics are corrected for quasilikelihoo.
c
The Tukey-lettering system identifying how individual levels
compare. Utilized multcomp:cld
.
i
The inverted confidence intervals on the original scales of
the pairwise estimates.
m
The original glm
fit, assuming a Poisson distrubtion
and possible offset.
t
The original mutliple-comparison glht
fit, assuming
Tukey-like pairwise comparisons.
Jason Mitchell, based on original work by Zoe Gustafson.
stats::glm
, stats::anova
, stats::confint
,
multcomp::glht
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.