Skip to content

calculations.matches_9_expected_goals

Combines the team-strength multipliers with the relevant league averages to produce an expected goals figure per side and a total. These feed every probability and strategy calculation downstream.

flowchart LR
m8[/matches_8_team_strength/] --> me[/calculations.matches_9_expected_goals/]
me --> m10[/matches_10_overperformance/]
me --> m12[/matches_12_prob_win/]
me --> m13[/matches_13_prob_goal_diff/]
me --> m14[/matches_14_prob_goals_total/]
me --> mart[/mart.matches/]
click m8 "/calculations/matches_8_team_strength/" "Open"
click m10 "/calculations/matches_10_overperformance/" "Open"
click m12 "/calculations/matches_12_prob_win/" "Open"
click m13 "/calculations/matches_13_prob_goal_diff/" "Open"
click m14 "/calculations/matches_14_prob_goals_total/" "Open"
click mart "/mart/matches/" "Open"
ColumnDescriptionFormula
* (matches_8_team_strength)All upstream columns.passthrough
stats_goals_expected_homeExpected home goals.round(stats_attack_home * stats_defense_away * stats_goals_league_avg_home, 2)
stats_goals_expected_awayExpected away goals.round(stats_defense_home * stats_attack_away * stats_goals_league_avg_away, 2)
stats_goals_expected_totalExpected total goals.round(stats_goals_expected_home + stats_goals_expected_away, 2)