How are these numbers calculated?

Big Games

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

Week of 6/30100.0*Chance in playoffs100.0*Average seed
Mets 186 Red Sox 237 +9.8
+0.4
Royals 328.5 Dodgers 294 -4.3
-0.1
Phillies 351 Blue Jays 243 +3.0
+0.1
Astros 266 Cubs 329 +0.7
Twins 332 Rockies 327 -0.7
Rangers 290 Brewers 266 -0.5
Nationals 292 Yankees 248 +0.3
If winner is:HomeTieAway
Week of 7/7100.0*Chance in playoffs100.0*Average seed
Red Sox vs Giants+9.0*+0.2-9.0
+0.3+0.0-0.3
Blue Jays vs Rockies-4.2-0.9+4.2
-0.2-0.0+0.2
Royals vs Pirates-3.6-0.7+3.7
Rangers vs Phillies-0.4*+0.4+0.4
Twins vs Brewers-0.4*-0.2+0.4
Astros vs Mets-0.2*+0.3+0.2
Nationals vs Angels+0.1+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 Red Sox finish out the regular season.   Explain

100100100100100100100100100100100100
If finish:Chance inChance will finish regular season at seed
TWW-L-Tplayoffs123456789101112Count
167-0-0In7425116,357
15.56-0-1In7029104,571
156-1-0In385291113,519
5-0-2In385290545
14.55-1-1100.0%3154114027,982
4-0-3In23713335
145-2-099.584933100342,945
4-1-299.885132802,702
3-0-4In50502
13.54-2-197.74423417269,566
3-1-397.144930143136
134-3-090.40174825100569,437
3-2-290.101749241005,745
2-1-4In80205
12.53-3-177.3011392723093,931
2-2-380.474627190240
123-4-056.6232224120570,253
2-3-255.12312242205,676
1-2-466.73333336
11.52-4-133.011814598070,060
1-3-339.212415529176
112-5-017.10107592320341,669
1-4-214.80966023102,932
0-3-4Out1001
10.51-5-14.6032464270027,961
0-4-32.123062647
101-6-01.701026501930113,864
0-5-20.5127492120581
9.50-6-10.10841401014,600
90-7-0Out22343266016,360
Total:65.7%417291625720002,401,904
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/30100.0*Lottery seed
Mets 186 Red Sox 237 -1.0
Phillies 351 Blue Jays 243 -0.1
Royals 328.5 Dodgers 294 +0.1
Tigers 180 Giants 233 +0.1
Indians 225.5 Diamondbacks 222.5 -0.1
Nationals 292 Yankees 248 +0.0
Angels 253 Reds 221 +0.0
If winner is:HomeTieAway
Week of 7/7100.0*Lottery seed
Red Sox vs Giants-1.0+0.6+1.0
Royals vs Pirates+0.1-0.0-0.1
Blue Jays vs Rockies+0.1-0.1-0.1
Rays vs Dodgers-0.1-0.1+0.1
Nationals vs Angels+0.0-0.1-0.0
Tigers vs Cubs-0.1-0.0+0.1
Twins vs Brewers+0.1-0.0-0.1
Rangers vs Phillies-0.0-0.1+0.0

What If

100100100100100100100100100100100100100100100100100100100100100100100100
If finish:Chance will finish season at seed
TWW-L-T123456789101112131415161718192021222324
167-0-04147120
15.56-0-110434081
156-1-0104240800
5-0-2194234122
14.55-1-1110393612200
4-0-31129401433
145-2-01103736132000
4-1-207273523710
3-0-45050
13.54-2-10072433248120
3-1-31132443183
134-3-000621312381900
3-2-20210263319820
2-1-44060
12.53-3-1001822291718410
2-2-33176168420
123-4-00016152213349100
2-3-2011241121811310
1-2-4671717
11.52-4-1017251626186100
1-3-3138171119185
112-5-0004131932238100
1-4-201414183023820
0-3-4100
10.51-5-10040519322611200
0-4-322133432152
101-6-0020418332812300
0-5-21013123331174
9.50-6-10031329331840
90-7-000212283319510
Total:14912121197148532100000