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
#VariableTypeLen
1SpeciesChar9
2WeightNum8
3Length1Num8
4Length2Num8
5Length3Num8
6HeightNum8
7WidthNum8

The First Five Observations Out of 159

ObsSpeciesWeightLength1Length2Length3HeightWidth
1Bream24223.225.430.011.52004.0200
2Bream29024.026.331.212.48004.3056
3Bream34023.926.531.112.37784.6961
4Bream36326.329.033.512.73004.4555
5Bream43026.529.034.012.44405.1340

The Fish Species Variable

SpeciesFrequency PercentCumulative
Frequency
Cumulative
Percent
Bream3522.013522.01
Parkki116.924628.93
Perch5635.2210264.15
Pike1710.6911974.84
Roach2012.5813987.42
Smelt148.8115396.23
Whitefish63.77159100.00