The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

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.