• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 14:24
CET 20:24
KST 04:24
  • 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
ByuL: The Forgotten Master of ZvT28Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8
Community News
Weekly Cups (Feb 16-22): MaxPax doubles0Weekly Cups (Feb 9-15): herO doubles up2ACS replaced by "ASL Season Open" - Starts 21/0258LiuLi Cup: 2025 Grand Finals (Feb 10-16)46Weekly Cups (Feb 2-8): Classic, Solar, MaxPax win2
StarCraft 2
General
Terran AddOns placement How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? Nexon's StarCraft game could be FPS, led by UMS maker ByuL: The Forgotten Master of ZvT Oliveira Would Have Returned If EWC Continued
Tourneys
PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) Sparkling Tuna Cup - Weekly Open Tournament SEL Doubles (SC Evo Bimonthly) WardiTV Team League Season 10 RSL Season 4 announced for March-April
Strategy
Custom Maps
Publishing has been re-enabled! [Feb 24th 2026] Map Editor closed ?
External Content
Mutation # 515 Together Forever Mutation # 514 Ulnar New Year The PondCast: SC2 News & Results Mutation # 513 Attrition Warfare
Brood War
General
Soma Explains: JD's Unrelenting Aggro vs FlaSh Recent recommended BW games TvZ is the most complete match up BGH Auto Balance -> http://bghmmr.eu/ ACS replaced by "ASL Season Open" - Starts 21/02
Tourneys
The Casual Games of the Week Thread [Megathread] Daily Proleagues [LIVE] [S:21] ASL Season Open Day 1 ASL Season 21 Qualifiers March 7-8
Strategy
Soma's 9 hatch build from ASL Game 2 Fighting Spirit mining rates Simple Questions, Simple Answers Zealot bombing is no longer popular?
Other Games
General Games
Diablo 2 thread Nintendo Switch Thread Battle Aces/David Kim RTS Megathread Path of Exile Beyond All Reason
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine UK Politics Mega-thread YouTube Thread Mexico's Drug War
Fan Clubs
The IdrA Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece [Req][Books] Good Fantasy/SciFi books Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TL MMA Pick'em Pool 2013
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
The Automated Ban List
Blogs
YOUTUBE VIDEO
XenOsky
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Inside the Communication of …
TrAiDoS
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2077 users

Estimating the average skill gap in code A

Blogs > TheBB
Post a Reply
TheBB
Profile Blog Joined July 2009
Switzerland5133 Posts
Last Edited: 2012-11-12 16:04:38
November 12 2012 15:44 GMT
#1
This bit of number crunching was inspired by this question. Why is a best of 3 always more likely to end in a 2-0 to the better player, than a 2-1?

From now we will be working under the assumption that the better player has a probability p of winning any single game, and the worse player has probability 1-p. Of course p ≥ 0.5, and the games are assumed to be independent.

(By the way, the answer to the original question is here.)

Thus, the relevant probabilities are:
  • 2-0 for better player: p²
  • 2-1 for better player: 2p²(1-p)
  • 2-1 for worse player: 2p(1-p)²
  • 2-0 for worse player: (1-p)²
Thus we expect a ratio

      [p²+(1-p)²] / [2p²(1-p) + 2p(1-p)²]

of matches ending 2-0 to matches ending 2-1. If we write q = 2p(1-p), we find that the above ratio can be expressed as

      (1+q)/q = K

So I went through the last five seasons of code A. There are 52 matches per season, but there were four walkovers, so I looked at 256 games in total. Of those, there were 101 2-1's and 155 2-0's. Thus we have our estimate for K:

      K = 155/101 = 1.5347.

Solving the equation for q, we find

      q = 1/(K+1) = 0.39453.

To find p, write p = 0.5 + r. Then we get q/2 = p(1-p) = 0.25 - r², or in other words

      r = sqrt[0.25 - q/2] = 0.22964,

so

      p = 0.72964.

What does this mean in practical terms? In an average code A match, the better player is so much better that he has about 73% to win a single game over his unfortunate opponent.

Let's translate this to a rating gap. With a rating gap D, we have

      p = 1/(1+10^(-D/400))

or

      D = -400 log(1/p-1) = 172.47.

So the average skill gap in code A is a whooping 172 points! That's quite a lot.

Disclaimer: I know this is back-of-the-napkin maths and I've pretty much disregarded all nonlinear effects. "Average" here does not mean "mean."

Edit: Did the same for code S.

      K = 124/116 = 1.069

      p = 0.591287

      D = 64.152

As you can see, it seems a lot closer.

****
http://aligulac.com || Barcraft Switzerland! || Zerg best race. || Stats-poster extraordinaire.
ragz_gt
Profile Blog Joined April 2012
9172 Posts
November 12 2012 15:50 GMT
#2
Great! BTW, you might want check out a lot of work Bill James did on baseball.
I'm not an otaku, I'm a specialist.
LightTemplar
Profile Blog Joined August 2011
Ireland481 Posts
November 12 2012 21:38 GMT
#3
Huh, thats super interesting, great blog post, thanks
"Thoughts are always there, the mind can't stop" - Grubby
hfsrj
Profile Joined October 2012
Germany166 Posts
November 13 2012 15:07 GMT
#4
I just did the computation. Then I looked at your post. Couldn't do better
Thanks a lot, very interesting stuff.
Najda
Profile Joined June 2010
United States3765 Posts
November 13 2012 19:48 GMT
#5
And they said you'd never need math in the real world... :D
Recognizable
Profile Blog Joined December 2011
Netherlands1552 Posts
November 13 2012 20:34 GMT
#6
On November 14 2012 04:48 Najda wrote:
And they said you'd never need math in the real world... :D


You wouldn't be able to type that post without some of the greatest math wizards in the world. Math really is underappreciated
Please log in or register to reply.
Live Events Refresh
uThermal 2v2 Circuit
15:00
Monthly #3 - March
uThermal1038
SteadfastSC454
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
uThermal 1038
SteadfastSC 454
BRAT_OK 77
mouzHeroMarine 38
StarCraft: Brood War
Britney 31687
Sea 28139
Rain 1767
Shuttle 442
Dewaltoss 166
Free 19
910 12
Yoon 10
NaDa 9
Dota 2
Gorgc6800
LuMiX1
Counter-Strike
fl0m4286
Super Smash Bros
hungrybox1018
Heroes of the Storm
Khaldor594
Liquid`Hasu366
MindelVK12
Other Games
gofns35473
tarik_tv16737
Grubby3521
Liquid`RaSZi1603
B2W.Neo712
ArmadaUGS159
KnowMe141
RotterdaM129
QueenE100
Hui .78
JuggernautJason30
Organizations
Other Games
gamesdonequick856
BasetradeTV139
Counter-Strike
PGL131
StarCraft 2
angryscii 20
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 21 non-featured ]
StarCraft 2
• HeavenSC 48
• Reevou 8
• Response 1
• Kozan
• Migwel
• sooper7s
• AfreecaTV YouTube
• intothetv
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• 80smullet 14
• RayReign 10
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 1242
League of Legends
• Jankos4421
• Shiphtur418
Other Games
• imaqtpie1275
• WagamamaTV278
• tFFMrPink 15
Upcoming Events
Replay Cast
13h 37m
Wardi Open
16h 37m
Monday Night Weeklies
21h 37m
Replay Cast
1d 4h
Replay Cast
2 days
Replay Cast
3 days
The PondCast
3 days
KCM Race Survival
3 days
Replay Cast
4 days
Replay Cast
5 days
[ Show More ]
CranKy Ducklings
5 days
Replay Cast
6 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

[S:21] ASL SEASON OPEN 2nd Round
LiuLi Cup: 2025 Grand Finals
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
Acropolis #4 - TS5
Jeongseon Sooper Cup
Spring Cup 2026
WardiTV Winter 2026
Nations Cup 2026
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025

Upcoming

ASL Season 21: Qualifier #1
ASL Season 21: Qualifier #2
ASL Season 21
Acropolis #4 - TS6
Acropolis #4
IPSL Spring 2026
CSLAN 4
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
NationLESS Cup
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
FISSURE Playground #3
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
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 © 2026 TLnet. All Rights Reserved.