Create an exponential distribution histogram. The TITLE statement specifies the title of the exponential histogram. The PROC UNIVARIATE step creates an exponential distribution histogram from the DistrData data set.


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;