Jun,
Zelig does not support marginal effects as default quantities of interest because they are
often difficult to interpret. However, you can always obtain simulated model parameters
from s.out object as s.out$par and you can construct whatever other quantities of interest
you like.
Kosuke
Department of Politics
Princeton University
http://imai.princeton.edu
On Jun 14, 2011, at 10:25 PM, Xu, Jun wrote:
Dear Dr. Imai ,
Sorry to directly send emails to you about Zelig that you, Gary King and Olivia Lau
coauthored. I have to indicate that Zelig is a real nice package for many post-estimation
analyses, and probably the best that I ever used. I have been digging around to find
answers to some questions that I have, but was not able to. Basically, I am trying to get
some post-estimation statistics other than some straightforward ones using Zelig. For
example, to get difference in predicted probabilities in probit models using the popular
Mroz,
# discrete changes
z.out <- zelig( lfp~ k5 + k618 + age + wc + hc + lwg + inc, model="probit",
data=binlfp2)
x.hi <- setx(z.out, age=quantile(binlfp2$age, prob = 0.75))
x.lo <- setx(z.out, age=quantile(binlfp2$age, prob = 0.25))
s.out <- sim(z.out, x = x.hi, x1 = x.lo)
summary(s.out)
But how can I get marginal effects for a given x vector? I would very much appreciate it
if you could point me to the right direction/resources. Thanks!
Jun Xu, Ph.D.
Department of Sociology
Ball State University
Muncie, IN 47306
Email: jxu(a)bsu.edu
-
Zelig Mailing List, served by Harvard-MIT Data Center
Send messages: zelig(a)lists.gking.harvard.edu
[un]subscribe Options:
http://lists.gking.harvard.edu/?info=zelig
Zelig program information:
http://gking.harvard.edu/zelig/