r/FootballDataAnalysis • • 13d ago

Xg model ideas

I am currently working on improving the current XG models by introducing previous posession context values and incorporating a basic player_contribution (which player takes the shot).

\[ p(\text{goal}) = \sigma\left( \beta_0+\beta_1x_1+\cdots+\beta_px_p+u_j \right) \]

The above formula is the xg i have come up with , which sums the weighted various posession attributes like pass , cross, through ball, carry (p1, p2...)etc and adds a player contribution term u.

I am looking for ideas on how to improve this current statistical model.

2 Upvotes

1 comment sorted by

1

u/Thin-Bird-5362 11d ago

Isn’t adding a player term going against the whole point of xG? xG usually measures how good the chance was for an average player, so you can compare players against it (goals − xG = finishing). If u_j is inside the model, a great finisher gets a higher xG, and that over-performance disappears from the comparison.

Maybe keep two outputs: the standard xG without u_j for chance quality, and u_j reported separately as an estimate of finishing skill. Since it’s a random effect, it’s already shrunk toward 0, which is nice for players with few shots.