Bias correction

In the quiz, the question asked: given theta1=10 degrees celsius, and theta2 = 10 degree celsius, and beta = 0.5, what is the v2 with and without bias correction.
I calculated v2 with bias correction like below:
v0 = 0
v1 = (0.5 * 0 + 0.5 * 10)/(1-power(0.5, 1)) = 10
v2 = (0.5 * 10 + 0.5 * 10)/(1-power(0.5, 2)) = 13.333

The answer does not have v2 = 13.333, is my calculation incorrect ?

1 Like

Hi @mc04xkf,

In the lecture Andrew writes the formula for v_t^{corrected} as \frac{v_t}{1-\beta^t}.

So, in order to get v_t^{corrected} you first need to compute v_t without bias correction.

For this case in particular in the computation of v_2 you should use the version of v_1 without bias correction.

Hope that helps.

2 Likes

I had the same question while solving the W2 quiz, and this thread clearly answered it! Thanks @mc04xkf and @kampamocha !