Thursday, February 16, 2006

Re: st: predictnl and ologit

At 10:15 PM 2/16/2006, you wrote: >giacomo <gc4@duke.edu> found a bug in -predictnl- when used after -ologit-: > > > I am estimating an ordered logit model and I would like to use predictnl > > to compute standard errors and confidence bounds for the estimated > > probabilities. In more detail, I first estimate: > > > > ologit y x1 x2, where y takes on three values (1,2,3) > > > > However, when I use -predictnl-, I get an error message: > > > > . predictnl phat=predict(outcome(#2)), se(phat_se) > > equation cut2 not found > > predict(outcome(#2)) invalid > >This bug has been fixed, and will be available in the next ado-file update.

For the wildly impatient, this also seems to work right now:

version 8.2: ologit y x1 x2 predictnl phat=predict(outcome(#2)), se(phat_se)

------------------------------------------- Richard Williams, Notre Dame Dept of Sociology OFFICE: (574)631-6668, (574)631-6463 FAX: (574)288-4373 HOME: (574)289-5227 EMAIL: Richard.A.Williams.5@ND.Edu WWW (personal): http://www.nd.edu/~rwilliam WWW (department): http://www.nd.edu/~soc

* * 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/


Tag:


Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?