Do you have the latest version of R? I would check that first since
demo(logit.mixed) works for me.
Kosuke
On Wed, 5 Dec 2007, Sven-Oliver Proksch wrote:
I tried running demo(logit.mixed), but I got an error
message in the
demonstration when it is calling the sim() command:
## Simulating draws using the default bootstrap
method.
user.prompt()
Press <return> to continue:
s.out <- sim(z.out, x = x.low, x1 = x.high)
Error in .local(object, ...) :
unused argument(s) (x = list("(Intercept)" = 1, education = 4, age =
49.2613333333333, female = 0.559333333333333, stateSC = 1), x1 =
list("(Intercept)" = 1, education = 2, age = 49.2613333333333, female =
0.559333333333333, stateSC = 1))
I assume the error is related to how R deals with the grouping variable (the
stateSC=1 part). I looked in the example dataset, the variable is actually
called "state". I had the same problem with my own data.
Oliver
On Dec 5, 2007, at 5:52 AM, Kosuke Imai wrote:
It works for me. Try demo(logit.mixed). Also,
make sure your version is
actually 3.1-0. Sometimes, you have to restart R to get the latest version
uploaded.
Kosuke
---------------------------------------------------------
Kosuke Imai Office: Corwin Hall 041
Assistant Professor Phone: 609-258-6601
Department of Politics eFax: 973-556-1929
Princeton University Email: kimai(a)Princeton.Edu
Princeton, NJ 08544-1012
http://imai.princeton.edu/
---------------------------------------------------------
On Tue, 4 Dec 2007, Sven-Oliver Proksch wrote:
-
Zelig Mailing List, served by Harvard-MIT Data Center
Send messages: zelig(a)lists.gking.harvard.edu
[un]subscribe Options: