I have a variable called "duration_bout" which corresponds to a duration in seconds. Here's what the distribution looks like:
It looks like a Poisson distribution, but my durations are a continuous variable. If I transform my data to integers, Poisson fits rather well:
I think what I really have here is rather a gamma distribution, but I can't figure out how to use this family in glmmTMB! Several questions:
- family=gamma() asks me to define an "x" parameter; what is it?
- How come Poisson model fits? How correct is it to tranform my data to integers in order to use it?
Thanks!