Hi. This is a bug; I've created a ticket for it in GitHub here:
https://github.com/zeligdev/ZeligCommon/issues/1
There will be a patch for this soon. Additionally, "relogit" is being moved to
the Zelig core package in an upcoming patch.
- Matt
________________________________________
From: zelig-bounces(a)lists.gking.harvard.edu [zelig-bounces(a)lists.gking.harvard.edu] On
Behalf Of Trey Causey [tcausey(a)uw.edu]
Sent: Wednesday, July 04, 2012 1:51 PM
To: zelig(a)lists.gking.harvard.edu
Subject: [zelig] relogit issue and Zelig 4
I am attempting to fit a relogit model in Zelig 4.0-10, R 2.15.1, and ZeligCommon 0.1.
For simplicities sake, say I am using a binary outcome variable (outcome) and one dummy
predictor (iv). The error reproduces regardless of combination of predictors and whether
or not I use a single value for tau. The error is also reproducible using the examples in
the Zelig relogit vignette.
Call: z.out <- zelig(outcome ~ iv, data = data, model = "relogit", tau =
c(.001, .005))
Error:
Error in as.name<http://as.name>(zelig2$.function) :
attempt to use zero-length variable name
Traceback:
3: as.name<http://as.name>(zelig2$.function)
2: zelig.call(Call, zclist, remove)
1: zelig(outcome ~ pred, data = data, model = "relogit", tau = c(0.001,
0.005))