Statalist The Stata Listserver


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

Re: st: predictnl and ologit


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: predictnl and ologit
Date   Thu, 16 Feb 2006 23:12:54 -0500

At 10:15 PM 2/16/2006, you wrote:
giacomo <[email protected]> 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: [email protected]
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/




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