Re: [R-sig-eco] Binomial GLMM or GAMM with random intercept and temporal correlation

2014-09-04 Thread Becker, Benjamin
Jay Ver Hoef developed a package: glmmLDTS that I think deals explicitly with all your issues (binomial, random effects, temporal autocorrelation...but not GAMM). see his page and two papers (Note, it only seems to run on < R.3.0): https://sites.google.com/site/jayverhoef/ *Ver Hoef, J.M.*, Lo

Re: [R-sig-eco] Binomial GLMM or GAMM with random intercept and temporal correlation

2014-09-03 Thread SamiC
Thanks for the responses. I am going to try modelling the binomial data with a covariate representing the previous value and see if that's sufficient. I haven't used INLA, I have some experience with JAGs but not sure where to start with modelling temporal structures there. I need to model both

Re: [R-sig-eco] Binomial GLMM or GAMM with random intercept and temporal correlation

2014-08-29 Thread eric.stolen
Sam; We had a similar situation with a GLMM with temporal autocorrelation in the binary response variable Reyier et al. 2014). Because we wanted to use model selection based on AIC, we could not use the quasi-likelihood estimates from glmmPQL. Instead we used an approach called "State dependence" b

Re: [R-sig-eco] Binomial GLMM or GAMM with random intercept and temporal correlation

2014-08-26 Thread Bob O'Hara
On 08/26/2014 07:34 PM, SamiC wrote: Dear ecology mailing list, I am trying to model some binomial data (0/1) as a function of sex (0/1) and DistanceToFeature (continuous km’s) with an interaction between the two. My data is nested and I therefore want to include a random intercept for Inidivid

[R-sig-eco] Binomial GLMM or GAMM with random intercept and temporal correlation

2014-08-26 Thread SamiC
Dear ecology mailing list, I am trying to model some binomial data (0/1) as a function of sex (0/1) and DistanceToFeature (continuous km’s) with an interaction between the two. My data is nested and I therefore want to include a random intercept for InidividualID and within that I want to include