Bookmark and Share

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: IIA test for multinomial logit


From   "Stepien, Paulina" <paulina.stepien.09@ucl.ac.uk>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: IIA test for multinomial logit
Date   Tue, 4 Feb 2014 15:48:13 +0000

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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index