• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 05:57
CEST 11:57
KST 18: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
[ASL22] Ro8 Preview: In A Tizzy11[ASL22] Ro16 Preview: Holy Diver5[ASL22] Ro16 Preview: Rough Waters10[ASL22] Ro24 Preview: Siren's Call8[ASL22] Ro24 Preview: Summer's End9
Community News
Weekly Cups (Sep 13-20): herO scores triple2BSL Season 2313Weekly Cups (Sep 7-12): SHIN, ByuN, MaxPax double down1StarCraft open world shooter announced at BlizzCon101Weekly Cups (Aug 30-Sep 7): herO thrives amid growing schism10
StarCraft 2
General
How do you feel about the StarCraft shooter announcement at BlizzCon 2026? Balance hotfix patch 5.0.16b (July 16) Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Weekly Cups (Sep 13-20): herO scores triple The Death of Cheese: From a Professional Cheeser
Tourneys
2026 GSTL Grand Finals ScienceCraft (October 24-25) - Live Event Sparkling Tuna Cup - Weekly Open Tournament Master Swan Open (Global Bronze-Master 2) Stellar Fest TWO the Moon (Dec 16-20)
Strategy
[H] ZvP Mid-Late Game: Stalkers Collossi HT
Custom Maps
[M] (2) Sweltering Sands [M] (2) Frigid Storage
External Content
Mutation # 544 Double Trouble The PondCast: SC2 News & Results Mutation # 543 Enhanced Defenses Mutation # 542 The Ascended
Brood War
General
Bot on ladder StarCraft Human 'N' AI League an AI researcher's take on the ladder bot BW General Discussion BSL Season 23
Tourneys
[Megathread] Daily Proleagues [ASL22] Ro8 Day 2 [ASL22] Ro8 Day 1 [IPSL] IPSL is Back With Winter 26-27!
Strategy
Cliff Jump Revisited (1 in a 1000 strategy) Replay Review Process - What do you do? Simple Questions, Simple Answers Odyssey Mineral Stack Saturation
Other Games
General Games
Warcraft III: The Frozen Throne Stormgate/Frost Giant Megathread Nintendo Switch Thread EVE Corporation Diablo IV
Dota 2
Dota 2 Champions League Season 3 Begins April 25! Official 'what is Dota anymore' discussion
League of Legends
[TL LoL EUW IHs] Teemo shall perish
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Artificial Intelligence Thread All you football fans (soccer)!
Fan Clubs
MarineLorD Fan Club The Creator Fan Club The ShoWTimE Fan Club
Media & Entertainment
Movie Discussion! [Manga] One Piece Diablo Animated Series on Netflix
Sports
Football (Soccer) Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Recent Gifted Posts
Blogs
Violent-Cooperative Play and…
TrAiDoS
38 yo Retired SWE loo…
PurE)Rabbit-SF
Can Bots Beat Pros?? Starcr…
namkraft
[meme] I finally understa…
LUCKY_NOOB
Regacy Esports:Our Goa…
regacyesports
Customize Sidebar...

Website Feedback

Closed Threads



Active: 10178 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
GSL
08:00
2026 GSTL: Grand Finals
RotterdaM454
CranKy Ducklings SOOP136
SHIN 74
GSL EN (SOOP)0
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 454
LamboSC2 162
SHIN 69
Rex 32
StarCraft: Brood War
Britney 2553
EffOrt 902
actioN 816
ggaemo 582
BeSt 382
Barracks 317
Rush 214
PianO 139
Mong 73
ZerO 50
[ Show more ]
ToSsGirL 34
Bale 30
Light 30
NaDa 21
zelot 20
Sharp 16
ZergMaN 14
JulyZerg 10
sorry 9
HiyA 6
Dota 2
Gorgc5396
League of Legends
JimRising 502
Heroes of the Storm
Trikslyr53
Other Games
gofns28886
Livibee193
ArmadaUGS91
ZerO(Twitch)10
Organizations
Dota 2
PGL Dota 2 - Main Stream16115
StarCraft: Brood War
Afreeca ASL 283
Other Games
BasetradeTV200
[ Show 11 non-featured ]
StarCraft 2
• Berry_CruncH210
• LUISG 25
• Letter145
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Upcoming Events
Yamato Cup
5h 3m
BSL Open Qualifier
9h 3m
BSL Open Qualifier
9h 3m
OSC
13h 3m
Replay Cast
14h 3m
Afreeca Starleague
1d
Soma vs Jaedong
WardiTV Weekly
1d 1h
Monday Night Weeklies
1d 6h
Sparkling Tuna Cup
2 days
Afreeca Starleague
2 days
Leta vs Soulkey
[ Show More ]
PiGosaur Cup
2 days
Kung Fu Cup
3 days
The PondCast
4 days
Replay Cast
4 days
CranKy Ducklings
6 days
Online Event
6 days
FEL
6 days
BSL: Ladder Tournament
6 days
Liquipedia Results

Completed

Acropolis #5 - GSA
Blizzard Classic Cup 2026
Calamity Invitational

Ongoing

ASL Season 22
Super Anchor Qualifying S3
CSL 2026 AUTUMN (S22)
Acropolis #5
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3

Upcoming

Acropolis #5 - GSB
Acropolis #5 - GSC
BSL Season 23
SC4ALL II: Brood War
BSL 23: Non-Korean Championship
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
Custodian Cup
Copium Cup
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals Fall 2026
IEM Beijing 2026
Stake Ranked Episode 5
PGL Masters Bucharest 2026
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
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.