Casey,
You can do this in setx() with just
setx(z.out, b1=1, b2=0, b3=mean(data$b3))
Also, if b3 is a numeric variable, then setx automatically defaults to the
mean and you don't have to respecify it.
On Wed, Jul 7, 2010 at 11:22 AM, Casey Klofstad <klofstad(a)gmail.com> wrote:
Hey all-
Can someone explain how to specify the value of more than one variable
in setx? For example, I have a model with predicts y with b1 b2 and
b3. In this example, how could I set b1 = 1, b2 = 0 and b3 = mean?
Thanks much,
-c
--
Casey A. Klofstad
University of Miami
Department of Political Science
Coral Gables, FL
klofstad(a)gmail.com
http://www.as.miami.edu/personal/cklofstad/
-
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/
--
Patrick Lam
Department of Government and Institute for Quantitative Social Science,
Harvard University
http://www.people.fas.harvard.edu/~plam