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
Phillies 351 Blue Jays 243 -6.9
-0.4
Royals 328.5 Dodgers 294 -2.4
Mets 186 Red Sox 237 -2.2
-0.1
Astros 266 Cubs 329 +0.9
Nationals 292 Yankees 248 +0.6
Twins 332 Rockies 327 -0.4
-0.1
Angels 253 Reds 221 -0.1
-0.1
If winner is:HomeTieAway
Week of 7/7100.0*Chance in playoffs100.0*Average seed
Blue Jays vs Rockies+9.8-1.8-9.7
+0.4+0.0-0.4
Royals vs Pirates-4.5-2.7+4.6
-0.1-0.0+0.1
Red Sox vs Giants-3.3*-0.3+3.3
-0.1+0.0+0.1
Twins vs Brewers-0.6*-0.5+0.6
Astros vs Mets-0.6*+0.2+0.6
Yankees vs Diamondbacks-0.4*+0.4+0.4
Rangers vs Phillies-0.2*-0.0+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 Blue Jays finish out the regular season.   Explain

100100100100100100100100100100100100
If finish:Chance inChance will finish regular season at seed
TWW-L-Tplayoffs123456789101112Count
167-0-0In927016,663
15.56-0-1In8118004,709
156-1-0In613441114,248
5-0-2In623530607
14.55-1-1100.0%394984027,851
4-0-3In454013340
145-2-099.9194823100342,098
4-1-2In19492392,830
3-0-4In33673
13.54-2-198.26433217270,030
3-1-396.364829144161
134-3-094.9221442950569,717
3-2-295.5122452855,662
2-1-488.9114433119
12.53-3-179.8011393020093,152
2-2-378.710373221216
123-4-067.10231333120569,574
2-3-266.10230343225,698
1-2-4Out1001
11.52-4-137.211818558069,628
1-3-344.712222515190
112-5-023.20914512420342,394
1-4-222.608145223202,813
10.51-5-16.03346417027,876
0-4-33.7463221127
101-6-02.31120482540113,893
0-5-21.61124482420566
9.50-6-10.200739421114,620
90-7-00.0011541349016,628
Total:70.6%716262120720002,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
Phillies 351 Blue Jays 243 +0.9
Mets 186 Red Sox 237 +0.1
Angels 253 Reds 221 +0.1
Royals 328.5 Dodgers 294 +0.0
Nationals 292 Yankees 248 +0.0
Twins 332 Rockies 327 +0.0
Tigers 180 Giants 233 +0.0
If winner is:HomeTieAway
Week of 7/7100.0*Lottery seed
Blue Jays vs Rockies-1.0+0.6+1.0
Royals vs Pirates+0.2+0.0-0.2
Red Sox vs Giants+0.1-0.1-0.1
Nationals vs Angels+0.0-0.2-0.0
Rays vs Dodgers-0.1-0.1+0.1
Tigers vs Cubs-0.1-0.1+0.1
Twins vs Brewers+0.1-0.0-0.1

What If

100100100100100100100100100100100100100100100100100100100100100100100100
If finish:Chance will finish season at seed
TWW-L-T123456789101112131415161718192021222324
167-0-0454870
15.56-0-113493260
156-1-0124635700
5-0-211240341120
14.55-1-11133834122000
4-0-352538258
145-2-01123735132000
4-1-21724372471
3-0-46733
13.54-2-10172434248120
3-1-311330302331
134-3-000622332491500
3-2-202112736204100
2-1-48911
12.53-3-101822311716410
2-2-32175986611
123-4-00016182615257100
2-3-20214509138300
1-2-4100
11.52-4-1018281525175100
1-3-3243212171761
112-5-00005181830217100
1-4-202214152621820
10.51-5-1061519322610200
0-4-3441144307
101-6-000204183228122000
0-5-2202153032163
9.50-6-10031331321730
90-7-0000212283319510
Total:159121312118117532100000