How are these numbers calculated?

Big Games

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

Week of 4/3100.0*Chance wins title100.0*Promoted100.0*Average seed
Dunfermline 0 Hearts 0 +0.2
+0.1
+0.0
If winner is:HomeDrawAway
Ayr Utd vs Dundee+0.1+0.0-0.1
Morton vs Inverness CT+0.1+0.1-0.1
If winner is:HomeDrawAway
Week of 4/10100.0*Chance wins title100.0*Promoted100.0*Average seed
Hearts vs Alloa Athletic-0.6+0.5+2.0
-0.5+0.4+1.6
Queen of the South vs Raith Rovers-0.8-0.6+0.7
-1.3-0.5+0.9
-0.3-0.1+0.2
Raith Rovers vs Arbroath+0.6-0.6-0.8
+0.8-0.6-1.3
+0.2-0.1-0.3
Dundee vs Morton-0.1+0.0+0.1
-0.1+0.1+0.1
Dunfermline vs Dundee-0.1+0.0+0.1
+0.0+0.1-0.1
Queen of the South vs Inverness CT+0.0+0.1-0.1
Ayr Utd vs Dunfermline+0.1+0.0-0.1
+0.1+0.0-0.1

What If

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

100100100100100100100100100100
If finish:ChanceChance will finish season at seed
TPW-D-Lwins titlePromoted12345678910RelegatedCount
515-0-025.6%38.0%2674No226,436,613
494-1-04.820.75950No647,842,969
484-0-11.417.81971No777,665,269
473-2-00.316.90981No740,696,946
463-1-1No16.79460No1,741,831,080
453-0-2No16.7831700No992,156,099
2-3-0No16.79190No418,261,511
442-2-1No16.7782200No1,448,191,289
432-1-2No16.7574030No1,623,208,583
1-4-0No16.7683120No116,820,377
422-0-3No16.634551100No590,486,926
1-3-1No16.64548700No530,211,640
411-2-2No16.523571910No878,231,151
0-5-0No16.634531210No12,909,989
401-1-3No15.584738700No630,411,405
0-4-1No16.012523240No72,189,861
391-0-4No12.7126492220No165,738,731
0-3-2No13.8332481610No157,248,807
380-2-3No9.70134536600No167,192,846
370-1-4No4.60325502110No86,933,143
360-0-5No1.10738478000.0%20,701,485
Total:0.8%17.0%166247200000.0%12,045,366,720
Points
Chance Will Win Championship