Skip to content
Prev 12261 / 20628 Next

using Poisson glmer for non-integer data

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


 [cc'ing to r-sig-mixed-models]

  I don't think it's crazy to use a Poisson distribution with
non-integer response values in some cases, but you're correct that
non-integer response values don't work in lme4 at present.  In
principle we could dig down and fix the problem (feel free to post an
issue at https://github.com/lme4/lme4/issues, with a simple
reproducible example ...) but I have to say it's not very high on our
list, because these are (usually? often?) cases where the original
model is somewhat suspect anyway.  I can suggest the following
workarounds:

  * try another package such as glmmML or glmmPQL
  * use an offset that characterizes the total lifespan; if you use
offset(log(lifespan)) that will effectively model success per unit
lifespan, and if you include log(lifespan) as a predictor (with the
standard log link) that will effectively model success as proportional
to (lifespan)^b, where b is a parameter to be estimated.

  Other discussion of Poisson with non-integer values

http://www.r-bloggers.com/poisson-regression-on-non-integers/
http://stats.stackexchange.com/questions/38530/how-does-a-poisson-distribution-work-when-modeling-continuous-data-and-does-it-r/38588#38588
http://stats.stackexchange.com/questions/70054/how-is-it-possible-that-poisson-glm-accepts-non-integer-numbers

  sincerely
    Ben Bolker
On 14-08-10 09:08 PM, Christina Painting wrote:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJT6Dm0AAoJEOCV5YRblxUH7WQH/RYNGkliTnUkVyzCrnA0MNl9
sPTR6Vkz7Hdxm8YdHzuSHa1pzyyVmkuVMQP4IW9nD2II872nJxjTJgmC13Ji2bCj
dgV+HPTg2yQeYZqh6NQXWGvTWjrn8rQwzKF/2sxn5l3YWk5T13egy6lw2DI5FQVi
+xnOFMBkcnTQ3eysuO+8zaJFN6550IKQ6UT79D8hQ2TiHEXGrq2DeHVmp8Uqr2UY
f4Mx4G+NBRjmdtYoeQpgK3baRw1uoOI40GcQRPUHzUVaVJVXxk1QfrDiReK8yErs
Mg+lxV7ylMgv0J0+prqBsS7wibeSN8k31ghXWQ9MrnxKusdlsbcicKQQ5dbmgTU=
=5+8D
-----END PGP SIGNATURE-----
Message-ID: <53E839B4.5000400@mcmaster.ca>
In-Reply-To: <2908_1407719354_s7B19Dr1027441_CACaB4B7r18KjL5N5LeT-4etP4u_64Pkji93y7fhFacR0qGRrYA@mail.gmail.com>