Hello all: I am running multiple single cox models showing basefactors and highlighting the significant ones in a table at the .05 level. The 95% CI (_r_ci) however remains blank in the code I am writing. What could be wrong in this code? Can -dataex- if that is easier. This works perfectly in a single model with multiple variables.
local myresults "HR = _r_b CI = _r_ci pvalue = _r_p"
table (command) (result), ///
command(`myresults': stcox i.age65) ///
command(`myresults': stcox raidx2) ///
command(`myresults': stcox ldh25) ///
command(`myresults': stcox ecog2) ///
command(`myresults': stcox tsbplt2) ///
command(`myresults': stcox cllbtk) ///
command(`myresults': stcox alb_cat) ///
command(`myresults': stcox agetran) ///
command(`myresults': stcox tscons) ///
nformat(%5.2f _r_b _r_ci _r_p) ///
sformat("[%s]" _r_ci ) ///
cidelimiter(,)
collect style cell result[HR CI], nformat(%3.1f)
collect style cell result[pvalue], nformat(%3.2f)
collect style cell border_block, border(right, pattern(nil))
collect style showbase factor
collect style row stack, nobinder delimiter(" x ")
collect label list command, all
collect label levels command ///
1 "Age>65 (yrs)" ///
2 "Rai Stage Dx." ///
3 "LDH>2.5x ULN" ///
4 "ECOG PS" ///
5 "RT baseline Plat. Cnt." ///
6 "BTKi for CLL" ///
7 "RT baseline albumin (g/dL)" ///
8 "Age at transformation (yrs)" ///
9 "B-symptoms at RT" ///
,modify
collect preview
local myresults "HR = _r_b CI = _r_ci pvalue = _r_p"
table (command) (result), ///
command(`myresults': stcox i.age65) ///
command(`myresults': stcox raidx2) ///
command(`myresults': stcox ldh25) ///
command(`myresults': stcox ecog2) ///
command(`myresults': stcox tsbplt2) ///
command(`myresults': stcox cllbtk) ///
command(`myresults': stcox alb_cat) ///
command(`myresults': stcox agetran) ///
command(`myresults': stcox tscons) ///
nformat(%5.2f _r_b _r_ci _r_p) ///
sformat("[%s]" _r_ci ) ///
cidelimiter(,)
collect style cell result[HR CI], nformat(%3.1f)
collect style cell result[pvalue], nformat(%3.2f)
collect style cell border_block, border(right, pattern(nil))
collect style showbase factor
collect style row stack, nobinder delimiter(" x ")
collect label list command, all
collect label levels command ///
1 "Age>65 (yrs)" ///
2 "Rai Stage Dx." ///
3 "LDH>2.5x ULN" ///
4 "ECOG PS" ///
5 "RT baseline Plat. Cnt." ///
6 "BTKi for CLL" ///
7 "RT baseline albumin (g/dL)" ///
8 "Age at transformation (yrs)" ///
9 "B-symptoms at RT" ///
,modify
collect preview
