• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 23:52
CET 05:52
KST 13:52
  • 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
Rongyi Cup S3 - Preview & Info3herO wins SC2 All-Star Invitational12SC2 All-Star Invitational: Tournament Preview5RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0
Community News
Weekly Cups (Jan 12-18): herO, MaxPax, Solar win0BSL Season 2025 - Full Overview and Conclusion8Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets4$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)25Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7
StarCraft 2
General
PhD study /w SC2 - help with a survey! herO wins SC2 All-Star Invitational Oliveira Would Have Returned If EWC Continued StarCraft 2 not at the Esports World Cup 2026 [Short Story] The Last GSL
Tourneys
$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) OSC Season 13 World Championship $70 Prize Pool Ladder Legends Academy Weekly Open! SC2 All-Star Invitational: Jan 17-18 Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Simple Questions Simple Answers
Custom Maps
[A] Starcraft Sound Mod
External Content
Mutation # 510 Safety Violation Mutation # 509 Doomsday Report Mutation # 508 Violent Night Mutation # 507 Well Trained
Brood War
General
[ASL21] Potential Map Candidates Which foreign pros are considered the best? Gypsy to Korea BGH Auto Balance -> http://bghmmr.eu/ Fantasy's Q&A video
Tourneys
[Megathread] Daily Proleagues Azhi's Colosseum - Season 2 Small VOD Thread 2.0 [BSL21] Non-Korean Championship - Starts Jan 10
Strategy
Current Meta Simple Questions, Simple Answers Soma's 9 hatch build from ASL Game 2 Game Theory for Starcraft
Other Games
General Games
Nintendo Switch Thread Battle Aces/David Kim RTS Megathread Stormgate/Frost Giant Megathread Beyond All Reason Awesome Games Done Quick 2026!
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
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread European Politico-economics QA Mega-thread Canadian Politics Mega-thread NASA and the Private Sector
Fan Clubs
The herO Fan Club! The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
How Esports Advertising Shap…
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1619 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
Replay Cast
00:00
Rongyi Cup S3 - Group D
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RuFF_SC2 227
StarCraft: Brood War
PianO 199
Snow 116
Shuttle 75
ZergMaN 51
Noble 26
Icarus 10
Bale 6
Dota 2
monkeys_forever506
NeuroSwarm126
febbydoto21
League of Legends
JimRising 871
Super Smash Bros
Mew2King318
Heroes of the Storm
Khaldor129
Other Games
tarik_tv19777
gofns13342
summit1g12243
WinterStarcraft375
ViBE150
Organizations
Other Games
gamesdonequick1329
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Berry_CruncH133
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota21673
League of Legends
• Scarra2450
• Lourlo620
Other Games
• Shiphtur35
Upcoming Events
RongYI Cup
6h 8m
herO vs ShoWTimE
Solar vs Classic
Wardi Open
9h 8m
Monday Night Weeklies
12h 8m
OSC
19h 8m
Replay Cast
1d 4h
RongYI Cup
1d 6h
Clem vs TriGGeR
Maru vs Creator
WardiTV Invitational
1d 9h
Replay Cast
2 days
RongYI Cup
2 days
WardiTV Invitational
2 days
[ Show More ]
The PondCast
3 days
HomeStory Cup
4 days
Korean StarCraft League
4 days
HomeStory Cup
5 days
Replay Cast
5 days
HomeStory Cup
6 days
Replay Cast
6 days
Liquipedia Results

Completed

BSL 21 Non-Korean Championship
OSC Championship Season 13
Underdog Cup #3

Ongoing

CSL 2025 WINTER (S19)
KCM Race Survival 2026 Season 1
Acropolis #4 - TS4
Rongyi Cup S3
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025

Upcoming

Escore Tournament S1: W6
Escore Tournament S1: W7
Acropolis #4
IPSL Spring 2026
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Nations Cup 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 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.