[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
Xiaodong Chen <cxdgis@gmail.com> |

To |
statalist <statalist@hsphsun2.harvard.edu> |

Subject |
st: prediction using a random effects logit |

Date |
Tue, 12 May 2009 11:32:52 -0400 |

Hi stata users, I want to apply a random effects logit model to predict the probability for observations where the dichotomous outcomes are not observed. If I assume no random effects in the prediction, I can simply use "exp(xb)/(1+exp(xb))". If I do not assume no random effects, I can use “gllamm y x1 … xk, i(clusterid) link(logit) family(binom) nip(30) adapt” and “gllapred pr, mu” to predict the probability for observations where the dichotomous outcomes are observed. But how can I predict the probability for observations where the dichotomous outcomes are NOT observed without assuming that there is no random effects? Thanks, Xiaodong * * 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/

- Prev by Date:
**Re: st: RE: ifelse mata function** - Next by Date:
**Re: st: job transitions** - Previous by thread:
**st: Re: Stata package -diagt- version 2.0.5. - correction** - Next by thread:
**st: GARCH with dummy variables** - Index(es):

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