I think the error is saying that the variable does not exist in the data frame...
Kosuke
Department of Politics
Princeton University
Hi everyone,
I'm trying to run a factor analysis with imputed data in Zelig. Here's my
code:
z.out <- zelig(cbind(simp3, Cert2, Source9,
Source7, simp10,Cert10, Just19, Cert8, Source22, Cert11,simp19, Cert1, Just12, Cert5,
simp9, simp20, Cert3, source5, simp13, simp12, simp1, source17, cert14, cert15, Just17,
source21, Just14, simp15, simp18, Just22, Just25, Just20, source19, source10, Cert4,
source4, Cert9, simp2, simp17, simp7, just24, just8, Cert13, just16, source11, cert17,
Cert18, simp8, just21, source18, cert12, source16, simp11, source6, just1, just6, just26,
source13, just15, Source1, Cert7, simp14, source8, source15, just3, source12, just23,
source14, just11, simp16, just9, just10, source2, Cert6, just13, just5, Cert19, just7,
just18, simp4, simp6, just2, just4, cert16, just27, simp5, source20, cert20), factors=5,
model= "factor.bayes", data = mi(outdata1, outdata2, outdata3, outdata4,
outdata5), cite=F)
The problem is that when I try to run this code I get the following error message:
"Error in cbind(simp3, Cert2, Source9, Source7, simp10, Cert10, Just19, :
object 'simp3' not found"
If I remove variable simp3 it just continues down the list of variables. I checked and R
is reading my data correctly and I did import the data with "header=TRUE" just
to make sure the variable names would be read. I've looked through the manual, but
can't find an explanation for the error. Any help would be greatly appreciated.
Laura
-
Zelig Mailing List, served by Harvard-MIT Data Center
Send messages: zelig(a)lists.gking.harvard.edu
[un]subscribe Options:
http://lists.gking.harvard.edu/?info=zelig
Zelig program information:
http://gking.harvard.edu/zelig/
-
Zelig Mailing List, served by Harvard-MIT Data Center
Send messages: zelig(a)lists.gking.harvard.edu
[un]subscribe Options: