Hi,
I want to ask how can I use ordinally categorised exposure variable as ordinal variable in poison regression.
Below is my current code where i am getting estimate for each cat vs reference category.
proc genmod data=f1;
class temperature_mean4 region;
format temperature_mean4 cat_temp.;
model start = winter region temperature_mean4 / dist=poisson offset=lnwinters type3;
*Rate per 1000 winters*;
lsmeans temperature_mean4 / exp cl;
*Rate Ratios*;
estimate 'cat2 vs cat1' temperature_mean4 -1 1 0 0 ;
estimate 'cat3 vs cat1' temperature_mean4 -1 0 1 0 ;
estimate 'cat4 vs cat1' temperature_mean4 -1 0 0 1 ;
run;
I want to assess if there is ordinal impact of exposure on outcome.
Any help leading to a solution is highly appreciated.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
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.
Find more tutorials on the SAS Users YouTube channel.