Chapter Contents 
Previous 
Next 
The UNIVARIATE Procedure 
Procedure features: 
 
Other features: 

Program 
options nodate pageno=1 linesize=80 pagesize=60;
goptions htitle=4 htext=3 ftext=swissb ftitle=swissb; 
proc univariate data=distrdata noprint; var Normal_x; 
histogram Normal_x /normal(noprint) cbarline=grey ; 
title '100 Obs Sampled from a Normal Distribution'; run; 
proc univariate data=distrdata noprint; var Exponential_x; 
histogram /exp(fill l=3) cfill=yellow midpoints=.05 to 5.55 by .25; 
title '100 Obs Sampled from an Exponential Distribution'; run; 
Output 
A Histogram Superimposed with Normal Curve
A Histogram Superimposed with an Exponential Curve
Chapter Contents 
Previous 
Next 
Top of Page 
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.