How are these numbers calculated?

Big Games

How we did last week and who we should root for this week.   Explain

Week of 6/3100.0*Chance in playoffs100.0*Average seed
Dodgers 108 Astros 79 -9.7
-0.5
Rockies 132 Angels 252 -3.3
-0.1
Cubs 172 Blue Jays 205 -1.0
Pirates 126 Red Sox 105 +0.6
+0.1
Royals 72 Nationals 210 *+0.1
Twins 123 Mets 98 -0.0
If winner is:HomeTieAway
Week of 6/10100.0*Chance in playoffs100.0*Average seed
Angels vs Astros-20.3*+0.2+17.4
-0.7-0.1+0.6
Blue Jays vs Rays-0.5+1.6+4.7
-0.0+0.0+0.1
Red Sox vs Yankees-0.8+1.8+3.0
-0.0+0.0+0.1
Twins vs Royals-0.0-0.0+0.1

* A starred number could be exactly 0 or just really small. The simulation did not run long enough to know.

What If

Chances based on how well the Astros finish out the regular season.   Explain

100100100100100100100100100100100100
If finish:Chance inChance will finish regular season at seed
TWW-L-Tplayoffs123456789101112Count
1711-0-0In73261174,500
16.510-0-1In4946654,828
1610-1-099.6%27581230765,359
9-0-2100.0295911007,760
15.59-1-198.78533251213,448
8-0-399.510602820661
159-2-088.233833141201,424,067
8-1-292.13433610826,767
7-0-492.939467728
14.58-2-177.50184613220351,427
7-1-381.20204912192,030
148-3-050.00829125001,471,824
7-2-256.4010351143038,169
6-1-459.21033164198
13.57-3-134.7022576320316,641
6-2-335.022676322,483
5-1-566.73333333
137-4-015.9011148040928,407
6-3-218.4114477429,662
5-2-417.8135776107
4-1-6Out1001
12.56-4-18.407176150170,660
5-3-39.28275161,559
4-2-5Out1001
126-5-02.902176200372,604
5-4-23.50317620013,455
4-3-41.92801954
11.55-5-11.3105741157,572
4-4-31.11058401569
115-6-00.30051472099,138
4-5-20.610514623,643
3-4-4Out594122
10.54-6-10.10029665012,364
3-5-3Out32626131
2-4-5Out1001
104-7-00.00226413017,192
3-6-2Out2266120638
2-5-4Out67333
9.53-7-10.109662411,736
2-6-3Out683219
93-8-0Out54940601,922
2-7-2Out75238456
8.52-8-1Out13451131145
1-7-3Out50502
82-9-0Out12572741138
1-8-2Out5025254
7.51-9-1Out1750336
71-10-0Out253825138
60-11-0Out4355290680
Total:58.1%6212283840000006,562,592
Games Above .500
Chance Will Make Playoffs

Lottery

Ye of little faith, already thinking about next year. Here are the big games and what ifs for draft seeds.

Big Games

Week of 6/3100.0*Lottery seed
Dodgers 108 Astros 79 +1.0
Rockies 132 Angels 252 +0.1
Cubs 172 Blue Jays 205 +0.1
Pirates 126 Red Sox 105 -0.0
Twins 123 Mets 98 +0.0
Royals 72 Nationals 210 +0.0
If winner is:HomeTieAway
Week of 6/10100.0*Lottery seed
Angels vs Astros+1.2+0.4-1.0
Blue Jays vs Rays+0.0-0.2-0.3
Red Sox vs Yankees+0.1-0.2-0.2
Mets vs Nationals-0.1-0.1+0.0
Twins vs Royals+0.0-0.1-0.1
Pirates vs Brewers+0.0-0.1-0.1

What If

100100100100100100100100100100100100100100100100100100100100100100100100
If finish:Chance will finish season at seed
TWW-L-T123456789101112131415161718192021222324
1711-0-05737600
16.510-0-11539331220
1610-1-0123734143000
9-0-2110283522500
15.59-1-118253424601
8-0-30620403040
159-2-01621312370120
8-1-20041736323080
7-0-42150217
14.58-2-1003133029302200
7-1-30214442001710
148-3-000281919204910
7-2-2019311404030
6-1-41245228112
13.57-3-10015199060500
6-2-3111203431930
5-1-56733
137-4-0000294077700
6-3-20061115325400
5-2-411161942193
4-1-6100
12.56-4-1002515929400
5-3-306320372760
4-2-5100
126-5-0001206131500
5-4-2021214227710
4-3-42417373362
11.55-5-1010214327710
4-4-31121131381610
115-6-0000214328710
4-5-20021234341520
3-4-496823
10.54-6-10021334351420
3-5-36273321121
2-4-5100
104-7-00011333351520
3-6-214203629910
2-5-43367
9.53-7-100051936291020
2-6-3115532111
93-8-00218353111200
2-7-2420382911
8.52-8-114193425143
1-7-35050
82-9-07124127104
1-8-2252550
7.51-9-1175033
71-10-0503813
60-11-008464510
Total:3710121310203551000000000000