TREND Subcommand (KM command)
TREND specifies
that there is a trend across factor levels. This information is used
when computing the tests for equality of survival functions specified
on the TEST subcommand.
- The minimum specification is the subcommand keyword by itself.
- If
TRENDis specified butCOMPAREis not,KMperforms the default log rank test with the trend metric for anOVERALL POOLEDcomparison. - If the metric specified on
TRENDis longer than required by the factor levels,KMdisplays a warning and ignores extra values.
Example
KM LENGTH BY SEXRACE
/STATUS=EMPLOY EVENT (1) LOST (3,5 THRU 8)
/STRATA=LOCATION
/TREND.
-
TRENDis specified by itself.KMuses the default metric. Since SEXRACE has four levels, the default is (–3, –1, 1, 3). - Even though no
TESTorCOMPAREsubcommand is specified,KMperforms the default log rank test with the trend metric and does a defaultOVERALL POOLEDcomparison.