Displaying 1 result from an estimated 1 matches for "ggrec_dtlog".
2007 Mar 09
0
GLMM in lme4 and Tweedie dist.
...nk_1 + Rank_diff + DAI +
Gen_dy*Rank_diff + Gen_dy*DAI + Gen_dy + (1| D_1) + (1| D_2), family =
tweedie(var.power=1,link.power=0), offset=log(Dt), data=data) ]
data=read.csv(file="GLMM_data.csv")
> models<-read.table("GLMM_tweedie.txt", sep="\t")
> data$Ggrec_Dtlog = log(data$Ggrec_Dt+1)
> models<-as.vector(models[,1])
> totres=c()
> for (i in 1:79) {model=models[i]
+ res=eval(parse(text=model))
+ res=AIC(logLik(x))
+ res=as.vector(res)
+ totres=rbind(totres,res)}
The output would then be just a list of all the AIC of each model. For 1
of the...