Hello,
Here is my model:
p.out1.1 <- zelig(protest1 ~ civil1.d + repress1 + repress2 + repress1.civil1.d +
repress2.civil1.d + sex + educ + age1 + wealthy + remit + enough + internet + grievance +
deprivation + satisfy + support + democracy + corruption + interest + mexico + guatemala +
elsalvador + honduras + nicaragua + costarica + panama + colombia + ecuador + bolivia +
paraguay + chile + uruguay + brazil + venezuela + argentina + dominicanrep + haiti +
jamaica + belize + us + canada, model="probit.survey", data=mydata,
weights=~weight, x=TRUE)
x.1 <- setx(p.out1.1, civil1.d=0, repress1=0, repress2=0, repress1.civil1.d=0,
repress2.civil1.d=0, sex=1, remit=0, mexico=0, guatemala=0, elsalvador=0, honduras=0,
nicaragua=0, costarica=0, panama=0, colombia=0, ecuador=0, bolivia=0, paraguay=0, chile=0,
uruguay=0, brazil=0, venezuela=0, argentina=0, dominicanrep=0, haiti=0, jamaica=0,
belize=0, us=0, canada=0)
When I display x.1, it looks fine. all variables are at the desired value. However, when I
do the following:
s.out1 <- sim(p.out1.1, x = x.1)
R returns "Error in qi.svyglm(object, simpar = simpar, x = x, x1 = x1, y = NULL) :
subscript out of bounds"
Do you have any idea what this problem is?
I appreciate your help
Jun-deh
Show replies by date