[go: up one dir, main page]

multpois: Analyze Nominal Response Data with the Multinomial-Poisson Trick

Dichotomous responses having two categories can be analyzed with stats::glm() or lme4::glmer() using the family=binomial option. Unfortunately, polytomous responses with three or more unordered categories cannot be analyzed similarly because there is no analogous family=multinomial option. For between-subjects data, nnet::multinom() can address this need, but it cannot handle random factors and therefore cannot handle repeated measures. To address this gap, we transform nominal response data into counts for each categorical alternative. These counts are then analyzed using (mixed) Poisson regression as per Baker (1994) <doi:10.2307/2348134>. Omnibus analyses of variance can be run along with post hoc pairwise comparisons. For users wishing to analyze nominal responses from surveys or experiments, the functions in this package essentially act as though stats::glm() or lme4::glmer() had a family=multinomial option.

Version: 0.2.0
Depends: R (≥ 2.10)
Imports: car (≥ 3.1.2), dfidx (≥ 0.0.5), dplyr (≥ 1.1.4), lme4 (≥ 1.1.35.5), plyr (≥ 1.8.9)
Suggests: emmeans (≥ 1.10.3), knitr (≥ 1.48), lmerTest (≥ 3.1.3), nnet (≥ 7.3.19), rmarkdown, spelling, testthat (≥ 3.2.1.1)
Published: 2024-10-22
DOI: 10.32614/CRAN.package.multpois
Author: Jacob O. Wobbrock ORCID iD [aut, cre, cph]
Maintainer: Jacob O. Wobbrock <wobbrock at uw.edu>
BugReports: https://github.com/wobbrock/multpois/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/wobbrock/multpois/
NeedsCompilation: no
Language: en-US
Citation: multpois citation info
Materials: README NEWS
CRAN checks: multpois results

Documentation:

Reference manual: multpois.pdf
Vignettes: Analyzing nominal responses using the multinomial-Poisson trick (source, R code)

Downloads:

Package source: multpois_0.2.0.tar.gz
Windows binaries: r-devel: multpois_0.2.0.zip, r-release: multpois_0.2.0.zip, r-oldrel: multpois_0.2.0.zip
macOS binaries: r-release (arm64): multpois_0.2.0.tgz, r-oldrel (arm64): multpois_0.2.0.tgz, r-release (x86_64): multpois_0.2.0.tgz, r-oldrel (x86_64): multpois_0.2.0.tgz
Old sources: multpois archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=multpois to link to this page.