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 |
Maarten Buis <maartenlbuis@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: Computing Average Partial Effects after xtprobit, re |

Date |
Mon, 15 Aug 2011 17:33:56 +0200 |

On Mon, Aug 15, 2011 at 5:24 PM, natasha agarwal wrote: > I wanted to compute the average partial effects manually after xtprobit, re. What do you want to do with the random effects? If you want to be strict, you would have to average over these as well, and that has not been implemented (yet). You use a hybrid solution, where you fix the random effects at the mean (0) and average over the remaining variables. You can do so by typing: margins, predict(pu0) dydx(*) A more elegant solution is to forget about probit and xtprobit and move to logit and xtlogit. After that you can just interpret the odds ratios, which are independent of the other variables and thus don't need such hybrid solutions. Hope this helps, Maarten -------------------------- Maarten L. Buis Institut fuer Soziologie Universitaet Tuebingen Wilhelmstrasse 36 72074 Tuebingen Germany http://www.maartenbuis.nl -------------------------- * * 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/

**Follow-Ups**:**Re: st: Computing Average Partial Effects after xtprobit, re***From:*natasha agarwal <agarwana2@googlemail.com>

**References**:**st: Computing Average Partial Effects after xtprobit, re***From:*natasha agarwal <agarwana2@googlemail.com>

- Prev by Date:
**st: Computing Average Partial Effects after xtprobit, re** - Next by Date:
**Re: st: Order of variables in stcox model** - Previous by thread:
**st: Computing Average Partial Effects after xtprobit, re** - Next by thread:
**Re: st: Computing Average Partial Effects after xtprobit, re** - Index(es):