Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Nick Cox <n.j.cox@durham.ac.uk> |
To | "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu> |
Subject | st: RE: -reoprob- error: "varlist required" |
Date | Thu, 7 Jun 2012 19:51:43 +0100 |
-reoprob- is a user-written command, as you are asked to explain. STB-61 sg158.1 . . . . . . . . . . . Update to random-effects ordered probit (help reoprob, ghquadm if installed) . . . . . . . . G. R. Frechette 5/01 p.12; STB Reprints Vol 10, pp.266--267 correction to solve occasional abort in maximization STB-59 sg158 . . . . . . . . . . . . . . . . . Random-effects ordered probit (help reoprob, ghquadm if installed) . . . . . . . . G. R. Frechette 1/01 pp.23--27; STB Reprints Vol 10, pp.261--266 estimates a random-effects ordered probit model The syntax of -reoprob- is that you should specify -i()-. You specified -id()- instead and -reoprob- stopped when that became problematic. The wrong option -id()- is not caught as such because -reoprob- allows a bundle of extra options to pass to -ml-. Nick n.j.cox@durham.ac.uk Yevgeniya Savchenko I am running an ordered probit panel regression model with random effects (reoprob) of health self-assessment variable (health1) on gender (ahgsex) with 8 time periods and ID as a panel personal identifier. The panel is balanced, there are 4 categories in health1, ahgsex is a dummy which is equal to 1 for men. I get an error - varlist required- (see below). . reoprob health1 ahgsex, id( ID) varlist required r(100); I tried renaming the variables, including different independent variables, but still get the same error. I use Stata 11. Could someone please advise how I can tackle this problem? * * 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/