Assessing Typing Correlation in VGC12 Restricteds

A way to quantify typing

melondonkey true
2022-01-14

With Series 12 upon us many are already looking to the new meta to find the best pairing of restricted Pokemon. Today I’m looking at a way to quantify the idea of typing correlation.

Typing Correlation

Let’s start with the premise that we want our two restricteds not to be weak to the same things. Perhaps there are exceptions to this but we will not concern ourselves with those. Let’s call this tendency to be weak to the same things typing correlation. If you remember from stats class, correlation is the tendency of things to move up or down together. The Pearson correlation coefficient is a measure of this tendency, with -1 being the strongest negative relationship: when one goes down, the other goes up. Zero represents uncorrelated: the two move independently. One represent perfect correlation: when one goes up, the other does as well.

Imagine we create a spreadsheet with all the Pokemon we’re looking at as rows and 18 columns representing that Pokemon’s weakness to each of the types as one of (0,.25, .5, 1, 2, 4). I’ll use R to transpose this matrix and calculate the correlation coefficients. Instead of a correlation matrix though, I’ve converted the data to pairs for easier searching and sorting.

Table of Weaknesses

Here’s the base table of weaknesses.

Table of Correlations

I’ve initially sorted the table below by correlation with the most negatively correlated showing first. These pairings represent Pokemon who complement each others’ weaknesses very well. One tends to resist things that are supereffective against the other. It doesn’t mean these pairs will be good necessarily, just that their typings complement each other well.

The absolute value of the correlation coefficient is available for sorting as well. This helps you find pairs that are close to zero. If a pair is close to zero, it just means that the typings aren’t really related at all.

The “bad” pairs are the ones where the weaknesses are highly correlated. Unless you know what you’re doing and why you’re doing it, you’re going to want to avoid pairs with high positive values (like Necrozma and Mewtwo–same typing so weak to all the same things).

You can also use the search bar to filter down to one you’re interested in and see who pairs well. I personally love Kyurem White and glad to see he is negatively correlated to Kyogre. Maybe I’ll give this Ky-squared team a try.

Can’t wait to see which legendary pairs people come up with!

Strong Offensive Typings

Another interesting thing to look at is how well each type does offensively against all the restricteds. If we had to pick one type to attack each Pokemon in this dataset, which should it be? We can average each types effectiveness and see:

Looks like Ghost, Dark, and Ice are top choices against this pool, though that’s likely to change as these won’t all have equal weight in the meta.

Citation

For attribution, please cite this work as

melondonkey (2022, Jan. 14). Pokemon Analysis: Assessing Typing Correlation in VGC12 Restricteds. Retrieved from https://pokemon-data-analysis.netlify.app/posts/2022-01-14-assessing-typing-correlation-in-vgc12-restricteds/

BibTeX citation

@misc{melondonkey2022assessing,
  author = {melondonkey, },
  title = {Pokemon Analysis: Assessing Typing Correlation in VGC12 Restricteds},
  url = {https://pokemon-data-analysis.netlify.app/posts/2022-01-14-assessing-typing-correlation-in-vgc12-restricteds/},
  year = {2022}
}