Why injuries and substitutions affect the outcome of football matches