Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: RE: IIA test for multinomial logit
From
"Lachenbruch, Peter" <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: RE: IIA test for multinomial logit
Date
Wed, 29 Jan 2014 15:26:26 +0000
you won't get much help if you don't tell us what IIA is? Jargon is not popular on thislist
Peter A. Lachenbruch,
Professor (retired)
________________________________________
From: [email protected] [[email protected]] on behalf of Stepien, Paulina [[email protected]]
Sent: Wednesday, January 29, 2014 6:52 AM
To: [email protected]; [email protected]
Subject: st: IIA test for multinomial logit
Dear Stata Users,
I am trying to perform an IIA test for multinomial logit where dependent variable employment status (empl_st6) has 4 categories: 0 unemployed, 1 employed for wages, 2 self-employed, 3 employer. I have tried running the test in two ways, none of which seem to be working.
Firstly, I have run mlogit regression followed by mlogtest, smhsiao. This command returns following error messages: 'problem determining number of categories' and 'factor variables and time series operators not allowed'.
I have looked at the dependent variable specification but not sure what may be wrong with it. I have also looked at all potential factor variables and time series markers but even after eliminating potential culprits the test does not work. One advice I have found on stata blog is to continue setting seeds until it works, which I have tried with no success. I am not sure how many times I should try before I give up.
Secondly, I have tried running smhsiao empl_st6, elim(0) but two problems occur here: the regression fails to calculate chi2 and an error message comes up saying 'equation unemployed not found'. When I recode categories to run from 1-4 instead 0-3, the error message does not come up but chi2 is still not being calculated.
I would be most grateful if someone could advise what I am doing wrong or whether there is any solution to this problem.
Thank you in advance.
Paulina
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/