Description Usage Arguments Value
Online algorithm for updating a given std when a new value is added http://stats.stackexchange.com/questions/24878/computation-of-new-standard-deviation-using-old-standard-deviation-after-change Algorithms for calculating variance : http://en.wikipedia.org/wiki/Algorithms_for_calculating_variance TODO: check for numerical stability
1 |
stdev |
The current standard deviation |
avg |
The current average value |
cnt |
The number of elements before the new value |
val |
The new value |
na.rm |
Whether to remove NA values |
The new standard deviation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.