Dear Stata users,
I am currently working on some ordered logit models, and I'd like to run the Brant test the parallel line assumption.
I'd try to run oparallel command (as it runs five tests)
However, an error message displays
Indeed my ordered logit command did signaled
(hence my model was not properly set).
Then I manage to remove the concerned observations (by identifying factor variables that only corresponds to one category of output, and observations with predicted probabilty very close to 0 or 1), I re-run my ologit model which didn't signal me any observation completely determined.
Yet, when re-running the oparallel command, I have the same message error "full model cannot be estimated due to perfect prediction", although I get rid of such observations.
So two questions : 1) How come oparallel signals me some perfect predictions, while ologit didn't.
2) How to identify those prediction and remove them from the oparallel test.
Thanks to anyone that would advice me on this.
Charlie Joyez
I am currently working on some ordered logit models, and I'd like to run the Brant test the parallel line assumption.
I'd try to run oparallel command (as it runs five tests)
However, an error message displays
"full model cannot be estimated due to perfect prediction".
"Note : 46 observations completely determined. Standard errors questionable".
Then I manage to remove the concerned observations (by identifying factor variables that only corresponds to one category of output, and observations with predicted probabilty very close to 0 or 1), I re-run my ologit model which didn't signal me any observation completely determined.
Yet, when re-running the oparallel command, I have the same message error "full model cannot be estimated due to perfect prediction", although I get rid of such observations.
So two questions : 1) How come oparallel signals me some perfect predictions, while ologit didn't.
2) How to identify those prediction and remove them from the oparallel test.
Thanks to anyone that would advice me on this.
Charlie Joyez
Comment