Package: nestedLogit 0.3.3

nestedLogit: Nested Dichotomy Logistic Regression Models

Provides functions for specifying and fitting nested dichotomy logistic regression models for a multi-category response and methods for summarising and plotting those models. Nested dichotomies are statistically independent, and hence provide an additive decomposition of tests for the overall 'polytomous' response. When the dichotomies make sense substantively, this method can be a simpler alternative to the standard 'multinomial' logistic model which compares response categories to a reference level. See: J. Fox (2016), "Applied Regression Analysis and Generalized Linear Models", 3rd Ed., ISBN 1452205663.

Authors:John Fox [aut], Michael Friendly [aut, cre], Achim Zeileis [ctb]

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

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

Bug tracker:https://github.com/friendly/nestedlogit/issues

Datasets:
  • GSS - Data From the U.S. General Social Survey 1972-2016
  • HealthInsurance - Choice of Health Insurance Product

On CRAN:

Conda:

logistic-regressionmultinomial-logistic-regressionpolytomous-variables

6.04 score 10 stars 33 scripts 2.2k downloads 6 exports 70 dependencies

Last updated 10 months agofrom:261d84632d. Checks:5 OK, 3 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 02 2025
R-4.5-winNOTEMar 02 2025
R-4.5-macNOTEMar 02 2025
R-4.5-linuxNOTEMar 02 2025
R-4.4-winOKMar 02 2025
R-4.4-macOKMar 02 2025
R-4.3-winOKMar 02 2025
R-4.3-macOKMar 02 2025

Exports:as.dichotomiescontinuationLogitsdichotomylogitsmodelsnestedLogit

Dependencies:abindbackportsbootbroomcarcarDataclicolorspacecowplotcpp11DBIDerivdoBydplyreffectsestimabilityfansifarverFormulagenericsggplot2gluegtableinsightisobandlabelinglatticelifecyclelme4magrittrMASSMatrixMatrixModelsmgcvmicrobenchmarkminqamitoolsmodelrmunsellnlmenloptrnnetnumDerivpbkrtestpillarpkgconfigpurrrquantregR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRdpackreformulasrlangscalesSparseMstringistringrsurveysurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithr

Nested-dichotomies logistic regression models

Rendered fromnestedLogit.Rmdusingknitr::rmarkdownon Mar 02 2025.

Last update: 2023-06-22
Started: 2023-05-08

Plotting nestedLogit models with ggplot2

Rendered fromplotting-ggplot.Rmdusingknitr::rmarkdownon Mar 02 2025.

Last update: 2024-06-03
Started: 2023-05-28

Standard Errors of Fitted Category Probabilities by the Delta Method for the Nested Logit Model

Rendered fromstandard-errors.Rmdusingknitr::rmarkdownon Mar 02 2025.

Last update: 2023-05-30
Started: 2023-05-27

Readme and manuals

Help Manual

Help pageTopics
Convert a Predicted Objects to a data.frameas.data.frame.predictNestedLogit
Broom Related MethodsbroomMethods glance.nestedLogit tidy.nestedLogit
Effect Displays for Nested Logit ModelsEffect.nestedLogit
Data From the U.S. General Social Survey 1972-2016GSS
Choice of Health Insurance ProductHealthInsurance
Extract Binary Logit Models from a 'nestedLogit' Objectmodels models.nestedLogit
Hypothesis-Testing and Related Methods for '"nestedLogit"' ObjectsAnova.nestedLogit anova.nestedLogit linearHypothesis.nestedLogit logLik.nestedLogit nestedHypotheses print.Anova.nestedLogit print.anova.nestedLogit
Binary Logit Models for Nested DichotomiescontinuationLogits dichotomy logits nestedLogit
Methods for '"nestedLogit"' and Related Objectsas.character.dichotomies as.dichotomies as.dichotomies.matrix as.matrix.continuationDichotomies as.matrix.dichotomies coef.nestedLogit confint.predictNestedLogit fitted.nestedLogit nestedMethods predict.nestedLogit print.dichotomies print.nestedLogit print.predictDichotomies print.predictNestedLogit print.summary.nestedLogit summary.nestedLogit update.nestedLogit vcov.nestedLogit
Plotting Nested Logit Modelsplot.nestedLogit