Description Usage Arguments Value
compute new mean and sd from old ones with one additional observation
1 | update_param(old_mean, old_sd, x_new, n_obs)
|
old_mean |
vector of old means |
old_sd |
vector of old standard deviation |
x_new |
new observation vector |
n_obs |
total number of observations (including x_new) |
list of two vectors: new mean and new standard deviation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.