Dear listers,
i created two survival curve adjusted by age
how can I compare this two curve. I am not sure I could use “sts test”
to compare two adjusted curve below is my command , curve is wider but
i got not significant , please advice me how can i compare adjusted curve
gen tpa_age=tpa*Age
sts test tpa_age
chi2(30) = 24.01
Pr>chi2 = 0.7714
xi:stcox Ageyears if tpa==0
_t | Haz. Ratio Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
Age | .990738 .0357294 -0.26 0.796 .9231273 1.063301
xi:stcox Ageyears if tpa==1
_t | Haz. Ratio Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
Age | 1.037272 .0244087 1.56 0.120 .9905185 1.086233
xi:stcox i.tpa Ageyears
_t | Haz. Ratio Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
_Itpa_1 | .8745963 .2259029 -0.52 0.604 .527166 1.451001
Ageyears | 1.030515 .0202899 1.53 0.127 .9915047 1.07106
curve attach.
Appreciate your help.
Thank you
i created two survival curve adjusted by age
how can I compare this two curve. I am not sure I could use “sts test”
to compare two adjusted curve below is my command , curve is wider but
i got not significant , please advice me how can i compare adjusted curve
gen tpa_age=tpa*Age
sts test tpa_age
chi2(30) = 24.01
Pr>chi2 = 0.7714
xi:stcox Ageyears if tpa==0
_t | Haz. Ratio Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
Age | .990738 .0357294 -0.26 0.796 .9231273 1.063301
xi:stcox Ageyears if tpa==1
_t | Haz. Ratio Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
Age | 1.037272 .0244087 1.56 0.120 .9905185 1.086233
xi:stcox i.tpa Ageyears
_t | Haz. Ratio Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
_Itpa_1 | .8745963 .2259029 -0.52 0.604 .527166 1.451001
Ageyears | 1.030515 .0202899 1.53 0.127 .9915047 1.07106
curve attach.
Appreciate your help.
Thank you
Comment