Package: multpois 0.1.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 implement the multinomial-Poisson trick (Baker 1994) <doi:10.2307/2348134>, which transforms nominal response data into counts for each categorical alternative. These counts are then analyzed using (mixed) Poisson regression. 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:
multpois_0.1.0.tar.gz
multpois_0.1.0.tar.gz(r-4.5-noble)multpois_0.1.0.tar.gz(r-4.4-noble)
multpois_0.1.0.tgz(r-4.4-emscripten)multpois_0.1.0.tgz(r-4.3-emscripten)
multpois.pdf |multpois.html✨
multpois/json (API)
NEWS
# Install 'multpois' in R: |
install.packages('multpois', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/wobbrock/multpois/issues
Last updated 7 days agofrom:f5869990fe. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 17 2024 |
R-4.5-linux | OK | Oct 17 2024 |
Exports:Anova.mpglm.mpglm.mp.conglmer.mpglmer.mp.con
Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecowplotcpp11DerivdfidxdoBydplyrfansifarverFormulagenericsggplot2gluegtableisobandlabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigplyrpurrrquantregR6rbibutilsRColorBrewerRcppRcppEigenRdpackrlangscalesSparseMstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr