One case

For an intercept-only predictor ww, a case with response yy has loss 12(w−y)2\tfrac12(w-y)^2. At w=0w=0, what is the online gradient for the case y=7y=7 from the responses 1,3,5,71,3,5,7?

The gradient is 0−7=−70-7=-7. It is an unbiased draw from the four case gradients −1,−3,−5,−7-1,-3,-5,-7, whose mean is −4-4, but this particular draw is far from −4-4.