[CDAF] Atividade 2¶
Name¶
Name: XXXXXXXXXXXXXXXX
References¶
- [1] https://fbref.com/en/comps/24/2022/schedule/2022-Serie-A-Scores-and-Fixtures
- [2] https://fbref.com/en/comps/24/2022/stats/2022-Serie-A-Stats
- [3] https://soccermatics.readthedocs.io/en/latest/lesson3/ScoutingPlayers.html
- [4] https://soccermatics.readthedocs.io/en/latest/gallery/lesson3/plot_RadarPlot.html
Introduction¶
In this activity, we will review the concepts learned in the classroom about aggregated statistics. For this activity, we will use data from the 2022 Brasileirão from FBRef.
Question 1¶
- Download the results dataset at [1].
- Create a 5-game moving average, for each team, of each of the following statistics: xG for, xG against, and xG difference.
- Choose 4 teams to view the time series of the above statistics. One visualization for each of the statistics, where the overall average of the championship is presented with a dashed line together with the moving average of the chosen teams.
- Interpret the results. What might this indicate about the offensive and defensive quality of the chosen teams?
In [ ]:
Question 2¶
- Now repeat question 1, plotting the time series of the same teams, but for a moving window of 10 games.
- What are the differences between the time series of 5 and 10 games? In what situations could it be advantageous to choose one window over the other?
In [ ]:
Question 3¶
- Go to the link in [2]
- In this statistics section, you can navigate through specific statistics for different aspects of the game (shooting, passing, defense, etc.). For all exercises from this point on, you will need to select those that you deem most relevant to answer the questions.
- Create a radar plot [3][4] with 6 relevant attributes for attackers and compare 3 players of your choice. Justify the choice of each of the attributes, the choice of the scale of the radars, and the type of normalization. Interpret the results of the radars in terms of the qualities and limitations of the players.
In [ ]:
Question 4¶
- Do the same as in question 3, but for midfielders.
In [ ]:
Question 5¶
- Do the same as in question 3, but for defenders.
In [ ]:
Question 6¶
- Discuss the differences between the radars of questions 3, 4, and 5. What are the main differences between the relevant attributes for each position? What are the main similarities? Did the subjective impression you had of the players prove to be true from the radars? If not, why? Which positions were more difficult to evaluate by statistics?