When I run stcox on a dataset already stset, I get the output formatted like this:
Is there any way to get the output simplified like this:
--------------------------------------
Haz. Ratio (95% Conf. Interval); P>|z|
-----------------+--------------------
1.41 (1.32-1.50); 0.000
1.23 (1.16-1.29); 0.000
1.10 (1.05-1.16); 0.000
1.03 (0.98-1.08); 0.286
1.02 (0.96-1.07); 0.565
1 (base)
1.12 (1.05-1.20); 0.001
That is; only hazard ratio and confidence intervals, rounded to the second decimal point, and then followed by the p-values not rounded
Code:
----------------------------------------------------------------------------------
_t | Haz. Ratio Std. Err. z P>|z| [95% Conf. Interval]
-----------------+----------------------------------------------------------------
variable |
0- | 1.406576 .0481088 9.97 0.000 1.315375 1.504099
76- | 1.225997 .0332473 7.51 0.000 1.162535 1.292924
84- | 1.10168 .028641 3.72 0.000 1.046951 1.159271
90- | 1.027736 .0263652 1.07 0.286 .9773389 1.080732
96- | 1.015471 .0271252 0.57 0.565 .9636743 1.070052
102- | 1 (base)
112- | 1.122524 .0383152 3.39 0.001 1.049884 1.200189
--------------------------------------
Haz. Ratio (95% Conf. Interval); P>|z|
-----------------+--------------------
1.41 (1.32-1.50); 0.000
1.23 (1.16-1.29); 0.000
1.10 (1.05-1.16); 0.000
1.03 (0.98-1.08); 0.286
1.02 (0.96-1.07); 0.565
1 (base)
1.12 (1.05-1.20); 0.001
That is; only hazard ratio and confidence intervals, rounded to the second decimal point, and then followed by the p-values not rounded