data a;
set sasuser.prob3;

/* prob3.xls was an Excel 4.0 external file */

title 'Descriptive Statistics';
*proc freq;
*tables sbp pvhba1cd totalcho weight/nocum nopercent;
proc means data=a;
class sex;
var sbp pvhba1cd totalcho weight;
*proc means data=a mean N std maxdec=2;
*var sbp pvhba1cd totalcho weight;
*proc univariate data=a;
*var sbp pvhba1cd totalcho weight;
*proc chart data=a;
*vbar sbp/ midpoints =100 to 210 by 10;
*hbar sbp/ midpoints =100 to 210 by 10;
*proc plot data=a;
*plot totalcho*weight;
run;