Dear Julia,
Could you let us know what model you were running with zelig()?
Thanks,
Kosuke
On Sun, 7 May 2006, Julia Gray wrote:
Hi,
I'm running into trouble with the model-based estimates. After setting
the IVs at their means
x.out0 <- setx(z.out0, myvar=0)
x.out1 <- setx(z.out0, myvar=1)
all goes well up to this point:
s.out0 <- sim(z.out1, x = x.out1)
at which point I get the following error:
Error in any(class(object) ==
"MCMCZelig") :
object "z.out1" not found
Running through the example as it was defined above, it appears as
though z.out1 wasn't actually defined, though z.out0 was. But trying to
modify the code produces another error:
sim(z.out0, x = x.out0)
Error in mvrnorm(num, mu = coef(object), Sigma = vcov.lm(object)) :
incompatible arguments
Incidentally, I ran matchit a few months ago on a different dataset
with no problems, but now when I try to use the same code, I get the
same error message listed directly above.
Any help you might offer would be greatly appreciated.
best, Julia
-
MatchIt mailing list served by Harvard-MIT Data Center
List Address: matchit(a)latte.harvard.edu
Subscribe/Unsubscribe:
http://lists.hmdc.harvard.edu/?info=matchit
MatchIt Software and Documentation:
http://gking.harvard.edu/matchit/
-
Zelig Mailing List, served by Harvard-MIT Data Center
Send messages: zelig(a)latte.harvard.edu
[un]subscribe Options: