Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: AW: Help with ologit


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: Help with ologit
Date   Mon, 14 Dec 2009 13:07:58 +0100

<> 

Can we infer that you are a Stata 10 user? In Stata 11, this code runs
without problems:


*************
webuse fullauto, clear

ologit rep77 foreign length mpg
mfx

estimates store full
ologit rep77 foreign length
lrtest full .
*************

Note you should disclose any -version- other than 11 in your intial post.


HTH
Martin

-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Daniel J.
Quinones
Gesendet: Montag, 14. Dezember 2009 02:12
An: Stata
Betreff: st: Help with ologit

I am running an ordinal logit model (a 3-value ordinal dependent variable)
and am having difficulty with post-estimation techniques.  Upon trying to
run lrtest, I receive error r198,
stating: "in the old syntax, the unrestricted model defaulted to a model
saved under the name 0.  This model was not found."
And after trying mfx compute: "too few variables specified; (variable) has 3
outcomes and so you must specify 3 new variables, or you can use the
outcome() option and specify variables one at a time."
Can somebody enlighten me of my mistakes?  Thank you.


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index