Repository navigation
Conversation
|
I just wanted to leave a comment in support of adding this feature. |
|
About a year later: This model is really necessary for Econometricians. I support adding this feature! |
|
What is the current stance of this function? Have there been any improvements yet? |
|
found by chance, |
|
Is this... what is this? I noticed discrete_model has an OrderedModel and OrderedResults that appear to be placeholders. Kind of expected this to fill in those blanks, but... |
|
What is the status of this PR? How much work do you think is still needed to integrate it? May I contribute to get it moving forward? |
|
By appearances, it is far from finished.
It would be great if you want to pick this up. You could add @josef-pkt 's repo as a remote, then clone his branch, which keeps the full history. I would then rebase on master for safety. You could then try to see if it (a) works (b) produces reasonable estimates. |
|
based on what I remember The model works/worked and produces the correct result in the examples. The model uses the generic framework and doesn't have any model specific extras. There is no support for pandas.Categorical. At the time it was just recently added to pandas and not yet stable. pandas Categorical has the advantage that it includes ordered categoricals. I thought I had some test cases, but it looks like I only used them as examples. Unit tests against R or Stata are missing. Basing the model on the GenericLikelihood setup provides all the main results, but misses model specific results and does not use model specific computational shortcuts, e.g. score and Hessian. |
They define the same model and there is a one-to-one mapping for different specifications of the parameters. The version that I used has exponentiated increments in the threshold to impose monotonicity in thresholds (or equivalently category level specific intercepts) Also, in 2015 when I wrote this, I wrote a lot of generic code for various general classes of models. |
Hi,@josef-pkt |
see issue #807
Ordered or ordinal cumulative link models
Initial version
params table looks correct compared to a UCLA Stata example.
lot of things still TODO, but GenericLikelihoodModel works mostly pretty well
no unit tests yet