95% CI in Proc Tabulate

PHOTO EMBED

Mon Nov 20 2023 20:57:15 GMT+0000 (Coordinated Universal Time)

Saved by @ddover ##table

Proc Tabulate Data=Results ;
   Where CRmodel=:"Fine";
   Class TVmodel HRtype link Contrast;
   Class blank five;
   Var estimate1 estimate / style={fontweight=bold};
   Var LowerLimit1 LowerLimit / style={textalign=right} ;
   Var UpperLimit1 UpperLimit / style={textalign=left};
   Var pvalue_noTV pvalue_Const pvalue_TV;
   Table link=""*Contrast="", five=""*(Estimate1="HR"*{style={font_weight=bold fontsize=8pt}}*sum="" 
                                    LowerLimit1="95%"*{style={font_style=italic fontsize=7pt just=right}}*sum=""
                                    UpperLimit1="CI"*{style={font_style=italic fontsize=7pt just=left}}*sum="")
                                    pvalue_noTV="Omnibus p-value"*sum=""
                               blank=""*{style={background=grey}}*n=""*f=ohno.
                              (HRtype="Time-Varying Hazard Ratio Model"*(Estimate="HR"*{style={font_weight=bold fontsize=8pt}} LowerLimit="95%"*{style={font_style=italic fontsize=7pt}} UpperLimit="CI"*{style={font_style=italic fontsize=7pt}})*sum="" pvalue_TV="Time-varying p-value"*sum="" pvalue_Const="Omnibus p-value"*sum="" )
         / nocellmerge misstext=' ';
   format HRtype tvyr.;
   format pvalue_: mypval.;
run;
content_copyCOPY