All Questions
1 question
1
vote
0
answers
105
views
How can I incrementally calculate the 4 central moments in statistics (mean, standard deviation, skewness and curtosis) when a value is removed?
I'm incrementally calculating the 4 central moments. When a value x is added and n, M1, M2, M3 and M4 are some predefined values, I'm using the following algorithm:
...