Sashelp Data Sets


Finland’s Lake Laengelmaevesi Fish Catch Data

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

Finland's Lake Laengelmaevesi Fish Catch Data

Variables in Creation Order
# Variable Type Len
1 Species Char 9
2 Weight Num 8
3 Length1 Num 8
4 Length2 Num 8
5 Length3 Num 8
6 Height Num 8
7 Width Num 8

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

The Fish Species Variable

Species Frequency Percent Cumulative
Frequency
Cumulative
Percent
Bream 35 22.01 35 22.01
Parkki 11 6.92 46 28.93
Perch 56 35.22 102 64.15
Pike 17 10.69 119 74.84
Roach 20 12.58 139 87.42
Smelt 14 8.81 153 96.23
Whitefish 6 3.77 159 100.00