Displaying 1 result from an estimated 1 matches for "econ_mn".
2008 Sep 19
0
Error message in lmer
...<- seq(0,20,2)
cut2.pred<-cut.pred^2
pred <- matrix(data = NA, nrow=boot, ncol=length(cut.pred))
for (j in 1 : boot){
id <- sample(index, replace=T)
y.boot <- y[id]
age_insects.boot <- age_insects[id]
cut.boot <- cut[id]
cut2.boot <- cut2[id]
rV.rGb.boot <- rV.rGb[id]
ECON_MN.boot <- ECON_MN[id]
SHDI.boot <- SHDI[id]
city.boot <- city[id]
lmer.5 <-lmer(y.boot ~ cut.boot + cut2.boot + rV.rGb.boot +
age_insects.boot + ECON_MN.boot + SHDI.boot +
(1|city.boot),family="quasipoisson")
for (i in 1:length(cut.pred)){
pred[j,i] <- exp (lmer.5@...