Dear Zelig users,
Greetings! I am relatively new to Zelig and R. But have a question when I run a linear
least square model: output <- zelig(y ~ x, model ="ls"). When I run using my
data, I get the following warning message.
In value[[3L]](cond) : There was an error fitting this statistical model.
I tried to look around to see what the issue could be but didn't have much luck. I
tried to see if it is a data issue and played around with lalonde to try replicating so
that I could forward to you.
data(lalonde)
z.out <- zelig(re78 ~ treat + age + educ + black + hispan + married + re74 + re75,
data = lalonde, model = "ls")
output does not have any warnings.
However if I add "nodegr" covariate, I get the warning message again.
z.out <- zelig(re78 ~ treat + age + educ + black + hispan + nodegr + married + re74 +
re75, data = lalonde, model = "ls")
Any advice on what should I do to fix would be deeply appreciated. If you think it may be
addressed elsewhere, please let me know.
Best ,
Rajesh
Show replies by date