[R-sig-ME] contribution of random variables to final estimate
Ben Bolker
bbolker at gmail.com
Sat Feb 2 19:08:33 CET 2013
Rui Figueira <rpfigueira at ...> writes:
>
> Dear all,
> We want to test if the invasiveStatus is predicted by the amount
> (quant) of animals arriving to a country of a certain species
> (taxonid). We are using lmer to perform the model.
> The model is:lmer(invasiveStatus~I(log(quant+1))+
> I(log(inDegree+1))+(1|taxonid)+(1|country),
> family=binomial,data=td),
> where invasiveStatus is a binary variable, quant and inDegree are
> integer variables, and taxonid and country are factor variables.
>
*Please* don't cross-post on R lists, it fosters confusion and wasted
effort. I saw this first on R-help and gave an answer there.
For reference:
http://article.gmane.org/gmane.comp.lang.r.general/286108
Follow-ups here.
Ben Bolker
More information about the R-sig-mixed-models
mailing list