Package: multpois 0.3.3

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.

Authors:Jacob O. Wobbrock [aut, cre, cph]

multpois_0.3.3.tar.gz
multpois_0.3.3.zip(r-4.5)multpois_0.3.3.zip(r-4.4)multpois_0.3.3.zip(r-4.3)
multpois_0.3.3.tgz(r-4.5-any)multpois_0.3.3.tgz(r-4.4-any)multpois_0.3.3.tgz(r-4.3-any)
multpois_0.3.3.tar.gz(r-4.5-noble)multpois_0.3.3.tar.gz(r-4.4-noble)
multpois_0.3.3.tgz(r-4.4-emscripten)multpois_0.3.3.tgz(r-4.3-emscripten)
multpois.pdf |multpois.html
multpois/json (API)
NEWS

# Install 'multpois' in R:
install.packages('multpois', repos = c('https://wobbrock.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/wobbrock/multpois/issues

Datasets:
  • bs2 - Between-subjects 2×2 design with dichotomous response data
  • bs3 - Between-subjects 2×2 design with polytomous response data
  • icecream - Mixed factorial 2×2 design with polytomous response data
  • ws2 - Within-subjects 2×2 design with dichotomous response data
  • ws3 - Within-subjects 2×2 design with polytomous response data

On CRAN:

4.78 score 1 stars 20 scripts 490 downloads 5 exports 65 dependencies

Last updated 8 days agofrom:fc1864bfde. Checks:1 OK, 7 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKFeb 09 2025
R-4.5-winNOTEFeb 09 2025
R-4.5-macNOTEFeb 09 2025
R-4.5-linuxNOTEFeb 09 2025
R-4.4-winNOTEFeb 09 2025
R-4.4-macNOTEFeb 09 2025
R-4.3-winNOTEFeb 09 2025
R-4.3-macNOTEFeb 09 2025

Exports:Anova.mpglm.mpglm.mp.conglmer.mpglmer.mp.con

Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecowplotcpp11DerivdfidxdoBydplyrfansifarverFormulagenericsggplot2gluegtableisobandlabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigplyrpurrrquantregR6rbibutilsRColorBrewerRcppRcppEigenRdpackreformulasrlangscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr

Analyzing nominal responses using the multinomial-Poisson trick

Rendered frommultpois.Rmdusingknitr::rmarkdownon Feb 09 2025.

Last update: 2025-01-25
Started: 2024-10-09