Combined Frequency/Stats Tables

Example 5 – DEMOG Displaying Count, Percent and Cumulative Percent

The following example displays the discrete and continuous parameter descriptive statistics such that count, percent and cumulative percent are displayed. Also displayed are zero counts and percentages, 0 (0%).

%demog(in=demo0,
	cvars=age dmht dmwt,
	dvars=sex invest race,
	zeropct=p,
	dvar_display=npc1,
	var_ord=invest age sex race dmht dmwt,
	squeeze=y,
	suffix=e);