Analyzing Seed Variety

Lab 3.2

Luke Stucky

Viewing the first 10 observations:

   compactness width of kernel variety
1       0.8710           3.312    Kama
2       0.8811           3.333    Kama
3       0.9050           3.337    Kama
4       0.8955           3.379    Kama
5       0.9034           3.562    Kama
6       0.8951           3.312    Kama
7       0.8799           3.259    Kama
8       0.8911           3.302    Kama
9       0.8747           3.465    Kama
10      0.8880           3.505    Kama

All the values for Kama appear to be condensed at first glance.

Viewing the final 10 observations:

[1] "Bottom 10 Variables in the Dataset:"
    compactness width of kernel  variety
201      0.8609           2.989 Canadian
202      0.8977           3.135 Canadian
203      0.8680           2.810 Canadian
204      0.8874           3.091 Canadian
205      0.8567           2.960 Canadian
206      0.8783           2.981 Canadian
207      0.8511           2.795 Canadian
208      0.8883           3.232 Canadian
209      0.8521           2.836 Canadian
210      0.8684           2.974 Canadian

After viewing the bottom 10 observations, the Canadian variety also appears to be condensed. It also reveals a clear distinction between the Canadian and Kama kernels.

Summary of Data

Table of the Kernel Variety:


    Kama     Rosa Canadian 
      70       70       70 


Summary of the Kernel Compactness:

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
 0.8081  0.8569  0.8734  0.8710  0.8878  0.9183 


Summary of the Kernel Width:

   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
  2.630   2.944   3.237   3.259   3.562   4.033 

Visualization of Seed Data

Interpretation:

The Canadian kernel, on average, has the smallest width as well as the smallest compactness. The Rosa kernel has the largest width along with a larger compactness. The Kama kernel has a width that is in between the Rosa and the Canadian kernels while having a compactness similar to the Rosa kernel. Each variety is distinct from the others and can be separated into clusters fairly easily.