For a given variable $X$, we compute the standard deviation. Now I removed $k$ observations from $X_n$ and I would like to compute the new standard deviation $\sigma_{(k)}$ using $\sigma_{n}$.
I found some algorithms to compute the standard deviation on-line for without one observation like this [formula][2]:
$\sigma_n^2=\frac{n-2}{n-1}\sigma^2_{n-1}+\frac{1}{n}(X_n-\bar{X_{n-1}})^2$
But it does not adapt to removing $k$ observations at once.
1- Is there a way to do it for $k$ observations ? (It works for the mean)
2- For which $k$ this is less expensive than computing the standard deviation from scratch?