I forgot to expand on the figures:-
The easy way to work out what the average score would be if you allow all 7 drawn balls to count, is to work out the probability of matching the first of your 20 selected balls. With 49 possibilities, then if you compare your first ball with the seven drawn the probability of a match is 7/49 = 0.142857143. However you have 20 chances of doing this with 20 balls so 20 x 0.142857143. = 2.857142857.
The figures in the table you refer to can be calculated ( but using 7 drawn balls ) using Excels Hypgeomdist function. For example for a 7/49 lottery which is effectively what this is if we count the bonus ball as an equal then the probability of matching seven balls where your number of selections is 20 is given by =HYPGEOMDIST(7,20,7,49) =0.0009 . To get the others, you just substitute the first 7 in the formula for each of 6,5,4,3,2,1,0 to get the probabilities for each case of matching 6,5,4,3,2 and 0.
Probability,pool, number matched"
0.0009 20 Balls match 7
0.0131 20 Balls match 6
0.0733 20 Balls match 5
0.2061 20 Balls match 4
0.3152 20 Balls match 3
0.2627 20 Balls match 2
0.1106 20 Balls match 1
0.0182 20 Balls match 0
Note:-
to work out what match 7's average contribution to the final ball average would be, you multiply 0.0009 by 7 to get 0.00632
to work out what match 6's average contribution to the final ball average would be, you multiply 0.0131 by 6 to get 0.07851
to work out what match 5's average contribution to the final ball average would be, you multiply 0.0733 by 5 to get 0.36639
to work out what match 4's average contribution to the final ball average would be, you multiply 0.2061 by 4 to get 0.82438
to work out what match 3's average contribution to the final ball average would be, you multiply 0.3152 by 3 to get 0.94561
to work out what match 2's average contribution to the final ball average would be, you multiply 0.2627 by 2 to get 0.52534
to work out what match 1's average contribution to the final ball average would be, you multiply 0.1106 by 1 to get 0.11059
If you add up the figures in the last column to get the theoretical average score, it comes to ...............................2.857143