• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 16:57
CET 22:57
KST 06:57
  • 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
RSL Revival - 2025 Season Finals Preview3RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15[BSL21] Ro.16 Group Stage (C->B->A->D)4Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win3
StarCraft 2
General
RSL Revival - 2025 Season Finals Preview Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump Chinese SC2 server to reopen; live all-star event in Hangzhou Maestros of the Game: Live Finals Preview (RO4) BGE Stara Zagora 2026 announced
Tourneys
RSL Offline Finals Info - Dec 13 and 14! Tenacious Turtle Tussle 2025 RSL Offline Finals Dates + Ticket Sales! Sparkling Tuna Cup - Weekly Open Tournament StarCraft2.fi 15th Anniversary Cup
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress Mutation # 500 Fright night
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ [BSL21] RO8 Bracket & Prediction Contest BW General Discussion Let's talk about Metropolis Foreign Brood War
Tourneys
[ASL20] Grand Finals Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] RO16 Group D - Sunday 21:00 CET
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates Current Meta Game Theory for Starcraft
Other Games
General Games
Dawn of War IV Awesome Games Done Quick 2026! Nintendo Switch Thread Stormgate/Frost Giant Megathread EVE Corporation
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine YouTube Thread European Politico-economics QA Mega-thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
Formula 1 Discussion 2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
How Sleep Deprivation Affect…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 934 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
11957 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
Next event in 6h 33m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
White-Ra 263
JuggernautJason134
StarCraft: Brood War
Britney 12214
Sea 1285
ggaemo 43
NaDa 41
Counter-Strike
fl0m7438
zeus367
Heroes of the Storm
Liquid`Hasu422
Other Games
summit1g10111
Grubby5490
shahzam416
DeMusliM249
ArmadaUGS152
C9.Mang0102
Trikslyr65
ZombieGrub42
ViBE41
Organizations
Other Games
BasetradeTV87
StarCraft 2
angryscii 15
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• intothetv
• IndyKCrew
• sooper7s
• AfreecaTV YouTube
• Migwel
• LaughNgamezSOOP
• Kozan
StarCraft: Brood War
• 80smullet 27
• Pr0nogo 2
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV299
League of Legends
• TFBlade1405
• Doublelift1224
Other Games
• imaqtpie2444
• Shiphtur88
Upcoming Events
RSL Revival
6h 33m
StarCraft2.fi
12h 3m
IPSL
19h 3m
Sziky vs JDConan
OSC
19h 3m
Solar vs Percival
Gerald vs Nicoract
Creator vs ByuN
RSL Revival
1d 6h
Classic vs TBD
herO vs Zoun
WardiTV 2025
1d 15h
herO vs ShoWTimE
SHIN vs herO
Clem vs herO
SHIN vs Clem
SHIN vs ShoWTimE
Clem vs ShoWTimE
IPSL
1d 19h
Tarson vs DragOn
Replay Cast
2 days
Wardi Open
2 days
Monday Night Weeklies
2 days
[ Show More ]
Sparkling Tuna Cup
3 days
Replay Cast
5 days
The PondCast
5 days
Liquipedia Results

Completed

Acropolis #4 - TS3
RSL Revival: Season 3
Kuram Kup

Ongoing

IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
WardiTV 2025
META Madness #9
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
RSL Offline Finals
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 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.