• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 17:40
CEST 23:40
KST 06:40
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Classic Games #3: Rogue vs Serral at BlizzCon9[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway13
Community News
SC4ALL $6,000 Open LAN in Philadelphia7Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues25LiuLi Cup - September 2025 Tournaments3Weekly Cups (August 25-31): Clem's Last Straw?39Weekly Cups (Aug 18-24): herO dethrones MaxPax6
StarCraft 2
General
Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues #1: Maru - Greatest Players of All Time Team Liquid Map Contest #21 - Presented by Monster Energy Classic Games #3: Rogue vs Serral at BlizzCon What happened to Singapore/Brazil servers?
Tourneys
Maestros of The Game—$20k event w/ live finals in Paris RSL: Revival, a new crowdfunded tournament series Sparkling Tuna Cup - Weekly Open Tournament SC4ALL $6,000 Open LAN in Philadelphia LANified! 37: Groundswell, BYOC LAN, Nov 28-30 2025
Strategy
Custom Maps
External Content
Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around Mutation # 487 Think Fast
Brood War
General
Pros React To: SoulKey's 5-Peat Challenge ASL20 General Discussion BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ BSL Team Wars - Bonyth, Dewalt, Hawk & Sziky teams
Tourneys
[ASL20] Ro16 Group B [Megathread] Daily Proleagues SC4ALL $1,500 Open Bracket LAN CPL12 SIGN UP are open!!!
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile General RTS Discussion Thread Borderlands 3
Dota 2
LiquidDota to reintegrate into TL.net Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI UK Politics Mega-thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
The Personality of a Spender…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1101 users

[G] How To Apply And Understand Statistics

Forum Index > General Forum
Post a Reply
Sleight
Profile Blog Joined May 2009
2471 Posts
Last Edited: 2010-09-17 01:03:19
September 16 2010 21:20 GMT
#1
Hey y'all,

There will always be a lot of talk about trends in from a statistical perspective. People love to throw numbers around to support their argument, because numbers cannot lie, right? Well, yes, numbers themselves cannot lie, but with incorrect application or selection, they can provide an incomplete or incorrect picture. So all I want to do is clarify basic terms and statistical concepts for everyone, so that y'all know enough to intelligently understand and apply statistical tests to data.


Terms

People love to banter over what the various terms mean in statistics, because, in many cases, there is some wiggle room. What I will provide here are clear definitions of what they are supposed to mean, and how we can use them appropriately.

1) "Probability"
Probability, in general, comes from very complicated mathematical theories regarding how random events should behave given a large amount of data. What you should know is that "a probability" refers to the chance of an event relative to all events, or example, the number of heads in total coin flips. So we would say the probability of getting heads when you flip a coin is .5. Probabilities should always be between 0 and 1.

2)" Odds"
Odds is one of the most misused words. Odds are a RATIO, whereas Probability is a PROPORTION. A ratio is the chance of 1 event relative to another event, where both events are mutually exclusive. The odds of flipping a coin and getting heads is 1 (1 chance at heads/1 chance at tails = 1). Odds should always be between 0 and positive infinity.

3) "Mean"
The mean is the average value of all your data points, whether in a sample or population. This value can be dramatically skewed by the high and low ends of your data set.

4) "Median"
The actual 'middle' point. Consider if you wrote down all data points in a line and took off those at each end until you had 1 (or 2) left. That number left is the median. It is often more accurate to the sample/population than the mean. When the median and the mean are statistically significantly (we will discuss this term later) different, your sample/population typically has a non-normal distribution.

5) "Variance"
Imagine you rolled a die 12 times and got only 3s and 4s. The variance of that data set is low, because 3 and 4 are close together. If you roll a die 10 times and get 1-6 twice each, that data has a higher variance. Low variances suggest that the data is clustered around the mean. High variances suggest that the data is spread out. We can account for differing variances if we apply our test statistics correctly.

6) "Test Statistic"
The mathematical test or equation we will use to analyze if the data. There are an incredible number of these and selecting an appropriate one is one of the challenges of data analysis.

7) "Sample"
We can say that a sample, referred to as 'n', is a representative portion of the true population, where the population is everyone effectively. So if you took 100 players out of all the SC2 players, that would be your sample. If we select our sample correctly, it should accurately reflect our true population, with some exceptions. Importantly, the ONLY difference between a sample and a population for statistical analysis is in the names given to the variable representing variance and mean values. Almost all statistical tests CAN STILL apply even if you know the entire population, because you are not just examining if the data can represent a population but also if the data is possible according to a given distribution, normal, random, or non-random, for example. If our sample is too small, our tests lose Power and test statistics often cannot provide us statistically significant data.

8) "Null hypothesis"
A null hypothesis is what we expect to be true (or what should be true, in some cases). For example, that all three races in SC2 are equally powerful and this would be represented by equal success, in terms of ELO, win percentage, etc. A simple example is the null hypothesis that probability of getting heads when flipping a coin should be .5.

9) "P-value"
A p-value is the cornerstone of statistical analysis. What a p-value, and not alpha, refers to is the probability that, given an analogous set of data, meaning concerning the same topic and within a similar range and sample size, your test statistic would find a difference AS or MORE extreme from the null hypothesis.

10) "Power"
The ability of a test statistic to detect a difference between the sample(s) and the population at a given null hypothesis, expected difference, and sample size, assuming a difference exists. Ways to increase power are by increasing sample size, expecting a larger difference between your sample(s) and the population,

11) "Statistical significance"
The bombshell. This refers to whether or not, given an appropriate test statistic, the examiner can make a mathematically supported conclusion to reject the null hypothesis. We can ONLY reject the null hypothesis or say there is not enough evidence to reject the null hypothesis. We can never know the 'truth' so what we have to settle for is whether or not our test statistic gave us a different answer than expected. If the combination of sample, expected result, and data lack sufficient power, finding statistical significance from your data is less likely or can even be impossible.

12) "alpha"
Alpha is set to .05 by convention, which means that, if we were to run this test data again and again, .05 percent of results would NOT contain the value of the true population. What this means, in reverse, is that if our test statistic provides us statistically significant results, we can say that there is a 95% chance that our results contain the true mean, where our results are a value and a 95% confidence interval, a description of which I will add later, it is complicated and rarely necessary outside of publications.

13) "confounder"
Any factor that might account for your result other than what you are testing. If you were to have Idra and I play 100 games, and I won 50, you might conclude we are equally skilled. If he were drunk at the time, or if I cheese'd him every game, that might be a confounder. These can be explained and controlled for if you are careful in your analysis, experiment, and data collection.

14) "bias"
Any factor that skews the data of your sample and eliminates its ability to be 'externally valid,' meaning whether or not it can adequately reflect the true population. Bias may occur in selection, testing, data collection, pretty much anywhere. Common bias might be an imbalanced map pool, a tournament's non-equal race distribution or matchup distribution. The big one you will have to deal with is non-random sample selection. If you want to examine for Terran imbalance in the whole population, you cannot look at just the top percentage, because you are actually forcing a bias onto your sample. You can never actually be sure that a non-randomly selected sample reflects your population. http://en.wikipedia.org/wiki/Bias_(statistics)


Data Sets and Appropriate Statistical Tests

I will not be able to explain all of these things in sufficient detail, but what I will be able to do is explain which one's you can use for what kind of data. These will be the most common tests we can apply in RTS.

1) The student's t-test
For one-sample, like if I were to play Idra in a series, we can examine whether or not the results are consistent with an expected result. If we have a single matchup with a given sample size and expected result under a single paradigm, we can use a one-sample t-test to compare the data we have against an expectation. For example, our null hypothesis could be that the map pool is balanced ZvT. We could look at the win percentages for ZvT over all the maps, compares those to the expected .5 result across all maps and we would be able to find a t-value. http://en.wikipedia.org/wiki/Student's_t-test#Independent_one-sample_t-test

For a two-sample data set, like if I would want to compare if Terran's success is significantly different than Zerg's, we can see if two total populations are actually different from one another. In most cases, the size and variance of each sample (the Terran results and Zerg results, individually) will be different and we can account for that with proper statistical understanding. We would set our null hypothesis to be that Terran and Zerg should have equal win rates, variances, distribution, and examine the rest of the data based on that. http://en.wikipedia.org/wiki/Student's_t-test#Independent_two-sample_t-test

Our results will be in the form of t-value which can be converted to a p-value with a table.

2) The chi-squared test or "goodness of fit"
This test can be used to examine whether or not a series of data points conform to an expectation. For example, if we want to examine whether or not all three races have equal win percentages, this is most appropriate. Going back to our last example, if we want to prove Terran is imbalanced we would need to show that it varies statistically significantly from the appropriate 'goodness of fit' model with regards to not just Zerg but Protoss as well, and that, given the whole dynamic, there is a demonstrable difference. Importantly, this CANNOT account for population variance like appropriate two-sample data sets can. This means that it will provide statistically conclusive result but may not be enough to actually make the conclusion with any external validity, meaning it represents the population correctly. http://en.wikipedia.org/wiki/Pearson's_chi-square_test

This will give us a chi-squared value, which can be used to determine a p-value from a table.

I will add more to this as time goes on and demand increases.

Conclusions

The rule is this... You need to correctly select a test, apply it correctly, and then understand its limitations with regards to your data. Even if you pick the 'right' test and have adequate data, you cannot conclude anything but one specific result from any single test. I could show that Terran outperforms Zerg by two-sample t-test, but Protoss' success is a confounder. I could show that Terran outperforms both Zerg and Protoss is terms of mean win percentage, but this would not take into account sample variance, meaning a few extremely well performing Terrans could skew the mean (a confounder). No test is perfect, and be open to the fact that your data is not conclusive. It rarely will be. The correct response is to start explaining why your data is adequate, why the confounders aren't actual confounders, why the possible bias is not actual bias, etc.

If people ask for specific explanations, I am happy to provide them. I hope this offers some clarity into the nature of statistics and statistical discussion.

Cheers!
One Love
Judicator
Profile Blog Joined August 2004
United States7270 Posts
September 16 2010 22:25 GMT
#2
So you decided to shorten the most relevant part of statistics, aka the tests and the qualifications for using each test? That would be a hell of a lot more relevant if people understood the shortcomings and strengths of each test (parametric or nonparametric) than what you posted here.
Get it by your hands...
The_Pacifist
Profile Blog Joined May 2010
United States540 Posts
September 16 2010 22:31 GMT
#3
This is TL. Balance discussions and topics on the race distribution of the top 200 players will not go from "T is OP" to "Well, I applied a Chi-Square Analysis with an alpha value of .05..." because a thread was made explaining stats terms.

Sorry.
Yurie
Profile Blog Joined August 2010
11875 Posts
September 16 2010 22:38 GMT
#4
On September 17 2010 07:31 The_Pacifist wrote:
This is TL. Balance discussions and topics on the race distribution of the top 200 players will not go from "T is OP" to "Well, I applied a Chi-Square Analysis with an alpha value of .05..." because a thread was made explaining stats terms.

Sorry.


It will not become like that as long as the ones doing statistical analysis and posting their results are people not educated in statistics. This I assume is an attempt to try to educate a few people. Yet it mostly reads as a terms explanation list.

Also, the wonder of forums is that anybody can create a thread. If you feel a thread lacks proper background, create another one with it or just post it in the thread...
Sleight
Profile Blog Joined May 2009
2471 Posts
September 16 2010 22:53 GMT
#5
On September 17 2010 07:25 Judicator wrote:
So you decided to shorten the most relevant part of statistics, aka the tests and the qualifications for using each test? That would be a hell of a lot more relevant if people understood the shortcomings and strengths of each test (parametric or nonparametric) than what you posted here.


Thanks for the feedback! I can tell you put a lot of time into it and I will try to take all that into consideration.

I'll work on expanding the tests and explain parametric vs. nonparametric. Interestingly, most test statistics are not applicable to most RTS paradigms. In fact, besides the Mann-Whitney (which is a stretch), there don't seem to be any non-parametric tests useful except the chi-squared. And regarding parametric, how would you propose anyone use an ANOVA or matched t-test?

I personally, being responsible for doing epidemiological analysis of health studies, might not have as good an understanding of why these data on irrelevant tests are so important.

Furthermore, I actually talk about example of data sets we can analyze using applicable data and why these data are not necessarily absolute. What more should I do?

Thanks in advance, I know you will have a clear answer!
One Love
Judicator
Profile Blog Joined August 2004
United States7270 Posts
September 16 2010 23:08 GMT
#6
It's not about using, it's about understanding when to use what and how to qualify your results for a given test. That's important, not so much using the test, anyone can use a program to find that. Picking the right test and then interpreting the results is what's important.

I read biology papers all the time with some really shitty statistical methods and really wonder if these people ever had a class in statistics in their lifetime. Same goes for the reviewers of the papers.

Most situations are parametric, but I just happened to work in the one lab that required non-parametrics; they just illustrated the shortcomings of parametrics even more so for me.
Get it by your hands...
Nomak
Profile Joined March 2010
United States32 Posts
September 16 2010 23:20 GMT
#7
Nice post, just remember that the word 'data' is plural.
GGTeMpLaR
Profile Blog Joined June 2009
United States7226 Posts
September 16 2010 23:24 GMT
#8
haha finally

a statistics thread has been long overdue
Starfox
Profile Joined April 2010
Austria699 Posts
September 17 2010 00:33 GMT
#9
How can you post such a thread without linking

Greek Mythology 2.0: Imagine Sisyphos as a man who wants to watch all videos on youtube... and Tityos as one who HAS to watch all of them.
gogogadgetflow
Profile Joined March 2010
United States2583 Posts
Last Edited: 2010-09-17 00:50:36
September 17 2010 00:49 GMT
#10
Would have made more sense to post this with starcraft analogies, or examples of use and misuse from other threads. I know its the general forum but... not like there's anything here that's not in wikipedia or something. Statistics terminology: I don't think many people are gonna take this into consideration when posting :/ ... good work tho
Sleight
Profile Blog Joined May 2009
2471 Posts
September 17 2010 01:01 GMT
#11
On September 17 2010 09:49 gogogadgetflow wrote:
Would have made more sense to post this with starcraft analogies, or examples of use and misuse from other threads. I know its the general forum but... not like there's anything here that's not in wikipedia or something. Statistics terminology: I don't think many people are gonna take this into consideration when posting :/ ... good work tho


There are starcraft analogies... You just have to read the explanation of the tests. Though I will add some in to the 'terms' section now.
One Love
illu
Profile Blog Joined December 2008
Canada2531 Posts
Last Edited: 2010-09-17 01:24:26
September 17 2010 01:22 GMT
#12
I didn't read the whole thing, but I will point out one thing.

In term of mean vs median, they are both useful. For distributions that are highly symmetrical, the mean is usually a better estimator than the median for the true mean. For highly asymmetrical ones, however, median is often better.

Also, by "alpha", you mean the "level" of the test. For single hypothesis 0.05 is often used.
:]
s_86
Profile Blog Joined January 2009
United States191 Posts
September 17 2010 01:34 GMT
#13
You may ask, what has statistics done for us?

An increase in firing efficiency by 120%, the difference of a 63% increased lethal profiency.
Please log in or register to reply.
Live Events Refresh
[BSL 2025] Weekly
18:00
#14
ZZZero.O77
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
JuggernautJason117
SpeCial 90
StarCraft: Brood War
Sea 789
sSak 133
Dewaltoss 116
ZZZero.O 77
Dota 2
The International119399
Gorgc12964
League of Legends
JimRising 399
Counter-Strike
pashabiceps872
fl0m803
Stewie2K521
Super Smash Bros
hungrybox532
Heroes of the Storm
Liquid`Hasu462
Other Games
summit1g7630
Grubby3577
FrodaN2546
Mlord517
SortOf366
KnowMe280
mouzStarbuck263
ceh9211
ToD153
Sick85
rGuardiaN57
ROOTCatZ46
XaKoH 32
Mew2King31
fpsfer 2
Organizations
Other Games
gamesdonequick2322
StarCraft 2
angryscii 45
Other Games
BasetradeTV25
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 21 non-featured ]
StarCraft 2
• RyuSc2 52
• musti20045 44
• davetesta19
• LaughNgamezSOOP
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• sooper7s
• Migwel
StarCraft: Brood War
• blackmanpl 26
• FirePhoenix6
• Michael_bg 3
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• Ler85
• Noizen39
League of Legends
• Doublelift5175
Other Games
• imaqtpie1190
• tFFMrPink 13
Upcoming Events
RSL Revival
12h 20m
Maestros of the Game
19h 20m
BSL Team Wars
21h 20m
Afreeca Starleague
1d 12h
Snow vs Sharp
Jaedong vs Mini
Wardi Open
1d 13h
Sparkling Tuna Cup
2 days
Afreeca Starleague
2 days
Light vs Speed
Larva vs Soma
LiuLi Cup
3 days
The PondCast
4 days
Korean StarCraft League
6 days
[ Show More ]
[BSL 2025] Weekly
6 days
BSL Team Wars
6 days
Liquipedia Results

Completed

Proleague 2025-09-10
SEL Season 2 Championship
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
Chzzk MurlocKing SC1 vs SC2 Cup #2
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1

Upcoming

2025 Chongqing Offline CUP
BSL Polish World Championship 2025
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
SC4ALL: StarCraft II
EC S1
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.