In soccer, corners are negatively correlated with scoring. This is because:
1) a shot resulting in a corner means it DOESN'T result in a goal
2) teams that are behind produces a much higher amount of corners due to desperate attacking
This is puzzling to me, since a team producing a lot of corners, by definition, are producing a lot of scoring chances. A team that has produced many corners in the past, should produce more goals in the future.
So I wanted to test if PAST corners are positively correlated with FUTURE goals. What's the best way to do this? Will I need to add a new variable for each game, containing "corner average in every game but the current one" and then run a regression on that?
Are there better ways? And if not, is there a relatively simple way to extract that variable in excel? All I could come up with was a fuckton of nested IF-functions going by date etc. Being less than expert at excel, It gave me a headache.
1) a shot resulting in a corner means it DOESN'T result in a goal
2) teams that are behind produces a much higher amount of corners due to desperate attacking
This is puzzling to me, since a team producing a lot of corners, by definition, are producing a lot of scoring chances. A team that has produced many corners in the past, should produce more goals in the future.
So I wanted to test if PAST corners are positively correlated with FUTURE goals. What's the best way to do this? Will I need to add a new variable for each game, containing "corner average in every game but the current one" and then run a regression on that?
Are there better ways? And if not, is there a relatively simple way to extract that variable in excel? All I could come up with was a fuckton of nested IF-functions going by date etc. Being less than expert at excel, It gave me a headache.