When you calculate log_personyears in your DATA step, I assume you do something like:
log_personyears = log (personyears);
So if you wish the offset to be per 1000 personyears, change that calculation to
log_thoupersonyears = log(1000*personyers);
Let us know if that does what you need.
SteveDenham
Our biggest data and AI event of the year.
Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.
Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.