Fisher (1936) Iris Data
The following steps display information about the data set Sashelp.Iris and create Figure B.6:
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;
Figure B.6
Fisher (1936) Iris Data
Species |
Char |
10 |
Iris Species |
SepalLength |
Num |
8 |
Sepal Length (mm) |
SepalWidth |
Num |
8 |
Sepal Width (mm) |
PetalLength |
Num |
8 |
Petal Length (mm) |
PetalWidth |
Num |
8 |
Petal Width (mm) |
Setosa |
50 |
33 |
14 |
2 |
Setosa |
46 |
34 |
14 |
3 |
Setosa |
46 |
36 |
10 |
2 |
Setosa |
51 |
33 |
17 |
5 |
Setosa |
55 |
35 |
13 |
2 |
50 |
33.33 |
50 |
33.33 |
50 |
33.33 |
100 |
66.67 |
50 |
33.33 |
150 |
100.00 |
Copyright © SAS Institute Inc. All rights reserved.