search for: zsca

Displaying 6 results from an estimated 6 matches for "zsca".

Did you mean: sca
2008 Mar 05
1
problem with geepack
...worked fine: gee1<-geese(Activity~Water, id=Individual, data=dataF, family=gaussian) but when I use other variables e.g gee2<-geese(Activity~Hgt+Size+Water, id=Individual, data=dataF, family=gaussian) I get the error message "Error in geese.fit(x, y, id, offset, soffset, w, waves, zsca, zcor, corp, : nrow(zsca) and length(y) not match" which I am not able to understand. The same problem has been reported in the list in 2006, but I have not found any response to it. Any suggestion? Giacomo
2008 Oct 29
2
call works with gee and yags, but not geepack
...orstr="exchangeable",data=dat,alphainit=0.05) However, I am making a mistake with: library(geepack) fit.geese <- geese(score ~ chem + time, id=id, family=gaussian,corstr="exch",data=dat) I obtain the following error: Error in geese.fit(x, y, id, offset, soffset, w, waves, zsca, zcor, corp, : nrow(zsca) and length(y) not match Could someone tell me what I have done incorrectly. Thanks for your time, Juliet. Data Below: id treat time1 time2 time3 time4 chem1 chem2 chem3 chem4 time score chem 1 1 20 18 15 15 1000 1100 1200 1300 0 20 1000 1 1 20 18 15 15 1000 1100 1200...
2006 Aug 25
0
Problem with geeglm
...reedom Residual deviance: 352.28 on 957 degrees of freedom AIC: 356.28 Number of Fisher Scoring iterations: 6 summary(geeglm(event.nab.2~va.2,family=binomial(link="logit"),id=patient.id,cor="exch",data=test)) Error in geese.fit(xx, yy, id, offset, soffset, w, waves = waves, zsca, : nrow(zsca) and length(y) not match > head(test) patient.id event.nab.2 va.2 1 1 0 (-Inf,84] 2 1 0 (-Inf,84] 3 2 0 (84, Inf] 4 2 0 (84, Inf] 5 3...
2012 May 04
0
Converting code from gee() to geeglm()
..., id = rad09 , data = Males, subset = marp1 == 1 , family = binomial, weights = Vigtpan , corstr ="unstructured" ) *I get the following error message and not sure how to work on that. Any suggestions appreciated* Error in geese.fit(xx, yy, id, offset, soffset, w, waves = waves, zsca, : nrow(zsca) and length(y) not match In addition: Warning messages: 1: In eval(expr, envir, enclos) : non-integer #successes in a binomial glm! 2: glm.fit: algorithm did not converge 3: glm.fit: fitted probabilities numerically 0 or 1 occurred *Regards* *Stefan Jonsson* * * [[alternative...
2012 Sep 08
0
reshape and geeglm problem
...geeSand=(geeglm(PHQ~as.factor(compl_bin)+Neuro+PHQ_base+as.factor(depr0)+EFE+as.factor(Sex.x)+as.factor(error)+stress+hours,family = poisson,data=compl_long,id=subject, corst="exchangeable")) I am getting an error: "Error in geese.fit(xx, yy, id, offset, soffset, w, waves = waves, zsca, : nrow(zsca) and length(y) not match" If I remove variables as.factor(error) and hours, geeglm does not complain, and I am getting the output. The function does not work with error and hours variables. I check the length of all the variables, they are equal. Could you please help me figu...
2011 Apr 07
1
Quasipoisson with geeglm
...[1] 185.8571), so changing to quasipoisson is needed. However, the code below geeglm(SumOfButterflies ~ RES_YEAR, family = quasipoisson, data = ManijurtNoNA, id = RES_ROTE_ID, corstr = "ar1") produces the following error Error in geese.fit(xx, yy, id, offset, soffset, w, waves = waves, zsca, : variance invalid. Other correlation structures encounter the same problem. I also tried adding "waves = RES_YEAR" (although I am not sure how waves should be used correctly), but it does not change anything. Any suggestions what might be wrong? Regards, Ivy [[alternative HTML...