You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SUMM/ENH: extension to OrderedModel, ordinal cumulative link models #7069
(Greene and .... have a lot more, but that goes much further than just extensions to OrderedModel)
(*) my guess is that the linearity assumption is pretty restrictive, e.g. middle categories might need more nonlinearities.
Agresti categorical book has a short section on dispersion.
related: multinomial samples in stats,
e.g. #4165 polychoric correlation which sounds like a multivariate multinomial (?) or correlated multinomial samples
(I don't remember) #2931 the usual hypothesis tests, confint, ... for multinomial samples, we have simultaneous confint but not much else.
and other multinomial related issue
aside: A long time ago, I wrote a GMM class for distributions, application to income distributions, given as multinomial counts.
It doesn't fit the standard GMM pattern and I never cleaned it up or finished it. (still in sandbox).
We could see if we can extend this to a GMM analogue of a multinomial or ordinal model.
I think when writing the PR I only checked inheriting for LikelihoodModel directly, which fails with several API inconsistencies.
I should have tried subclassing from discrete DiscreteModel and results class. Those follow a similar pattern as GenericLikelihoodModel (and the design of GenericLikelihoodModel was actually based on DiscreteModel)
I guess the main missing parts when inheriting from DiscreteModel are the derivatives, numerical derivative for score and hessian.
Activity
josef-pkt commentedon Sep 30, 2020
some older references in #807 (comment)
josef-pkt commentedon Sep 30, 2020
related: multinomial samples in
stats,e.g.
#4165 polychoric correlation which sounds like a multivariate multinomial (?) or correlated multinomial samples
(I don't remember)
#2931 the usual hypothesis tests, confint, ... for multinomial samples, we have simultaneous confint but not much else.
and other multinomial related issue
josef-pkt commentedon Oct 1, 2020
SAS includes score_test in proc Logistic, including score null (against constant only model)
https://documentation.sas.com/?docsetId=statug&docsetTarget=statug_logistic_examples03.htm&docsetVersion=14.3&locale=en
e.g https://stats.idre.ucla.edu/sas/output/ordered-logistic-regression/
SAS has cumulative link models also in proc GENMOD https://documentation.sas.com/?docsetId=statug&docsetTarget=statug_genmod_details26.htm&docsetVersion=14.3&locale=en
(I haven't checked what post estimation results are available for this)
josef-pkt commentedon Oct 1, 2020
univariate residual for diagnostics
Liu, Dungang, and Heping Zhang. 2018. “Residuals and Diagnostics for Ordinal Regression Models: A Surrogate Approach.” Journal of the American Statistical Association 113 (522): 845–54. https://doi.org/10.1080/01621459.2017.1292915.
older: I haven't looked yet: standard pearson resid in McCullagh, Nelder GLM book
josef-pkt commentedon Oct 2, 2020
aside: A long time ago, I wrote a GMM class for distributions, application to income distributions, given as multinomial counts.
It doesn't fit the standard GMM pattern and I never cleaned it up or finished it. (still in sandbox).
We could see if we can extend this to a GMM analogue of a multinomial or ordinal model.
add freq_weights, see #7078
josef-pkt commentedon Jan 26, 2021
I think when writing the PR I only checked inheriting for LikelihoodModel directly, which fails with several API inconsistencies.
I should have tried subclassing from discrete DiscreteModel and results class. Those follow a similar pattern as GenericLikelihoodModel (and the design of GenericLikelihoodModel was actually based on DiscreteModel)
I guess the main missing parts when inheriting from DiscreteModel are the derivatives, numerical derivative for score and hessian.
josef-pkt commentedon Jun 4, 2021
cross link #4908 also includes a discussion of ordinal, proportional-odds model with a notebook in
#4908 (comment)
josef-pkt commentedon Dec 21, 2022
link to "Resources for Ordinal Regression Models"
https://www.fharrell.com/post/rpo/
interesting detail "Equivalence of Wilcoxon Statistic and Proportional Odds Model"
https://www.fharrell.com/post/powilcoxon/
(I didn't read those)