United and xG (now that Ole is gone will things change?)

Paul_Scholes18

Full Member
Joined
Sep 13, 2014
Messages
13,891
I am not ignoring any context. I said our not so great performance was understandable...what I left unsaid and that was obvious I thought was due to our injuries and the fact we were away. And I also said we were clever to go with the strategy we did. None of that changes the fact our performance wasn't great. Which I don't care cuz we were not looking for a performance, we were looking for a result.
I think up to our second goal they totally dominated us really even if they gifted us a goal. Although after that goal we only needed one goal and it really changed things. We didn't create much, but got much better control and you got the feeling we could maybe get the win.
We did show character and never gave up. In terms of playing good football we didn't do much of that.
 

Scholsey2004

Full Member
Joined
May 12, 2016
Messages
3,600
Xg is like some kind of weird cult. When it doesn't add up the teams who don't comply get blamed rather than the actual system. Its like going to the shop with 30p in your pocket, asking the price of a bottle of milk, finding out its too much and telling the counter staff 'wrong, it should have been 30p'.
 

arnie_ni

Full Member
Joined
Apr 27, 2014
Messages
15,206
The xG for it would be number_of_goals_scored_from_that_postion / number_of_shots_attempted_from_that_position, so likely an attempt from there it would have a very low xG.

The xG concept it is actually very simple. It takes like 2 mins to understand it.
What if hardly anyone attempts it because its so unlikely so that the xG actually becomes higher than expected?
thats my point. One shot from position x goes in, even if its an impossible goal, if someone else ever shoots from that same position, does the stat expect them to score?
 

Suedesi

Full Member
Joined
Aug 3, 2001
Messages
23,877
Location
New York City
Interestingly, we had a higher xG in Paris - though most pundits would say that we got played off the park.










Below is the xG for both legs which seems to suggest that the 3-3 aggregate score was in line (assuming PK is 0.75 xG we are trailing PSG by less than half a goal)

 

Pagh Wraith

Full Member
Joined
May 2, 2011
Messages
4,361
Location
Germany
Yeah, most likely, but if it's purely goals from position/shots from position it'd stand to reason that nobody would attempt that kind of shot unless the keeper is way out of position and the shot is on. But in reality, yeah it'd probably be assigned the minimum value (which is probably still higher than the possibility of any given shot going in from that position).
The xG value is not assigned by looking up the area of the pitch from which the shot was taken in a database of historical shots. That data is only used to derive a formula through logistic regression. Here are some example formulas: http://crabstats.blogspot.com/2017/08/my-xg-models.html

There are more sophisticated ones that include the exact distance to goal in metres. The formula I use gives me an xG of 0.000998 for a shot from 50 metres out under no defensive pressure with only the goalkeeper to beat. No idea how close that number is to reality but that happens so infrequently anyway that I doubt it has any significant effect.
 

Anustart89

Full Member
Joined
Jun 6, 2013
Messages
15,955
The xG value is not assigned by looking up the area of the pitch from which the shot was taken in a database of historical shots. That data is only used to derive a formula through logistic regression. Here are some example formulas: http://crabstats.blogspot.com/2017/08/my-xg-models.html

There are more sophisticated ones that include the exact distance to goal in metres. The formula I use gives me an xG of 0.000998 for a shot from 50 metres out under no defensive pressure with only the goalkeeper to beat. No idea how close that number is to reality but that happens so infrequently anyway that I doubt it has any significant effect.
But when calculating the xG in any given game, isn't there some minimum value that all shots below that threshold get in order to minimise the amount of decimals? For example, if the minimum is 0.02xG, even a shot like this that has 0.001 "real" xG would get 0.02xG on the scoreboard, thereby artificially inflating the score?

I'm just wondering out of curiosity, I realise that it's not relevant in the real world since you'd have to take 50 of these to get 1xG in total (in my example), but just curious about the ballpark figure of the minimum xG that a shot can have when tallied up.
 

Pagh Wraith

Full Member
Joined
May 2, 2011
Messages
4,361
Location
Germany
But when calculating the xG in any given game, isn't there some minimum value that all shots below that threshold get in order to minimise the amount of decimals? For example, if the minimum is 0.02xG, even a shot like this that has 0.001 "real" xG would get 0.02xG on the scoreboard, thereby artificially inflating the score?
Don't think so but they might round to the nearest hundredth.

Here's the shot map for Cardiff v West Ham from yesterday: https://understat.com/match/9495

If you hover over the dots on the pitch you'll see some 0.01 xG attempts at least.
 

Anustart89

Full Member
Joined
Jun 6, 2013
Messages
15,955
Don't think so but they might round to the nearest hundredth.

Here's the shot map for Cardiff v West Ham from yesterday: https://understat.com/match/9495

If you hover over the dots on the pitch you'll see some 0.01 xG attempts.
Ah, but you'd think that rounding to xG=0.00 wouldn't be possible since any shot has a (possibly microscopic) chance to go in, so that makes 0.01 the minimum I suppose? Thanks for the link.
 

Revan

Assumptionman
Joined
Dec 19, 2011
Messages
49,635
Location
London
The xG value is not assigned by looking up the area of the pitch from which the shot was taken in a database of historical shots. That data is only used to derive a formula through logistic regression. Here are some example formulas: http://crabstats.blogspot.com/2017/08/my-xg-models.html

There are more sophisticated ones that include the exact distance to goal in metres. The formula I use gives me an xG of 0.000998 for a shot from 50 metres out under no defensive pressure with only the goalkeeper to beat. No idea how close that number is to reality but that happens so infrequently anyway that I doubt it has any significant effect.
I wonder why it is logistic regression in the end. It is a very simple classifier, but one of the worst performing one. I guess that they want some tradeoff between accuracy and simplicity/interpretability. At the same time, just changing the classifier to xgboost/random forests probably will give a slight increase in accuracy (though you need to calibrate them in order to get probabilities).
But when calculating the xG in any given game, isn't there some minimum value that all shots below that threshold get in order to minimise the amount of decimals? For example, if the minimum is 0.02xG, even a shot like this that has 0.001 "real" xG would get 0.02xG on the scoreboard, thereby artificially inflating the score?

I'm just wondering out of curiosity, I realise that it's not relevant in the real world since you'd have to take 50 of these to get 1xG in total (in my example), but just curious about the ballpark figure of the minimum xG that a shot can have when tallied up.
I think that some models have a minimal 0.1xG (or was it 0.01xG?) which means that any shot gets at least 0.1xG. In which case a shot from the middle of the pitch despite having 1/1000 chance of being a goal, gets a 0.1xG. Which might explain why some team might have a close to 1 of so xG in matches when they didn't have a clear cut chance.
 

bosnian_red

Worst scout to ever exist
Joined
Aug 13, 2011
Messages
58,059
Location
Canada
First half today:

Arsenal 0.5 - 1.7 United

Though I'd still say theyve been better in terms of their intensity. We have had our chances but generally have been a bit off.
 

JB08

Searches for nude pics of Marcos Rojo
Joined
Mar 16, 2013
Messages
8,418
This game alone makes this thread seem absolutely pointless, as if it didn't already.
 

Leftback99

Might have a bedwetting fetish.
Joined
Jan 11, 2015
Messages
14,424
This game alone makes this thread seem absolutely pointless, as if it didn't already.
Doesn't it actually do the opposite? Most will say we should have won with the chances we had and 'xg' will back it up, giving it some sort of credibility.
 

JB08

Searches for nude pics of Marcos Rojo
Joined
Mar 16, 2013
Messages
8,418
Doesn't it actually do the opposite? Most will say we should have won with the chances we had and 'xg' will back it up, giving it some sort of credibility.
I read it as saying our 'luck' (form) will run out due to us having a low xG. But today we had a high xG and lost 2-0.
 

Cheesy

Bread with dipping sauce
Scout
Joined
Oct 16, 2011
Messages
36,181
Yeah it shows that people put too much stock in xG. It's a stat like any other. Useful in some ways, but it doesnt show which side has been better.
I get the impression it's probably more useful as a stat when you have a larger sample - with individual players or teams you're going to have a lot of fluctuations due to the unpredictable nature of football games in general, but if you take a collection teams you'll maybe end up being nearer the mean, if that sort of makes sense. So it's probably useful to consider, and can sometimes highlight teams who're not doing as well as they should be or vice versa, but it's not necessarily something to be obsessed over either.
 

Skills

Snitch
Joined
Jan 17, 2012
Messages
42,100
Hey, at least we won the xG today!

Are we really going to use this game to mock xG? The one where we missed sitters and most of us feel like we had created enough to get a goal or two?
 

Spiersey

Full Member
Joined
Feb 15, 2012
Messages
7,386
Location
United Kingdom.
Supports
Chelsea
I read it as saying our 'luck' (form) will run out due to us having a low xG. But today we had a high xG and lost 2-0.
Your luck did run out in theory though. You've relied on converting a high % of chances and the opposition failing to convert and today the opposite happened and you lost.
 

TMDaines

Fun sponge.
Joined
Sep 1, 2014
Messages
14,000
Are we really going to use this game to mock xG? The one where we missed sitters and most of us feel like we had created enough to get a goal or two?
Bizarre, isn’t? Luddites and Brexit campaigning all over again.
 

Chesterlestreet

Man of the crowd
Joined
Oct 19, 2012
Messages
19,530
Your luck did run out in theory though. You've relied on converting a high % of chances and the opposition failing to convert and today the opposite happened and you lost.
Yes - but the angle people have been going with lately is that we aren't "dominant" enough, and that we don't create enough on the whole, i.e. that we've been efficient in capitalizing on too few chances, relatively speaking, to a degree that isn't "sustainable" (buzzword of the past few weeks).

What happened today isn't in line with that. We created plenty (partly resulting from quite decent attacking moves) - and we had more possession than Arsenal too.

What happened is in line with common sense (rub of the green has to stop at some point) - but not really in line with what some predicted would happen (not in this match, specifically, but sooner or later) based on xG.

As for the match in isolation, there certainly isn't any reason to mock xG. It reflects what we all saw fairly well, I should say.
 

chromepaxos

Full Member
Joined
Jul 29, 2015
Messages
192
What's amazing in this thread is the number of people who take comfort in their own ignorance.

It's as if rejecting new ideas and knowledge makes them feel safer. And then they criticise the scary magic because that makes them feel big and manly.

It's fkn weird. I feel sorry for them. It must be awful being so scared of new things.
 

Revan

Assumptionman
Joined
Dec 19, 2011
Messages
49,635
Location
London
Checking the xG of a match and drawing conclusions is as intelligent as throwing a coin, getting tails and deciding that the coin is biased toward tails.

In other words, not that intelligent.
 

Paul_Scholes18

Full Member
Joined
Sep 13, 2014
Messages
13,891
Checking the xG of a match and drawing conclusions is as intelligent as throwing a coin, getting tails and deciding that the coin is biased toward tails.

In other words, not that intelligent.
It can tell you about the amount/quality of chances a team gets. In a way better than just looking at the number of shoots a team has.

Although the judgement of the quality of a chance can often differ from reality as it depends on who gets the chance and more advanced context. Give Aguero lots of headers near goal and I still don't expect him to score. Outside the box though with his right foot and I would be more scared.

I think if you want to just know which teams dominate a game though then shoots and possesion might tell you more.
 

TMDaines

Fun sponge.
Joined
Sep 1, 2014
Messages
14,000
If it makes people feel more comfortable, United now lead Arsenal and Spurs on expected points this season, according to Understat. Arsenal are scoring a fair bit more than expected based on chances - and a good illustration of that is yesterday.
 

GBBQ

Full Member
Joined
Jun 5, 2012
Messages
4,808
Location
Ireland
I will never understand how an expected goal is calculated, so much finer details that aren't taken into account i.e. body positions, form, fatigue, injury etc.
I mean if you took all those things into account then the xG would be exactly whats on the scoreboard.
 

TMDaines

Fun sponge.
Joined
Sep 1, 2014
Messages
14,000
Again, to reiterate, Solskjaer has improved Utd, but arguably only to a level that matches their undeniable talent, so in the mix behind Liverpool and Manchester City for the top four. Whether he can take the job on and move them up to the next level–to challenge for the title–is a key point. The gap to bridge is enormous, and will be for anyone. Man Utd still hold many of the same problems they did under Jose Mourinho, yet harbour ambitions of the highest realm. Aspects of the squad are aging and the defence appears to need remedial work, in truth it has done for years. That improvement will be a challenge and with Liverpool and City well bedded in to long term projects, it doesn’t feel like they will be careering back to the pack any time soon.
Broadly speaking, I agree with this. This can’t be the peak. Ole needs to keep improving us and I hope he does.
 

DenResched

New Member
Newbie
Joined
Mar 3, 2019
Messages
43
Location
Indonesia
This is why :

United have hit the target with 48.6% of their shots so far this season.

That’s the highest shot accuracy of any set of players in Europe’s five biggest leagues - the top flights of England, France, Germany, Italy and Spain - according to a report by the CIES Football Observatory.

Club // Shot accuracy

Manchester United // 48.6%
Barcelona // 48.3%
Borussia Dortmund // 46.3%
Girona // 45.8%
Liverpool // 45.6%
Hertha Berlin // 45.1%
PSG // 45.0%

from MEN article https://t.co/3vVdMaKYq7
 

DenResched

New Member
Newbie
Joined
Mar 3, 2019
Messages
43
Location
Indonesia
Broadly speaking, I agree with this. This can’t be the peak. Ole needs to keep improving us and I hope he does.
agree.

current xG is not bad actually since we're getting better from the previous regime only in 11 weeks.

For fans and outsider xG can be dangerous, make us prone to over-analyse. But I really hope it'll be use internally, combine with daily training stats. No one knows what happened in Carrington right? So just stop over-analyse things :angel:
 

Revan

Assumptionman
Joined
Dec 19, 2011
Messages
49,635
Location
London
Does anyone has average xG under ole compared to average xG under Mourinho this season, and average xG under him last season? Add to that Liverpool's and City's xG for the season.

It would probably be the best indicator on how much we have improved and how do we stand compared to last season. We are winning Ole's table, but I still think that City and Liverpool are better and wouldn't be surprised if xG gives that conclusion too.
 

Skills

Snitch
Joined
Jan 17, 2012
Messages
42,100
Does anyone has average xG under ole compared to average xG under Mourinho this season, and average xG under him last season? Add to that Liverpool's and City's xG for the season.

It would probably be the best indicator on how much we have improved and how do we stand compared to last season. We are winning Ole's table, but I still think that City and Liverpool are better and wouldn't be surprised if xG gives that conclusion too.
Mourinho this season is going to be a bit skewed. So often we were down a goal in 10 minutes, what we had to spend the entire game throwing the kitchen sink at the opposition to try and get anything.
 

Paul_Scholes18

Full Member
Joined
Sep 13, 2014
Messages
13,891
Does anyone has average xG under ole compared to average xG under Mourinho this season, and average xG under him last season? Add to that Liverpool's and City's xG for the season.

It would probably be the best indicator on how much we have improved and how do we stand compared to last season. We are winning Ole's table, but I still think that City and Liverpool are better and wouldn't be surprised if xG gives that conclusion too.
I think we can perform at the same level as Liverpool though. Probably need a bit more quality on our right hand side. Lingard and Martial is not as good as Mane and Salah.

City are clearly the best side in the league. Although by getting momentum we could still beat them over a season with Ole. Optimism can help even if we got a weaker side.
 

ravelston

Full Member
Joined
Aug 15, 2010
Messages
2,624
Location
Boston - the one in the States
The xG value is not assigned by looking up the area of the pitch from which the shot was taken in a database of historical shots. That data is only used to derive a formula through logistic regression. Here are some example formulas: http://crabstats.blogspot.com/2017/08/my-xg-models.html

There are more sophisticated ones that include the exact distance to goal in metres. The formula I use gives me an xG of 0.000998 for a shot from 50 metres out under no defensive pressure with only the goalkeeper to beat. No idea how close that number is to reality but that happens so infrequently anyway that I doubt it has any significant effect.
Had a look at your model. Can you give me an idea of how it performs vs actual outcomes using a hold out sample. (I'm assuming you can do this fairly easily - and probably already have - given that you have two distinct datasets.)
 

Revan

Assumptionman
Joined
Dec 19, 2011
Messages
49,635
Location
London
Maybe just maybe, xG isn't an idiotic thing to look on, and if it is screaming that a team is overperforming and is lucky, it means that soon also the drop in results will follow.

Who would have thought it?