How are these numbers calculated?

Big Games

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

Week of 4/10100.0*Relegated100.0*Average seed
Hamilton Accies 0 Dundee Utd 1 No
+0.5
Motherwell 1 St Mirren 0 +0.0
St Johnstone 0 Aberdeen 1 +0.1
Celtic 6 Livingston 0 +0.1
If winner is:HomeDrawAway
Week of 4/21100.0*Relegated100.0*Average seed
Kilmarnock vs Dundee Utd-0.4-0.1+0.6
Hibernian vs Livingston+0.1-0.0-0.2
Ross County vs St Mirren+0.1+0.1-0.1
St Johnstone vs Rangers-0.2-0.0+0.0
Hamilton Accies vs Motherwell+0.1+0.0-0.1

What If

Chances based on how well Dundee Utd finishes out the regular season.   Explain

100100100100100100100100100100100100
If finish:ChanceChance will finish season at seed
TPW-D-Lwins title123456789101112RelegatedCount
544-0-0No24751No70,270,995
523-1-0No49060No184,166,471
513-0-1No841600No260,152,182
502-2-0No732610No181,782,162
492-1-1No5142700No510,782,498
482-0-2No28492110No356,770,564
1-3-0No38501210No79,332,827
471-2-1No14463450No332,445,477
461-1-2No32649202No461,533,624
0-4-0No63943111No12,907,355
451-0-3No09414010No212,102,915
0-3-1No11546326No71,701,314
440-2-2No03264824No148,288,066
430-1-3No084250No135,311,627
420-0-4No125721No46,535,931
Total:No13327211260No3,064,084,008
Points
Chance Will Win Championship