• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 01:56
CET 07:56
KST 15:56
  • 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 Preview7RSL 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
[BSL21] RO8 Bracket & Prediction Contest BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion FlaSh on: Biggest Problem With SnOw's Playstyle Let's talk about Metropolis
Tourneys
[ASL20] Grand Finals [BSL21] RO8 - Day 2 - Sunday 21:00 CET [BSL21] RO8 - Day 1 - Saturday 21:00 CET Small VOD Thread 2.0
Strategy
Simple Questions, Simple Answers Game Theory for Starcraft Fighting Spirit mining rates Current Meta
Other Games
General Games
Dawn of War IV Path of Exile Stormgate/Frost Giant Megathread Awesome Games Done Quick 2026! Nintendo Switch Thread
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: 1843 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
RSL Revival
04:30
2025 Offline Finals
herO vs ZounLIVE!
Reynor vs TBD
Classic vs TBD
Crank 1177
Tasteless1145
RotterdaM320
IndyStarCraft 87
CranKy Ducklings83
3DClanTV 51
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Crank 1177
Tasteless 1145
WinterStarcraft615
RotterdaM 320
IndyStarCraft 87
Nina 81
StarCraft: Brood War
Shuttle 709
sorry 286
Leta 206
Free 55
Larva 47
Mong 24
ZergMaN 21
Sharp 16
Dota 2
monkeys_forever501
League of Legends
JimRising 628
C9.Mang0467
Super Smash Bros
hungrybox216
Other Games
summit1g9095
XaKoH 159
Livibee99
Mew2King62
Organizations
Other Games
gamesdonequick1169
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Hupsaiya 74
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Lourlo1332
• Stunt212
• HappyZerGling134
Upcoming Events
WardiTV 2025
6h 5m
herO vs ShoWTimE
SHIN vs herO
Clem vs herO
SHIN vs Clem
SHIN vs ShoWTimE
Clem vs ShoWTimE
IPSL
10h 5m
Sziky vs JDConan
BSL 21
13h 5m
Tech vs Cross
Bonyth vs eOnzErG
Replay Cast
1d 2h
Wardi Open
1d 5h
Monday Night Weeklies
1d 10h
Sparkling Tuna Cup
2 days
Replay Cast
3 days
The PondCast
4 days
CranKy Ducklings
6 days
[ Show More ]
SC Evo League
6 days
BSL 21
6 days
Liquipedia Results

Completed

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

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
WardiTV 2025
RSL Offline Finals
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

CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
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.