Exhaust Emissions Data
The following steps display information about the data set Sashelp.Gas and create Figure B.5:
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;
Figure B.5
Exhaust Emissions Data
Fuel |
Char |
8 |
|
CpRatio |
Num |
8 |
Compression Ratio |
EqRatio |
Num |
8 |
Equivalence Ratio |
NOx |
Num |
8 |
Nitrogen Oxide |
Ethanol |
12 |
0.907 |
3.741 |
Ethanol |
12 |
0.761 |
2.295 |
Ethanol |
12 |
1.108 |
1.498 |
Ethanol |
12 |
1.016 |
2.881 |
Ethanol |
12 |
1.189 |
0.760 |
9 |
5.26 |
9 |
5.26 |
25 |
14.62 |
34 |
19.88 |
90 |
52.63 |
124 |
72.51 |
13 |
7.60 |
137 |
80.12 |
22 |
12.87 |
159 |
92.98 |
12 |
7.02 |
171 |
100.00 |
Copyright © SAS Institute Inc. All rights reserved.