I am analyzing percentage data with glmer
, and I have read that Gamma family should be suitable for this kind of data. I have checked my data and there are no values below 0, but I still get an error saying I have non-positive values.
> summary(total_F$p.prcnt)
Min. 1st Qu. Median Mean 3rd Qu. Max.
0.00 50.00 75.00 68.56 100.00 100.00
Just adding my code, that I used:
F_par1<- glmer(p.prcnt ~ b.element+distance+b.element*distance +year+sampling.round+(1|LS1),
family = Gamma,
data=total_F)
What are my options? I tried to modify my data in Excel to be proportional and use binomial, but I would prefer to use Gamma, if possible.