The Sashelp.Fish
catch data set contains measurements of 159 fish that were caught in Finland’s Lake Laengelmaevesi (Puranen 1917); it is used to illustrate discriminant analysis. For each of the seven species (bream, roach, whitefish, parkki, perch,
pike, and smelt), the weight, length, height, and width of each fish are tallied. Three different length measurements are
recorded: from the nose of the fish to the beginning of its tail, from the nose to the notch of its tail, and from the nose
to the end of its tail. The height and width are recorded as percentages of the third length variable. The following steps
display information about the Sashelp.Fish
data set and create Figure B.10:
title 'Finland''s Lake Laengelmaevesi 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;
Figure B.10: Finland’s Lake Laengelmaevesi Fish Catch Data
The First Five Observations Out of 159 |
Obs | Species | Weight | Length1 | Length2 | Length3 | Height | Width |
---|---|---|---|---|---|---|---|
1 | Bream | 242 | 23.2 | 25.4 | 30.0 | 11.5200 | 4.0200 |
2 | Bream | 290 | 24.0 | 26.3 | 31.2 | 12.4800 | 4.3056 |
3 | Bream | 340 | 23.9 | 26.5 | 31.1 | 12.3778 | 4.6961 |
4 | Bream | 363 | 26.3 | 29.0 | 33.5 | 12.7300 | 4.4555 |
5 | Bream | 430 | 26.5 | 29.0 | 34.0 | 12.4440 | 5.1340 |