Procedure features: |
ODS
DOCUMENT statement option:
|
DOC statement option:
|
LIST statement options:
|
DIR statement option:
|
|
ODS destinations: |
|
Procedure output: |
|
This example shows you how to do these tasks:
 |
options nodate nonumber; |
 |
data distrdata;
drop n;
label Normal_x='Normal Random Variable'
Exponential_x='Exponential Random Variable';
do n=1 to 100;
Normal_x=10*rannor(53124)+50;
Exponential_x=ranexp(18746363);
output;
end;
run; |
 |
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; |
 |
proc document;
doc;
doc name=univ;
list/levels=all; |
 |
dir univariate#2\exponential_x\fitteddistributions\exponential;
list;
list fitquantiles/details;
run;
|
 |
quit; |
Current ODS Document in Output
![[Current ODS Document in Output]](images/proc-docex1a.gif)
List of the Entries of the ODS Document WORK.Univ and the Properties of Those Entries
![[List of the Entries of the ODS Document WORK.Univ and the Properties of Those Entries]](images/proc-docex1b.gif)
List of the Entries of the Exponential#1 Entry and the Properties of Those Entries
![[List of the Entries of the Exponential#1 Entry and the Properties of Those Entries]](images/proc-docex1c.gif)
Details of the FitQuantiles#1 Table
![[Details of the FitQuantiles#1 Table]](images/proc-docex1d.gif)
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.