Lab3DV

Andy Koerner

Summary Statistics for Data

Here is summary of Penalties:
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
  19.00   42.00   53.00   52.88   65.00   82.00 
Here is summary of Wages:
   Min. 1st Qu.  Median    Mean 3rd Qu.    Max. 
      9      26     120     152     240     420 
Table for Preferred Foot:

       Left Right 
    0     6    27 

First 10 and Last 10 Players

The first 10
           Name Age Nationality Overall Potential        Club Value Wage
7      L. Modri  32     Croatia      91        91 Real Madrid    67  420
9  Sergio Ramos  32       Spain      91        91 Real Madrid    51  380
12     T. Kroos  28     Germany      90        90 Real Madrid  76.5  355
20  T. Courtois  26     Belgium      89        90 Real Madrid  53.5  240
28     Casemiro  26      Brazil      88        90 Real Madrid  59.5  285
31         Isco  26       Spain      88        91 Real Madrid  73.5  315
   Special Preferred.Foot International.Reputation Weak.Foot Skill.Moves
7     2280          Right                        4         4           4
9     2201          Right                        4         3           3
12    2190          Right                        4         5           3
20    1311           Left                        4         2           1
28    2170          Right                        3         3           2
31    2137          Right                        3         3           4
        Work.Rate Position Jersey.Number Contract.Valid.Until Height   Weight
7      High/ High      RCM            10                 2020 172.72 66.22449
9    High/ Medium      RCB            15                 2020 182.88 82.10022
12 Medium/ Medium      LCM             8                 2022 182.88 76.20352
20 Medium/ Medium       GK             1                 2024 198.12 96.16158
28   Medium/ High      CDM            14                 2021 185.42 83.91459
31   High/ Medium       LW            22                 2022 175.26 78.92507
     LS   ST   RS   LW   LF   CF   RF   RW  LAM  CAM  RAM   LM  LCM   CM  RCM
7  77+3 77+3 77+3 85+3 84+3 84+3 84+3 85+3 87+3 87+3 87+3 86+3 88+3 88+3 88+3
9  73+3 73+3 73+3 70+3 71+3 71+3 71+3 70+3 71+3 71+3 71+3 72+3 75+3 75+3 75+3
12 78+3 78+3 78+3 81+3 82+3 82+3 82+3 81+3 84+3 84+3 84+3 82+3 86+3 86+3 86+3
20                                                                           
28 72+3 72+3 72+3 69+3 73+3 73+3 73+3 69+3 74+3 74+3 74+3 71+3 80+3 80+3 80+3
31 76+3 76+3 76+3 84+3 83+3 83+3 83+3 84+3 86+3 86+3 86+3 83+3 83+3 83+3 83+3
     RM  LWB  LDM  CDM  RDM  RWB   LB  LCB   CB  RCB   RB Crossing Finishing
7  86+3 82+3 81+3 81+3 81+3 82+3 79+3 71+3 71+3 71+3 79+3       86        72
9  72+3 81+3 84+3 84+3 84+3 81+3 84+3 87+3 87+3 87+3 84+3       66        60
12 82+3 79+3 82+3 82+3 82+3 79+3 77+3 72+3 72+3 72+3 77+3       88        76
20                                                              14        14
28 71+3 78+3 85+3 85+3 85+3 78+3 79+3 85+3 85+3 85+3 79+3       52        59
31 83+3 72+3 73+3 73+3 73+3 72+3 68+3 63+3 63+3 63+3 68+3       75        79
   HeadingAccuracy ShortPassing Volleys Dribbling Curve FKAccuracy LongPassing
7               55           93      76        90    85         78          88
9               91           78      66        63    74         72          77
12              54           92      82        81    86         84          93
20              13           33      12        13    19         20          35
28              76           85      53        69    59         74          82
31              55           89      65        94    88         76          83
   BallControl Acceleration SprintSpeed Agility Reactions Balance ShotPower
7           93           80          72      93        90      94        79
9           84           76          75      78        85      66        79
12          90           64          62      70        89      71        87
20          23           46          52      61        84      45        36
28          78           59          65      62        84      66        86
31          95           75          69      87        77      90        69
   Jumping Stamina Strength LongShots Aggression Interceptions Positioning
7       68      89       58        82         62            83          79
9       93      84       83        59         88            90          60
12      30      75       73        92         60            82          79
20      68      38       70        17         23            15          13
28      88      87       89        79         87            87          69
31      64      70       59        87         58            64          78
   Vision Penalties Composure Marking StandingTackle SlidingTackle GKDiving
7      92        82        84      60             76            73       13
9      63        75        82      87             92            91       11
12     86        73        85      72             79            69       10
20     44        27        66      20             18            16       85
28     77        66        84      88             90            87       13
31     89        76        86      60             64            51       10
   GKHandling GKKicking GKPositioning GKReflexes Release.Clause
7           9         7            14          9          137.4
9           8         9             7         11          104.6
12         11        13             7         10          156.8
20         91        72            86         88          113.7
28         14        16            12         12          126.4
31          8        12            15          6          156.2
The last 10
               Name Age Nationality Overall Potential        Club Value Wage
10270       Fidalgo  21       Spain      65        75 Real Madrid   875   20
11164   Sergio Lpez  19       Spain      64        80 Real Madrid   875    9
11328    Fran Garca  18       Spain      64        79 Real Madrid   825    9
11878 Manu Hernando  19       Spain      64        76 Real Madrid   700    9
12505     Dani Gmez  19       Spain      63        77 Real Madrid   800   12
13688     L. Zidane  20      France      62        71 Real Madrid   350    9
      Special Preferred.Foot International.Reputation Weak.Foot Skill.Moves
10270    1673          Right                        1         3           3
11164    1715          Right                        1         3           3
11328    1644           Left                        1         3           2
11878    1568          Right                        1         3           2
12505    1448          Right                        1         3           2
13688     944          Right                        1         3           1
           Work.Rate Position Jersey.Number Contract.Valid.Until Height
10270   High/ Medium       CM            36                 2019 175.26
11164   High/ Medium       RB            32                 2019 177.80
11328   High/ Medium       LB            37                 2019 170.18
11878 Medium/ Medium       CB            33                 2021 180.34
12505 Medium/ Medium       ST            38                 2022 177.80
13688 Medium/ Medium       GK            30                 2019 182.88
        Weight   LS   ST   RS   LW   LF   CF   RF   RW  LAM  CAM  RAM   LM  LCM
10270 68.03886 57+2 57+2 57+2 63+2 62+2 62+2 62+2 63+2 64+2 64+2 64+2 64+2 64+2
11164 66.22449 58+2 58+2 58+2 61+2 59+2 59+2 59+2 61+2 59+2 59+2 59+2 61+2 58+2
11328 63.04934 53+2 53+2 53+2 60+2 57+2 57+2 57+2 60+2 57+2 57+2 57+2 61+2 57+2
11878 77.11070 51+2 51+2 51+2 52+2 52+2 52+2 52+2 52+2 52+2 52+2 52+2 54+2 54+2
12505 69.85322 61+2 61+2 61+2 57+2 59+2 59+2 59+2 57+2 57+2 57+2 57+2 55+2 48+2
13688 77.11070                                                                 
        CM  RCM   RM  LWB  LDM  CDM  RDM  RWB   LB  LCB   CB  RCB   RB Crossing
10270 64+2 64+2 64+2 58+2 59+2 59+2 59+2 58+2 56+2 52+2 52+2 52+2 56+2       61
11164 58+2 58+2 61+2 63+2 59+2 59+2 59+2 63+2 63+2 59+2 59+2 59+2 63+2       63
11328 57+2 57+2 61+2 63+2 58+2 58+2 58+2 63+2 62+2 57+2 57+2 57+2 62+2       65
11878 54+2 54+2 54+2 60+2 60+2 60+2 60+2 60+2 61+2 63+2 63+2 63+2 61+2       44
12505 48+2 48+2 55+2 39+2 38+2 38+2 38+2 39+2 38+2 36+2 36+2 36+2 38+2       32
13688                                                                        12
      Finishing HeadingAccuracy ShortPassing Volleys Dribbling Curve FKAccuracy
10270        49              44           69      46        68    62         53
11164        52              56           61      48        64    57         41
11328        42              44           57      39        62    55         36
11878        32              68           62      29        56    44         39
12505        67              58           54      54        60    41         45
13688         8              12           22       6        10    14         11
      LongPassing BallControl Acceleration SprintSpeed Agility Reactions
10270          65          70           65          63      68        62
11164          56          63           78          79      69        63
11328          49          65           79          79      68        62
11878          53          64           61          63      61        59
12505          35          66           66          65      70        56
13688          15          14           33          32      36        54
      Balance ShotPower Jumping Stamina Strength LongShots Aggression
10270      77        54      51      64       49        48         62
11164      72        63      61      61       51        59         62
11328      89        47      60      66       44        45         63
11878      64        47      59      66       62        45         58
12505      65        59      62      51       70        52         28
13688      49        15      63      38       50         5         16
      Interceptions Positioning Vision Penalties Composure Marking
10270            52          59     70        49        68      46
11164            60          50     46        43        62      59
11328            62          49     54        39        60      60
11878            55          43     37        42        47      70
12505            12          61     42        57        44      41
13688            14           5     45        19        36      13
      StandingTackle SlidingTackle GKDiving GKHandling GKKicking GKPositioning
10270             51            47       10          9        10            11
11164             61            62       12         12        11             7
11328             58            59        9          6        12             9
11878             65            67       11         12        13            12
12505             12            15        7         10        13             8
13688             11            13       65         60        61            62
      GKReflexes Release.Clause
10270          9              2
11164         13            2.3
11328         11            2.2
11878          5            1.6
12505         14            2.1
13688         61            788

Running Code for Chart

Peer Feedback

I decided, after the feedback from the first submission, to add a size element to the chart with another factor, and then I chose the Volleys factor. After putting it into the chart I relized the most volleys seem to happen with more penalties and a little more wages, but mostly penalties. I did two other changes. Next I made sure I had the correct source in my chart since mine was different then theirs. Turns out, theirs was correct and I changed mine. Lastly I added the first 10 and last 10 of the players to account for all the instructions.

Results

Results: This chart shows the relationship between Penalties and Wages with the preferred foot as a color. The relationship is mostly positive, and most of them prefer the right foot to kick. Still, some low wages still get lots of penalties sometimes, but higher wages do tend to get more penalties. If I were to add anything later, I would add a line to show the movement of the dots useing geom.smooth() .