Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

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

From   Maarten Buis <[email protected]>
To   [email protected]
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 L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index