Hi there,
I posted to the google group but didn't receive a response so though I
would try here...
I get the following error when using setx with twosls*;*
*E**rror in form[[3]] : subscript out of bounds*
reproducible example:
data <- data.frame(y=rnorm(0:100),x=rnorm(0:100),z=rnorm(0:100))
fml <- list("mu1" = y ~x,
"mu2" = x ~ z,
"inst" = ~ z)
z.out <- zelig(formula = fml, model = "twosls", data = data)
x.out <- setx(z.out)
any idea?
thanks!
yph
Show replies by date