Let's say I have a data set of {10, 20, 30}
. My mean and variance here are mean = 20
and variance = 66.667
. Is there a formula that lets me calculate the new variance value if I was to remove 10
from the data set turning it into {20, 30}
?
This is a similar question to https://math.stackexchange.com/questions/3112650/formula-to-recalculate-variance-after-removing-a-value-and-adding-another-one-gi which deals with the case when there is replacement. https://math.stackexchange.com/questions/775391/can-i-calculate-the-new-standard-deviation-when-adding-a-value-without-knowing-t is also a similar question except that deals with adding adding a value instead of removing one. Removing a prior sample while using Welford's method for computing single pass variance deals with removing a sample, but I cannot figure out how to modify it for dealing with population.