r - Errors trying to run glmer with paired data and repeated measures (lme4) -
i want analyze effect of 2 treatments on variation of abundance of plant species along time gradient.
the experimental design consist of exclosures (treatment = no moose), paired control plots (treatment = moose). site consist of 1 exclosure + 1 control plot. there 15 sites (so 15 exclosures + 15 paired plots = 30 experimental units). each experimental units has unique "id". abundance (proportion : continuous value between 0 , 1) of fir has been monitored 5 years (once every year = repeated measures). repeated measures nested inside "id".
i want analyze effect of treatments on fir abundance while controlling paired structure of data , repeated measures.
since response data proportion (abundance between 0 , 1), have been directed toward glmm family=binomial.
however, not entirely sure on how code model. tried :
fit = glmer(fir ~ treatment*time + (time|id) + (1|site), data=dat1, family=binomial) if right, "(1|site)" control paired structure, , "(time|id)" control repeated structure (since "time" nested "id").
but receive following errors :
warning messages: 1: in eval(family$initialize, rho) : non-integer #successes in binomial glm! 2: in checkconv(attr(opt, "derivs"), opt$par, ctrl = control$checkconv, : unable evaluate scaled gradient 3: in checkconv(attr(opt, "derivs"), opt$par, ctrl = control$checkconv, : hessian numerically singular: parameters not uniquely determined any idea goes wrong model , these error messages mean ?
thx
wiki
Comments
Post a Comment