G3-Quera-Data-Analysis-Bootcamp-1402 / transfermarkt

0 stars 0 forks source link

KPIs #13

Open BabakHeidari opened 1 year ago

BabakHeidari commented 1 year ago

The initial KPIs for player qualifications are as below:

KPI:

KPIs are defined per match for each player.

GK (GoalKeeper):

GK_performance = (saved_shots/ shots_on_target) + (0.27 if clean_sheet=True, else 0) + (-0.32 if own_goals=True, else 0) + 0.43*(penalty_saved/(penalty_saved+penalty_missed))

2. Defenders:

cards, own_goals, shots_on_own_target, free_kicks, offsides, corners

Defender = -0.34yellow_card - 0.72second_yellow_card - 0.75red_card - free_kicks_opponents/mean(free_kicks for the matchday) - goals_recived + offsides_opponent/mean(offsides for the matchday) - shots_own_target/mean(total_shots for the matchday) + 0.75goals + 0.72*assists + (-0.32 if own_goals=True, else 0)

this can be added: (+x if player_team_win = True, else (2x/3 if draw = True, else -x): note that it illustrates the dependency of defence on the match result but is also a function of the other terms above.

3. Midfielders:

Midfielder = assists + goals + 0.6corners + (0 if yellow_cards == 0, else ( -0.32 if yellow_cards == 1, else 0.72) - 0.8goals_recieved + 0.8goal_scored - 0.6free_kicks_opponents/mean(free_kicks for the matchday) + 0.8free_kicks_own_team/mean(free_kicks for the matchday) - 0.8offsides_own_team/mean(offsides for the matchday) + 0.4shots_own_target/mean(total_shots for the matchday) + 0.6shots_on_opponent_target/mean(total_shots for the matchday) + (-1 if own_goals == True, else 0)

4. Forwards:

Forward = assists + goals + 0.9corners + (0 if yellow_cards == 0, else ( -0.25 if yellow_cards == 1, else 0.6) - 0.1goals_recieved + goal_scored + free_kicks_own_team/mean(free_kicks for the matchday) - 0.6*offsides_own_team/mean(offsides for the matchday) + shots_on_opponent_target/mean(total_shots for the matchday) + (-1 if own_goals == True, else 0)

MA(MV, season): Moving Average

Max(MV, groupby(position), season)

Note: Every KPI should be normalized after all entries are calculated.

MirbahaMoein commented 1 year ago

Good 👍