Week 3 Lab

Summary

Head

  Channel Region Fresh Milk Grocery Frozen Detergents_Paper Delicassen
1       2      3 12669 9656    7561    214             2674       1338
2       2      3  7057 9810    9568   1762             3293       1776
3       2      3  6353 8808    7684   2405             3516       7844
4       1      3 13265 1196    4221   6404              507       1788
5       2      3 22615 5410    7198   3915             1777       5185
6       2      3  9413 8259    5126    666             1795       1451

Tail

    Channel Region Fresh  Milk Grocery Frozen Detergents_Paper Delicassen
435       1      3 16731  3922    7994    688             2371        838
436       1      3 29703 12051   16027  13135              182       2204
437       1      3 39228  1431     764   4510               93       2346
438       2      3 14531 15488   30243    437            14841       1867
439       1      3 10290  1981    2232   1038              168       2125
440       1      3  2787  1698    2510     65              477         52

Summary Statistics

     Fresh             Milk      
 Min.   :     3   Min.   :   55  
 1st Qu.:  3128   1st Qu.: 1533  
 Median :  8504   Median : 3627  
 Mean   : 12000   Mean   : 5796  
 3rd Qu.: 16934   3rd Qu.: 7190  
 Max.   :112151   Max.   :73498  

Plot

Here is the final plot

Plot Summary

The chart presents a comparison of annual spending on fresh goods and milk across three regions: Lisbon, Oporto, and Other, differentiated by colors—blue, red, and green. The plot suggests that spending in Lisbon and Oporto varies widely, with some points indicating higher spending on both fresh goods and milk. The “Other” region seems to have more consistent spending, with many data points clustering around the lower to middle spending range for both categories. There are outliers in the “Other” region with high spending on fresh goods, which are not as pronounced in milk spending. The plot does not show a clear correlation between spending on fresh goods and milk in any of the regions, indicating that other factors may influence spending patterns. This could suggest a diversity of consumer behavior or economic conditions within each region. The chart implies that consumer preferences and spending power are variable across regions, with each region exhibiting unique purchasing patterns.