[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

From |
"J. Li" <lij53@univmail.cis.mcmaster.ca> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: error message after using -reoprob- |

Date |
Sat, 24 May 2008 16:35:06 -0400 |

Hi, Thanks all for your advice. I tried the methods that Richard suggested, but still I could not solve the problem. I tried to use the command -set trace on- before I run reoprob, but I couldn't figure out what really happened when the program dies because the calculation is too complicated. Also, I used the actual y variable name and replaced the xi with the real dummites, but it didn't change anything. The third way seems most informative to this problem. I used regoprob with -pl- option instead of reoprob. It turned out to be that it stopped at the same place where reoprob couldn't run through, but using -regoprob- gives more informative error message. It said that "insufficient observations" when it died. I have a further question about this though-- what does this error message really mean? I am talking about using a panel data set with 3,960 observations (N=660, T=6) to estimate about 47 parameters in a random effects ordered probit model. Is the sample size too small here? Thanks! Jinhu > You might also try using regoprob, available from SSC. Same syntax > as what you have, except add the -pl- option at the end of your > command. On Thu, 24 Apr 2008 23:13:27 -0500 Richard Williams <Richard.A.Williams.5@ND.edu> wrote: > At 08:53 PM 4/24/2008, J. Li wrote: > >Hi all, > > > >I am using -reoprob- to estimate a dynamic ordered probit panel data > >model with random effects. The dependent variable is self-assessed > >health status with 5 ranks and only the first lag is included in the > >regressor list. I got some strange error message for some of my > >regressions. The command I used is as following: > > > >xi: reoprob $yvar hlthclag1 hlthclag2 hlthclag3 hlthclag5 agec > genderc > >i.area fsize birthage lnhincome schoolm2 schoolm3 schoolm4 schoolf2 > >schoolf3 schoolf4 pmkfe pmknm mlnhincome mschoolm mschoolf if > >qpropeducu==1, i(persruk) > > > > > >The error message showed up when fitting the constant-only model as > >following: > > > >__00000W not found > > > > > >What might be the problem here? Thanks very much! > > There is a temporary variable it cannot find for some reason. Before > running reoprob, you can give the command -set trace on- and then > look to see what is happening when the program dies. The problem may > or may not be obvious. > > I would also use the actual y variable name rather than $yvar, and I > would compute the area dummies beforehand rather than use xi. It > probably won't matter, but then again the simpler your syntax perhaps > the less likely it is that reoprob will make a mistake. > > You might also try using regoprob, available from SSC. Same syntax > as what you have, except add the -pl- option at the end of your > command. > > > ------------------------------------------- > Richard Williams, Notre Dame Dept of Sociology > OFFICE: (574)631-6668, (574)631-6463 > HOME: (574)289-5227 > EMAIL: Richard.A.Williams.5@ND.Edu > WWW: http://www.nd.edu/~rwilliam > > * > * For searches and help try: > * http://www.stata.com/support/faqs/res/findit.html > * http://www.stata.com/support/statalist/faq > * http://www.ats.ucla.edu/stat/stata/ * * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**Re: st: error message after using -reoprob-***From:*Maarten buis <maartenbuis@yahoo.co.uk>

- Prev by Date:
**st: Newton-Raphson algorithm with normal MLE** - Next by Date:
**Re: st: error message after using -reoprob-** - Previous by thread:
**st: Newton-Raphson algorithm with normal MLE** - Next by thread:
**Re: st: error message after using -reoprob-** - Index(es):

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