Creating the Univ ODS Document

ods document name=univ;
 
title '100 Obs Sampled from a Normal Distribution';
proc univariate data=distrdata noprint;
  var Normal_x;
 
  histogram Normal_x /normal(noprint) cbarline=grey name='normal';
run;
 
  title '100 Obs Sampled from an Exponential Distribution';
 
proc univariate data=distrdata noprint;
  var Exponential_x;
 
  histogram /exp(fill l=3) cfill=yellow midpoints=.05 to 5.55 by .25
             name='exp';
run;
 
  ods document close;
title;
 
  quit;