Say I have the following list of numbers, each corresponding to a single day:
list = [1, 6, 7, 12, 5]
I can calculate the daily, rolling standard deviations between each as:
stds = [NaN, 3.54, 0.71, 3.54, 4.95]
Is it now possible to calculate the standard deviation across all values of list, using only the values of stds?
stdscontains the standard deviations between each successive pair of numbers. The first value is blank, since there is no number before 1. The second value is std(1, 6), the third value is std(6, 7), etc. – KOB Jan 16 '19 at 13:17