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]

From |
Urmi Bhattacharya <ub3@indiana.edu> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Predicted probability after xtlogit with i option |

Date |
Wed, 29 Jun 2011 20:43:07 -0400 |

Hi Joerg, Thank you for the help. But I have to use the xtlogit which I guess means that I have to do with predicted probabilities assuming the random effect component to be 0. Thanks Urmi On Wed, Jun 29, 2011 at 1:59 PM, Joerg Luedicke <joerg.luedicke@gmail.com> wrote: > I am not 100% sure if its doable with -xtlogit-, but you could use -xtmelogit- > for which the default prediction (-mu-) takes the random effect into account > (see -help xtmelogit postestimation-). (Using the option -fixedonly- with > -predict- after -xtmelogit- should replicate your predictions from -xtlogit-). > > J. > > > On Wed, Jun 29, 2011 at 1:29 PM, Urmi Bhattacharya <ub3@indiana.edu> wrote: >> Hello Statalisters, >> >> I am running the following xtlogit model >> >> xtlogit school_left childage i.childfemale i.urban i.scstobc >> i.casteother i.dadp i.dadm i.momp i.momm wagep wage5 wage8 wage9 distp >> distm disth percapcons durat1 durat2 durat3 durat4 durat5 durat6 >> durat7 durat8 durat9 durat10 durat11, nocons nolog i(childcaseid) >> >> After estimation, I need to find the predicted probability for each individual. >> >> I do the following: >> >> predict prob,pu0 >> >> The help file says that this calculation assumes that the random >> effect is 0. My question is if it would be possible to find the >> predicated probability not assuming that? Or is this the best I can >> do. >> >> Thanks >> >> Urmi Bhattacharya >> >> * >> * 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/ >> > > * > * 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/ > * * 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/

**References**:**st: Predicted probability after xtlogit with i option***From:*Urmi Bhattacharya <ub3@indiana.edu>

**Re: st: Predicted probability after xtlogit with i option***From:*Joerg Luedicke <joerg.luedicke@gmail.com>

- Prev by Date:
**Re: st: SUREG for Almost Ideal Demand System** - Next by Date:
**st: too many macros** - Previous by thread:
**Re: st: Predicted probability after xtlogit with i option** - Next by thread:
**st: Thread-Index: Acw2hSNoKEe+GALWTv+Qdt/CONjYXg==** - Index(es):