R package to compute and plot predictions, slopes, marginal means, and comparisons (contrasts, risk ratios, odds, etc.) for over 100 classes of statistical and ML models. Conduct linear and non-linear hypothesis tests, or equivalence tests. Calculate uncertainty estimates using the delta method, bootstrapping, or simulation-based inference
I am trying to use marginaleffects to get odds ratios and confidence intervals for mutlinomial logistic model created by nnet::multinom. I have 4 categories for the outcome variable, and three categories for the predictor. I am expecting the output to show ORs across the three levels of the predictor comparing each category of the outcome variable with the base level. However, marginal effects produce ORs for the 4 categories, which seems strange to me.
Hi
I am trying to use marginaleffects to get odds ratios and confidence intervals for mutlinomial logistic model created by
nnet::multinom
. I have 4 categories for the outcome variable, and three categories for the predictor. I am expecting the output to show ORs across the three levels of the predictor comparing each category of the outcome variable with the base level. However, marginal effects produce ORs for the 4 categories, which seems strange to me.Below is an example
Created on 2024-10-27 with reprex v2.1.1
I was expecting to see something like the following
Created on 2024-10-27 with reprex v2.1.1
Is there something I am missing here?
Thanks