How to take into account heterogeneity in sampling effort in a binomial glm (presence absence) ? Edit
I want to link species presence with environmental variables. But, species data come from camera trapping and camera traps didn't work the same total period (some cameras worked during 50 days, others during 200 days..).
How can I introduce this heterogenity in my glm ?
I know that an offset function is available for poisson glm (using offset=log(variable name)) but I was wondering if the formulation log(cam days) works as well for a binomial glm (because the link is logit)..
Thank you very much for your help !
I want to link species presence with environmental variables. But, species data come from camera trapping and camera traps didn't work the same total period (some cameras worked during 50 days, others during 200 days..).
How can I introduce this heterogenity in my glm ?
I know that an offset function is available for poisson glm (using offset=log(variable name)) but I was wondering if the formulation log(cam days) works as well for a binomial glm (because the link is logit)..
Thank you very much for your help !