• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 19:09
CEST 01:09
KST 08:09
  • 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
Serral wins HomeStory Cup 2914Serral wins Maestros of the Game 243ByuL, and the Limitations of Standard Play3Team Liquid Map Contest #22: Results and Winners7Code S Season 2 (2026): RO4 and Finals Preview12
Community News
SC4ALL II announced - $10,000 prize pool, Dec 5-63PIG STY FESTIVAL 8.0! (13 - 23 August)8Neeb returns to progaming; rejoins ONSYDE15Weekly Cups (July 20-26): Early returns on 5.0.16b8IntoTheTV X SOOP SC2 League : Weekly & Monthly5
StarCraft 2
General
Life's Huge Gambling Spree After IEM Katowice 2014 Neeb returns to progaming; rejoins ONSYDE SC4ALL II: StarCraft 2 Player Announcement 1/8 Balance hotfix patch 5.0.16b (July 16) Clem: "I don't have that much hope in Blizzard"
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament SC4ALL II announced - $10,000 prize pool, Dec 5-6 PIG STY FESTIVAL 8.0! (13 - 23 August) IntoTheTV X SOOP SC2 League : Weekly & Monthly Crank Gathers Season 4: BW vs SC2 Team League
Strategy
[G] Having the right mentality to improve
Custom Maps
Nexus Wars 2021 GUIDE [M] (2) Industrial Park
External Content
Mutation # 536 Railroad Switch The PondCast: SC2 News & Results Mutation # 535 Assembly of Vengeance Mutation # 534 Burning Evacuation
Brood War
General
ASL22 General Discussion Making an Online Broodwar Manager Game BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion BW Drama: Terror's Debt Incident + C9 disbanding
Tourneys
2v2v2v2 Tournament Escore Tournament - Season 3 [Megathread] Daily Proleagues BSL LAN Party - Kraków 29-30 August - OPEN SIGNUPS
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates Odyssey Mineral Stack Saturation PvT advise for noobs
Other Games
General Games
Stormgate/Frost Giant Megathread Beyond All Reason Nintendo Switch Thread Path of Exile ZeroSpace Early Access is Now Live!
Dota 2
Looking for a Dota Mentor Official 'what is Dota anymore' discussion
League of Legends
[TL LoL EUW IHs] Teemo shall perish TSM pausing esports and CLG Dead
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Power Rank TL Mafia Community Thread NeO.D_StephenKing vs This Guy From 1 Million Dance
Community
General
Russo-Ukrainian War Thread European Politico-economics QA Mega-thread Artificial Intelligence Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine
Fan Clubs
The Scarlett Fan Club The IdrA Fan Club The HerO Fan Club!
Media & Entertainment
Movie Discussion! Anime Discussion Thread Series you have seen recently... [Req][Books] Good Fantasy/SciFi books
Sports
Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion MLB/Baseball 2023 McBoner: A hockey love story
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Simple Questions Simple Answers FPS when play League Of Legend on laptop
TL Community
Northern Ireland Global Starcraft The Automated Ban List
Blogs
What is a Gamer?
TrAiDoS
Hello guys!
LIN1s
ASL S22 English Commentary…
namkraft
Poker (part 2)
Nebuchad
An Exploration of th…
waywardstrategy
Customize Sidebar...

Website Feedback

Closed Threads



Active: 3439 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
Next event in 51m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
NeuroSwarm 285
PiGStarcraft278
StarCraft: Brood War
Bisu 445
NaDa 59
ZZZero.O 55
League of Legends
Doublelift4665
Counter-Strike
Fnx 565
minikerr190
summit1g151
Other Games
gofns12351
Mlord935
JimRising 400
TKL 239
C9.Mang0163
XaKoH 109
ViBE60
Livibee51
JuggernautJason19
Organizations
Other Games
gamesdonequick1178
BasetradeTV39
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 16 non-featured ]
StarCraft 2
• Hupsaiya 68
• davetesta33
• RyuSc2 21
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• HerbMon 15
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota21314
League of Legends
• Shiphtur659
Upcoming Events
PiG Sty Festival
51m
PiGStarcraft278
Afreeca Starleague
4h 51m
RSL Revival
9h 51m
Clem vs Serral
herO vs Rogue
WardiTV Summer Champion…
12h 51m
WardiTV Weekly
1d 11h
Sparkling Tuna Cup
2 days
PiGosaur Cup
3 days
Replay Cast
3 days
Kung Fu Cup
3 days
Replay Cast
4 days
[ Show More ]
The PondCast
4 days
Replay Cast
5 days
IntoTheTV X SOOP
5 days
RSL Revival
6 days
Liquipedia Results

Completed

Escore Tournament S3: W5
CranK Gathers Season 4: BW vs SC2 Team League
Eternal Conflict S2 Finale

Ongoing

CSL 2026 Summer (S21)
KCM Race Survival 2026 Season 3
ASL Season 22: Qualifier #1
RSL Revival: Season 6
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026

Upcoming

ASL Season 22: Qualifier #2
K-JUNGMAN
Acropolis #5
Escore Tournament S3: W6
Escore Tournament S3: W7
Escore Tournament S3: W8
CSLAN 4
HSC XXX
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
PiG Sty Festival 8.0
Thunderpick World Champ.
ESL Pro League Season 24
Stake Ranked Episode 4
Logitech G Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #5
BLAST Open Fall 2026
Esports World Cup 2026
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.