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]
Re: st: average marginal efefcts after mi
From
Maarten Buis <[email protected]>
To
[email protected]
Subject
Re: st: average marginal efefcts after mi
Date
Tue, 5 Jul 2011 08:51:45 +0200
On Mon, Jul 4, 2011 at 11:06 PM, Sunniva Andersen wrote:
> I have tried to changes the code, but there is still an error.
>
> mi estimate, post:logit employment alder barn
> margins, dydx ( alder barn)
>
> warning cannot perform check for estimable functions. e (sample) does
> not identify the estimation sample.
That is basically the problem I already warned about: Average marginal
effects imply averaging over the sample, and the sample is not easy to
define in multiply imputed data. Fortunately, Stata will give an error
message rather than give wrong results.
The solution I propose is the same as the one I proposed before,
interpret odds ratios rather than marginal effects:
mi estimate, or : logit employement alder barn
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/