BookmarkSubscribeRSS Feed
lijiaqi
Calcite | Level 5
I need to calculate the p-trend of age-adjusted incidences. The age-adjusted incidences were calculated using the direct method, so the numerators and denominators were large. I tried the poison model and found the p-trend was <0.0001, but the incidence rates seem to be non-linear, rather than an increased or decreased trend.  Also, I found the value/df are very high (>3500), which should be close to 1 for better accuracy. Is it right to use poison model? Which model is good for calculating the 
 p-trend of age-adjusted incidences?
data a;
input periods cases pyears;
loga=log(pyears);
datalines;
 
1 10000 50000000
2 25000 50000000
3 20000 50000000
4 15000 50000000
;
run;
proc genmod data=a;
model cases=periods / dist=poisson link=log offset=loga;
run;

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

What is ANOVA?

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.

Discussion stats
  • 0 replies
  • 1042 views
  • 0 likes
  • 1 in conversation