Combined Frequency/Stats Tables

Example 6 – DEMOG Creating “Dummy” Rows for Discrete Values

The following example displays the discrete and continuous parameter descriptive statistics where “dummy” rows have been created for particular parameters that have discrete or categorical values.

%demog(in=demo0,
       dvars=sex invest RACE,
       cvars=age dmht dmwt,
       listds=list,
       zeropct=n,
       stats=n mean=Mean std median=Median min=Min max=Max stat1=<stats=p5 p95 code=compress(p5||" - "||p95)label="95% CI">,
       suffix=f);