Help using Base SAS procedures

Trends over time

Reply
Highlighted
Occasional Contributor EMB
Occasional Contributor
Posts: 5

Trends over time

Hello,

 

I am posting my question again with some additional information.

 

I wish to study trends in age over time in a study including incident cases of a specific disease. Data were collected during 4 short periods 2 years apart. Each period included different participants (>1000 each).  As part of the descriptive analysis I would like to look at trends over time in age of the diagnosed individuals and show p for linear trend.

Would the following be correct for the evaluation of linear trend in age of diagnosed individuals? Any other suggestion?

 

proc glm;
class (time period);
model AGE=(time period);
contrast 'linear' (time period) -3 -1 1 3;
run;

 

Thanks!

Ask a Question
Discussion stats
  • 0 replies
  • 583 views
  • 0 likes
  • 1 in conversation