Hi all,
On Wed, Nov 7, 2012 at 9:22 PM, Kosuke Imai <kimai(a)princeton.edu> wrote:
Mike,
I suggest that you downgrade to Version 3.5. for now. There appear to be several issues
in version 4, which need to be fixed.
Might I suggest that the CRAN version be reverted to 3.5 until these
bugs get worked out?
Best,
Ista
Kosuke
Department of Politics
Princeton University
http://imai.princeton.edu
On Nov 5, 2012, at 11:57 AM, Mike Hoffman <mthoffma(a)princeton.edu> wrote:
Dear all,
Since upgrading to version 4, I am getting errors on every simple sim() command (the very
same commands worked fine under the previous version). The error I receive is:
Error in link.inverse(eta) :
Argument eta must be a nonempty numeric vector
I suspect that the problem is the setx() function, which now seems to return a
dataframe-length result rather than a vector of the length of the number of variables in
the model. I found nothing in the new documentation that explains this. I have trimmed
down my model to a very simple one, with the following code:
z.out <- zelig(y~x1+x2, model = "logit", data = ds)
x.prac <- setx(z.out, x1= 4)
x.noprac <- setx(z.out, x1= 1)
diff.prac <- Zelig:::sim(z.out, x = x.noprac, x1 = x.prac)
The model runs correctly, and summary(z.out) returns the correct output. The setx()
commands don't return an error, but the sim() command does, presumably because
it's using incorrect values for the x and x1 parameters.
Is there something I am doing incorrectly, or have the rules changed in version 4?
Thanks,
Michael Hoffman
-
--
Zelig Mailing List, served by HUIT
Send messages: zelig(a)lists.gking.harvard.edu
[un]subscribe Options:
http://lists.gking.harvard.edu/mailman/listinfo/zelig
Zelig program information:
http://gking.harvard.edu/zelig/
Zelig mailing list
Zelig(a)lists.gking.harvard.edu
To unsubscribe from this list or get other information:
https://lists.gking.harvard.edu/mailman/listinfo/zelig
-
--
Zelig Mailing List, served by HUIT
Send messages: zelig(a)lists.gking.harvard.edu
[un]subscribe Options:
http://lists.gking.harvard.edu/mailman/listinfo/zelig
Zelig program information:
http://gking.harvard.edu/zelig/
Zelig mailing list
Zelig(a)lists.gking.harvard.edu
To unsubscribe from this list or get other information:
https://lists.gking.harvard.edu/mailman/listinfo/zelig