Documentation Examples for SASHELP Data Sets
/****************************************************************/
/* S A S S A M P L E L I B R A R Y */
/* */
/* NAME: SASHELP */
/* TITLE: Documentation Examples for SASHELP Data Sets */
/* PRODUCT: STAT */
/* SYSTEM: ALL */
/* KEYS: */
/* PROCS: REG, PRINT, FREQ, CONTENTS */
/* DATA: */
/* */
/* SUPPORT: saswfk UPDATE: July 25, 2010 */
/* REF: */
/* MISC: */
/****************************************************************/
proc reg data=sashelp.class;
model weight = height;
run; quit;
ods listing close;
proc contents data=sashelp._all_;
ods output members=m;
run;
ods listing;
proc print;
where memtype = 'DATA';
run;
proc contents data=sashelp._all_;
run;
title 'Bone Marrow Transplant Data';
proc contents data=sashelp.bmt varnum;
ods select position;
run;
title 'The First Five Observations Out of 137';
proc print data=sashelp.bmt(obs=5);
run;
title 'The Risk Group Variable';
proc freq data=sashelp.bmt;
tables group;
run;
title 'Class Data';
proc contents data=sashelp.class varnum;
ods select position;
run;
title 'The Full Data Set';
proc print data=sashelp.class;
run;
title 'El Nino Southern Oscillation Data';
proc contents data=sashelp.enso varnum;
ods select position;
run;
title 'The First Five Observations Out of 168';
proc print data=sashelp.enso(obs=5);
run;
title 'Finland''s Lake Laengelmavesi Fish Catch Data';
proc contents data=sashelp.fish varnum;
ods select position;
run;
title 'The First Five Observations Out of 159';
proc print data=sashelp.fish(obs=5);
run;
title 'The Fish Species Variable';
proc freq data=sashelp.fish;
tables species;
run;
title 'Exhaust Emissions Data';
proc contents data=sashelp.gas varnum;
ods select position;
run;
title 'The First Five Observations Out of 171';
proc print data=sashelp.gas(obs=5);
run;
title 'The Fuel Type Variable';
proc freq data=sashelp.gas;
tables fuel;
run;
title 'Fisher (1936) Iris Data';
proc contents data=sashelp.iris varnum;
ods select position;
run;
title 'The First Five Observations Out of 150';
proc print data=sashelp.iris(obs=5);
run;
title 'The Iris Species Variable';
proc freq data=sashelp.iris;
tables species;
run;
title 'Coal Seam Thickness Data';
proc contents data=sashelp.thick varnum;
ods select position;
run;
title 'The First Five Observations Out of 75';
proc print data=sashelp.thick(obs=5);
run;
title 'Flying Mileages between Five US Cities Data';
proc contents data=sashelp.mileages varnum;
ods select position;
run;
title 'The Full Data Set';
proc print data=sashelp.mileages label;
id city;
run;