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() provide a family=multinomial option.

Package details

AuthorJacob O. Wobbrock [aut, cre, cph] (<https://orcid.org/0000-0003-3675-5491>)
MaintainerJacob O. Wobbrock <wobbrock@uw.edu>
LicenseGPL (>= 2)
Version0.3.3
URL https://github.com/wobbrock/multpois/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("multpois")

Try the multpois package in your browser

Any scripts or data that you put into this service are public.

multpois documentation built on April 3, 2025, 9:37 p.m.