search for: aiclist

Displaying 1 result from an estimated 1 matches for "aiclist".

Did you mean: abclist
2008 Feb 04
1
extracting AIC scores from lmer and other objects
...*attr(a, 'df'))} I use this, and I do not get an error. 3) I do, however, get the above error if I have a vector of model objects. So, again, if I have something like model.list<-c(my.lm, my.lmer) or even just c(my.lm, my.lm2) and then call the following on the vector of models aiclist<-vector for(index in 1:length(model.list)){ aiclist<-c(aiclist, myAIC(model.list[index])) } it again yields the Error in UseMethod("logLik"). Given that this is true either for lm, glm, or lmer objects, I'm guessing there's a more general issue here that I'm mi...