Package: multpois 0.2.0

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.

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

multpois_0.2.0.tar.gz
multpois_0.2.0.zip(r-4.5)multpois_0.2.0.zip(r-4.4)multpois_0.2.0.zip(r-4.3)
multpois_0.2.0.tgz(r-4.4-any)multpois_0.2.0.tgz(r-4.3-any)
multpois_0.2.0.tar.gz(r-4.5-noble)multpois_0.2.0.tar.gz(r-4.4-noble)
multpois_0.2.0.tgz(r-4.4-emscripten)multpois_0.2.0.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'))

Peer review:

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

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

On CRAN:

4.00 score 4 scripts 490 downloads 5 exports 64 dependencies

Last updated 1 months agofrom:49984c097c. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 21 2024
R-4.5-winNOTENov 21 2024
R-4.5-linuxNOTENov 21 2024
R-4.4-winNOTENov 21 2024
R-4.4-macNOTENov 21 2024
R-4.3-winNOTENov 21 2024
R-4.3-macNOTENov 21 2024

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

Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecowplotcpp11DerivdfidxdoBydplyrfansifarverFormulagenericsggplot2gluegtableisobandlabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigplyrpurrrquantregR6rbibutilsRColorBrewerRcppRcppEigenRdpackrlangscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr

Analyzing nominal responses using the multinomial-Poisson trick

Rendered frommultpois.Rmdusingknitr::rmarkdownon Nov 21 2024.

Last update: 2024-10-13
Started: 2024-10-09