508

1. Using the formulation in Section 10.3, plot the bet size (m) as a function of the maximum predicted probability

2. Draw 10,000 random numbers from a uniform distribution with bounds

(a) Compute the bet sizes m for

(b) Assign 10,000 consecutive calendar days to the bet sizes.

(c) Draw 10,000 random numbers from a uniform distribution with bounds

(d) Form a pandas series indexed by the dates in 2.b, and with values equal to the index shifted forward the number of days in 2.c. This is a t1 object similar to the ones we used in Chapter 3.

(e) Compute the resulting average active bets, following Section 10.4.