Dear all,
I'm using Zelig for rare events logistic regression. In the past, I've
run it with succes on a Linux server. However, now I would try to get it
to work on my laptop (Win XP), so I can already do some analysis during
fieldwork periods.
I however receive the following error message : "Warning message:
when cond = TRUE, fn is coerced to NULL in: setx.default(z.out1, data =
test1, cond = TRUE) " (see below for more details)
I would like to know if someone could point out what it means? And above
all: can it be solved? Or will I have to keep working on the server?
The consequence of this error message is apparently that the intercept
estimate is too high, so something must go wrong in the rare events
correction I suppose?
Regards,
Tom
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> z.out1<-zelig(depressies~archeodist + aspect1 + aspect2 + aspect3 +
B_1 + B_2 + B_3 + B_4 + B_5 +
+ B_6 + B_7 + G_fb + G_zbr + G_zle + gully + roadgully + helling, data =
test1 ,
+ model = "relogit" , tau = 71/22788 , bias.correct = TRUE)
> x.out1<-setx(z.out1, data=test1, cond=TRUE)
Warning message:
when cond = TRUE, fn is coerced to NULL in: setx.default(z.out1, data =
test1, cond = TRUE)
> traceback
function (x = NULL)
{
if (is.null(x) && (exists(".Traceback", env = .GlobalEnv)))
x <- get(".Traceback", env = .GlobalEnv)
if (is.null(x) || length(x) == 0)
cat(gettext("No traceback available"), "\n")
else {
n <- length(x)
for (i in 1:n) {
label <- paste(n - i + 1, ": ", sep = "")
if ((m <- length(x[[i]])) > 1)
label <- c(label, rep(substr(" ", 1,
nchar(label, type = "w")), m - 1))
cat(paste(label, x[[i]], sep = ""), sep = "\n")
}
}
invisible()
}
<environment: namespace:base>
> traceback
--
Dr. Tom Vanwalleghem
Physical and Regional Geography
K.U.Leuven
Redingenstraat 16
B-3000 LEUVEN
BELGIUM
tel +32(0)16/32.64.14
fax +32(0)16/32.64.00
new email! tom.vanwalleghem(a)kuleuven.be