BookmarkSubscribeRSS Feed
ammarhm
Lapis Lazuli | Level 10

Hi everyone,

i have a dataset containing about 7000 observations, I am interested in a certain events (event), the incidence of which seems to increase with age. The increment is relatively slow at younger ages but increases more steeply with older age.  

What I am trying to do is to find an optimal age cut off as a strata predicting the event of interest in survival analysis. Basically I am looking for the age at which the difference in hazards ratios is largest, of if you want the age cut off that separates the Kaplan Meier strata curves most.

Is there a way of doing this?

Thank you and appreciate your help.

 

Am

2 REPLIES 2
PGStats
Opal | Level 21

The brute force method would be something like:

 

data testData;
set myData;
do cutoffAge = 25 to 55 by 5;
	strata = age > cutoffAge;
	output;
	end;
run;

proc sort data=testData; by cutoffAge strata; run;

proc lifetest data=testData ... ;
by cutOffAge;
strata strata;
...
ods output ... ; /* capture analysis statistics for each cutoff age*/
run;

You could then choose your prefered age cutoff. Note that any such searching method will likely create a bias in favor of your hypothesis.

PG
ammarhm
Lapis Lazuli | Level 10
Thanks @PGStats
Appreciate your help.
The issue is that the suggested solution will be based on subjective assessment of the KM graphs, I was hoping there would be an objective statistical procedure or way, maybe something similar to Youden index to solve this kind of problems?
Thanks once again, really appreciate your help.

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

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
  • 2 replies
  • 905 views
  • 1 like
  • 2 in conversation