Hi, Greg.
By design, SUR can't be used with plot.ci. Plot.ci can only be used with
models that use one dependent variable, and SUR uses two.
Yours,
Olivia
On Fri, Dec 17, 2010 at 8:16 PM, Greg McAvoy <gemcavoy(a)uncg.edu> wrote:
After looking around at the documentation and some examples, it isn't clear
to me how to use plot.ci with model="sur".
Using the example in Zelig,
data(grunfeld)
formula <- list(mu1 = Ige ~ Fge + Cge, mu2 = Iw
~ Fw + Cw)
Estimating the model using sur:
z.out <- zelig(formula = formula, model =
"sur", data = grunfeld)
summary(z.out)
How would I set Fw=10:91 (one of the independent variables above) in the
setx command? Just putting it as in a single equation model leads to
errors.
f.range=10:90
x.out <- setx(z.out,Fw=f.range)
Error in X[, xtmp] <- Xs[[i]][, xtmp] :
It seems like I need to call 'mu2' with Fw in it, but I am not sure how to
do that.
Thanks,
Greg
--
Gregory E. McAvoy
Associate Professor
Department of Political Science
University of North Carolina at Greensboro
PO Box 26170
Greensboro, NC 27402