Backward cumulative variances (sample, d.f. corrected) of a series.
Decreasing samples calculation of the sample (d.f. corrected) Pearson product moment variance.
Syntax: @cumbvars(x, [s])
x: series
s: (optional) sample string or object
Return: series
The sample variance for each observation

is calculated as:
where

is the last period of the cumulative process,

, and

is the mean of

over the last

observations.
This function is panel aware.
Examples
show @cumbvars(x)
generates a linked series of the backward cumulative sample variance of the series x.
Cross-references
For the forward variant of this function, see
@cumvars.