Subscribe Bookmark RSS Feed

How to get accumulative mean and accumulative standard deviation?

zoulanlan

Community Trekker

Joined:

May 14, 2013

does anyone know how to get accumulative mean and accumulative standard deviation?  that is, I want to get accumulative mean and standard deviation from column1;

column 1  ;  accumulative mean  ; accumulative deviation

1                           1                             0

2                            1.5                         0.707

3                             2                           1.000

4                             2.5                         1.291

could anybody show me the script?  Thank you very much for your help!