12-19-2013 11:27 AM
I am hoping to get your expertise on showing whether the change in median age over time is statistically different.
For example, here is what my data looks like:
I would appreciate any help! What statistical test should I use and please advise on the corresponding SAS code.
12-19-2013 12:31 PM
With only this data, I think the first statistical test you might look at is whether there is a significant trend in the data, using linear regression. Without the raw data or error estimates at each time point, I don't see any other way to attack this. Any of the modeling procedures (REG, GLM, MIXED, GENMOD, GLIMMIX, HPMIXED, CALIS) could do this.
input year med_age;
proc reg data=have;
This should get you started.