
Steven S. answered 07/19/22
Experienced Tutor Specializing in Probability and Statistics
Recall that following variance formula:
Var(X) = E[X^2] - (E[X])^2
By law of large numbers, you can replace the expectation with the average. So, E[X^2] can be replaced by the average of X^2 and E[X] can be replaced by the average of X.