How are these numbers calculated?

Big Games

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

Week of 6/16100.0*Chance in next round100.0*Average seed
Iran 0 Spain 1 +40.1
+1.0
Portugal 1 Morocco 0 -8.3
-0.1
If winner is:HomeDrawAway
Week of 6/21100.0*Chance in next round100.0*Average seed
Spain vs MoroccoInIn-28.8
+0.2-0.5-0.9
Iran vs Portugal-1.3-2.7In
+0.1+0.2-0.2

What If

Chances based on how well Spain finishes out the group.   Explain

100100100100
If finish:Chance inChance will finish group at seed
TPW-D-Lnext round1234Count
71-0-0In7723636,598,833
50-1-0In1090170,650,164
40-0-169.1%693159,894,859
Total:97.9%58392867,143,856
Points
Chance Will Make Next Round

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/16100.0*Lottery seed
Iran 0 Spain 1 -7.8
Portugal 1 Morocco 0 +0.4
If winner is:HomeDrawAway
Week of 6/21100.0*Lottery seed
Spain vs Morocco-1.9+4.5+7.6
Iran vs Portugal-0.3-0.8+0.6
Belgium vs Tunisia+0.1-0.1-0.3
Denmark vs Australia+0.1-0.1-0.2
South Korea vs Mexico-0.2-0.2+0.1
Germany vs Sweden-0.2-0.2+0.1
France vs Peru+0.1-0.1-0.2
England vs Panama+0.1-0.1-0.2
Serbia vs Switzerland+0.1-0.1-0.1
Serbia vs Brazil+0.1-0.1-0.1
Iceland vs Croatia-0.1-0.1+0.1
Argentina vs Croatia-0.1-0.1+0.1
Nigeria vs Iceland-0.1-0.1+0.0
Nigeria vs Argentina-0.1-0.1+0.0
Brazil vs Costa Rica+0.0-0.1-0.1
Switzerland vs Costa Rica+0.0-0.1-0.1
Uruguay vs Russia+0.0-0.1+0.0
Mexico vs Sweden+0.0-0.1+0.0
Denmark vs France+0.0-0.1+0.0
Japan vs Senegal+0.0-0.1+0.0

What If

100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100100
If finish:Chance will finish group at seed
TPW-D-L1234567891011121314151617181920212223242526272829303132
71-0-001381420201117510000
50-1-00000902102431195
40-0-1000282436611941000
Total:00261015151012412575301100000