Curious about what we're currently doing about bots? Check out the latest updates from staff in this thread.
Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
This is a continuation of this thread. There, I tried to measure the centralisation of a metagame using just two numbers. This was overly simplistic, unfortunately, and, while that formula produced pretty adequate numbers, it wasn't good enough (see my penultimate post in that thread and the post before it to see why).
One of the problems was that I didn't take the number of legal Pokemon in a particular metagame into account. This is actually very important. If a metagame has 100 Pokemon and each were used, say, 1000 times, that metagame has zero centralisation. However, if another metagame has 100 Pokemon where 10 of them were used 10000 times and the other 90 weren't used at all, that metagame is much more centralised. This very simple thing is something that the previous formula didn't address at all, which is something that kind of makes me ashamed when I think about it... :|
Anyway, back to the new formula. As I said before, if all Pokemon were used equally, then the centralisation would be zero. Thus, suppose the total number of usages is U and the number of Pokemon in a metagame is P. For a completely uncentralised metagame, each of the P Pokemon would be expected to be used U/P times.
Of course, in reality, there would be Pokemon that would be used more than U/P times and others that would be used less than U/P times, and this would give us an element of centralisation depending on how far the deviation from the U/P is for each Pokemon. So I defined the centralisation of a metagame to be this deviation.
So basically, the centralisation of a metagame is almost the same as the standard deviation of all usages, except that, instead of finding the deviation from the mean of the usages, we find the deviation from the number U/P. Rearranging this equation to simplify it and multiplying it by 100 to get a more manageable number, we get:
Code:
Central = 100 x sqrt(Sum_i(((U_i/U) - (1/P))^2))
where U_i is the usage of Pokemon i
U is the sum of all usages
P is the number of Pokemon in the metagame
Using this formula, here are the centralisation numbers for all metagames from July to November:
Code:
Ladder Months
Jul Aug Sep Oct Nov
------------------------------------------
Standard 13.0 12.6 11.7 12.4 11.9
UU 12.2 11.2 10.7 11.4 12.4
Uber 21.3 19.9 19.7 20.3 20.2
Suspect -- 13.2 13.4 15.5 --
CAP -- -- 12.3 -- 15.4
Little Cup -- -- 17.9 -- 16.4
These numbers are quite close to the ones on the other thread.
Tell me, does this formula count ALL legal Pokemon, even NFEs? It seems to me it would make sense to discount those NFEs (and perhaps some UUs) that are truly Never Used, as they only serve to dilute the pool.
Or maybe that's just me. Clearly a 100% decentralized metagame is not possible or even anywhere near probable. A better measure of centralization might be calculated by figuing out, of some predetermined number of "viable" Pokemon, how many uses each one gets.
It depends on whether the NFEs are legal in that metagame or not. In UU, the NFEs aren't legal (so far), so they weren't taken into account. In the other metagames, they were legal, so they were taken into account.
A 100% decentralised metagame is obviously not possible, but from these numbers, it is obvious that OU is much more centralised than Ubers even though they have almost the same amount of legal Pokemon.
Also the formula in the other thread can be used as a quick, rough way of measuring centralisation, I guess.
Dam I wrote a massive thing detailing what I was trying to say and hit the "back" button by accident and it went...
But yea here again...
This is probably wrong but:
If you added a large number of useless and therefore virtually never used Pokemon to OU, would this formula give a much higher centralization figure, even if for the players the two metagames (OU and OU+useless pokemon) would seem almost exactly the same.
This may seem like an extreme example but when comparing OU and UU you see that in OU there is more levels of power below the top tier Pokemon. So the bottom of the barrel Pokemon from UU become nonviable, which is very similar to the situation outlined above. Basically even if OU and UU had the same number of OUs, the same "usage gradient" for a the most part (not at the lower end), and for the average player seemed equally centralized this formula would show OU as more centralized because less % of the legal Pokemon would be used.
This may be what you are aiming for but... IMO a better way would be to "chop off" the Pokemon below a certain % usage. This means that adding many useless Pokemon that do not really affect the environment for players would not mess with the centralization figures. It would also help when comparing things like LC to OU with very large difference in the number of Pokemon that are allowed.
Edit: hmm rereading your OP maybe that's not the best way for some odd situations but maybe there is something else?
Ok well its not as good as the first one, but rewriting stuff is frustrating for me.. What do you think?
And is there any way to account for the "statistical noise" that comes with a smaller player base (which causes fewer teams ect..)? Possibly with a separate figure from the standard centralization one.
Also I like the idea of this and hope you continue working to perfect the formula.
I'm doing the latter, but I wrote it incorrectly in the original postthis thread. Sorry for the confusion; it's been corrected now.
To be clear, here's what I'm doing:
1) For every Pokemon usage, divide it by U, subtract it by 1/P, and square the resulting number.
2) Sum up all these numbers together.
3) Take the square root.
4) Multiply by 100 and round it to 1 decimal place.
I agree with eric the espeon. Your method works for comparing changes in centralization within one tier (and thus with a relatively stable list of legal Pokemon), but I disagree with the methodology if it's to be used to compare between tiers.
Imagine a tier with 500 legal Pokemon. There are 60 Pokemon that make up the "OU" part of that tier, and the remaining 440 are not used at all. Imagine another tier with 100 legal Pokemon. There are 50 Pokemon that make up the "OU" part of that tier, and the remaining 50 are not used at all. Unless I've made a mistake (and I haven't actually calculated this out, but I picked numbers that ought to make this the case if I'm understanding your formula properly), the second tier would be less centralized than the first.
This is fine if we do not attempt to compare centralization between tiers. The problem is that this is exactly what people will (quite naturally) do. The first tier is more centralized, but is in fact more diverse. I think that it is actually diversity that's important, not any measure of centralization.
all this math makes my head hurt... and im a freaking math genius
so if centralization is the measure of a select fews usage as a proportion to the whole, why not do something like that? if something like the top 10 OU pokes are selected, their usage percentages added, and that divided by the total of the percentage use of all the other OU's, wouldnt that show basically how much those pokemon are used in relation to the whole?
C = 100(TopTenSum/OtherSum)
or use any other number, it doesnt have to be 10. 100 is to clean up decimals.
I havent really thought this through, but it makes sense to me. Comments?
ps. when x-act has math trouble, the smogon server crashes.
Yeah, I am unsure about the value of including the total number of pokemon. It seems to be unnecessary information.
If you are using it to study the affect of banning or unbanning pokemon it seems to be an unnecessary bias toward having as few pokemon as possible. Whereas if you are using it to compare trends in a metagame that isnt having the total number of pokemon changed, then it is a constant and adds nothing.
I dont quite understand the problems here, but...
Wouldnt the sum of the usage percentages of the top ten pokemon used for any given month be at least in a part of a formula? And if we're measuring how a few are overwhelmingly more popular than others, shouldnt we compare it to something?
Maybe just the usage percentage sum of the top 10 pokes for any month. If they were used very often, it would be higher.If only they were used, it would be 100%. If it is closer to about 20% (1 pokes usage = 1/~51? OU pokes?(im only taking this out of OU, not including others, like UU, but they are not used often in OU for a reason) =~2%, 2x10=20%) then there would be no centralization. if it got lower than that, or near it, it would probably be time to bump stuff up to OU.
So C = 1usagesum + 2usagesum... + 10usagesum
This is what we're measuring, right? A quantification of the recurring usage of common pokes?
I'd at least like the data to try this way...
In any case, i think a simpler formula is better.
Squares and square roots and multiplication? sheesh, too hard.
Looking at the old formula, i made a fictional example with 100 OU pokemon out of 500 total.
If 10 are frequently used, then C=500/100-10=500/90=5.56
if 50 are frequently used, then C=500/100-50-500/50=10
If the latter is less centralized, why does it have a higher number?
Perhaps a discussion on centralization formula philosophy might help us all.
I'm no Philosopher, go to shoddy if you want to talk to him.
~It could be some sort of joint variation (C=kxy)
~it could be an inverse variation (C=kx/y)
~It could be something totally unexpected (C=k(x^2-xy))
But i think we should go for some type of linear function or direct variation.
Then let us think what the variables are:
~we need some variable carrying data regarding common pokemon usage
~Then we need to decide whether to just weigh that against the whole 500 or just to OU 50.
Hopefully this will help someone come up with a formula.
But if we want C to go up as F(requently used) goes down, F should probably be on the bottom of some fraction. it could be as simple as
C=k/F
Or perhaps we need some advanced statistical knowledge involving standard deviation and whatnot. I didnt bring my mathbook so i cant help.
The main beef I have with your other formulation is that it used 2 values that were attained by arbitrary means. OU was defined as Pokemon in roughly 1 in 20 teams, and frequently used as 1 in 4. I don't think there is any logical formulation you could use to derive those numbers, and with appropriate tweaking of the numbers you might be able to change how the metagame's centralizing numbers looked.
What about that thing you mentioned before that Pokemon usage closely follows a power function? Did that not work out as you had hoped?
Okay, here's what I've been doing so far. I haven't yet found a formula, but this is still good enough to post.
I basically answered the question "how many teams do I need to look at in order for Pokemon X to have more than a 50% chance of appearing in at least one of them?" I worked this out for every Pokemon in the November list, and here are the results for the first 50 Pokemon in each metagame:
Looking at the numbers for Standard and UU, they look similar. Then look at the Ubers numbers; they're very different from those of the other two. In particular, look at the top 10 or so Uber Pokemon and the bottom few Uber Pokemon compared to the others. I haven't translated these numbers into a single centralisation factor yet, but I'm sure that these are the numbers I need to start with.
I'd like to see these numbers in graph form. I dont have any way of doing that myself, but I think it would be pretty useful..
I think intuitively we can say that Uber is an example of a metagame with a lot of centralisation. So the stats of Uber can be used as a guideline of what a more centralised metagame might look like when compared with OU or UU.
A decentralised metagame is one where the most used pokemon are not used much and the least used pokemon are used a lot. but at what point you want that changeover to be made is not clear. Like if you say "we want the top 8 pokes to not be used much but the next 7 pokes to be used lots" then obviously OU is a less centralised metagame than UU, but those figures are kinda arbitrary..
I think intuitively we can say that Uber is an example of a metagame with a lot of centralisation. So the stats of Uber can be used as a guideline of what a more centralised metagame might look like when compared with OU or UU.
A decentralised metagame is one where the most used pokemon are not used much and the least used pokemon are used a lot. but at what point you want that changeover to be made is not clear. Like if you say "we want the top 8 pokes to not be used much but the next 7 pokes to be used lots" then obviously OU is a less centralised metagame than UU, but those figures are kinda arbitrary..
This is exactly why my previous definition took the number of frequently-used Pokemon F and the number of OU Pokemon O into account. As I said there, intuitively I thought that a centralised metagame has a high F and a low O while a decentralised metagame has a low F and a high O... exactly what you're saying above.
If you look at the stats above, the Standard metagame's frequently-used Pokemon (those that have a number that is 4 or less according to my definition) aren't very numerous. In fact, the UU metagame has one more Pokemon than Standard that is frequently-used. Uber, though, has a lot of frequently-used Pokemon; suffice to say that Kyogre, Rayquaza and Groudon have almost a 50% chance of being in any one Uber team (their numbers are very close to 1).
I'm also going to say that diversity and centralisation aren't always related. I'd going to propose the following: let me quote your sentence again:
A decentralised metagame is one where the most used pokemon are not used much and the least used pokemon are used a lot.
I'm going to split that sentence in two. I'm going to say that a decentralised metagame is one where the most used Pokemon are not used much (or, conversely, a centralised metagame is one where the most used Pokemon are used a lot), and a diverse metagame is one where the least used Pokemon are used a lot.
For example, it is clear from above that UU is the more diverse metagame of the three; however, Standard is the least centralised. This means that having a metagame that is more diverse doesn't necessarily mean that it is less centralised.
To this end, I'm going to propose that centralisation and diversity be defined as two separate things.
I take back what I said earlier: centralisation and diversity ARE related with one another.
Suppose I look at 50 different teams of a particular metagame. The question is: how many different Pokemon would there be in those teams? If there are only 6 different Pokemon, then the metagame is the least diverse it can be (all teams are the same!). If there are 300 different Pokemon, then the metagame is the most diverse possible (all teams have different Pokemon). Numbers in between provide different levels of diversity.
We can view this question differently as follows. Suppose we look at a random team used in the Standard metagame, say. From which pool of Pokemon is it likely to be constructed?
I then remembered that I have already done this before: in the typical movesets algorithm. There, the question was: suppose we look at a random moveset of a Pokemon. From which pool of moves is it likely to be constructed? The only difference is that a moveset has 4 moves, while a Pokemon team has 6 Pokemon.
Hence we apply the same algorithm used for the movepool to the Pokemon usages, and count the moves used. The algorithm for 4 moves was to list the smallest number of moves whose sum of probabilities to be in a moveset exceeds 3. Here, we count (instead of list) the smallest number of Pokemon whose sum of probabilities to be used exceeds 5.
To do this, we first need to convert every Pokemon usage to a probability of it being in a team. This is easily done: divide the usage of every Pokemon by the total number of teams used. This is equal to the sum of all usages divided by 6, and hence the probability that Pokemon i with usage U_i belongs to a team is 6 x U_i / U, where U is the sum of all usages.
When I did this to the November Standard, Underused and Uber ladders, summed the probabilities up, stopping exactly when the sum exceeded 5, and counted the number of probabilities I summed up, the results were: