Page 165 - Data Science Algorithms in a Week
P. 165
Regression
To estimate the constant b, we use the ratios between the sequence terms. We
5
know that b is approximately (56.5/47.5 + 67.2/56.5 + 79.9/67.2)/3=1.18928.
1/5
Therefore the constant b is approximately b=1.18928 =1.03528. Thus the
number of the bacteria in millions is:
n = 47.7 * 1.03528 m
At 11:00, which is 60 minutes later than 10:00, the estimated number of
bacteria is:
60
47.7*1.03528 =381.9 7.7*1.03528 =381.9 million.
60
[ 153 ]