GLM Poisson with rates into RM

GuiGui Member Posts: 10 Contributor II
Hi everyone,

I've been trying to build a Poisson model for rates, but I can't find where to define my "offset". In my case, the offset is the population per neighborhood and target "number of deaths".

has anyone ever done this before using only RM operators?  

roughly and unelegant way, something like this

eg.: glm(deaths ~  x1 + x2 + x3 + offset(log(pop_nghb)) , data=mydata, family=poisson(...)) 

to build log(deaths / pop_nghb) = b0 + b1 x1+ b2 x2 + ...


Best,

Best Answer

  • GuiGui Member Posts: 10 Contributor II
    edited August 2022 Solution Accepted
    I have already found it
Sign In or Register to comment.