Command Reference : Function Reference : Function Reference: C
  
 
@cumbmean
Backward cumulative means of a series.
Decreasing samples calculation of the mean of the values in x.
Syntax: @cumbmean(x[, s])
x: series
s: (optional) sample string or object
Return: series
Compute the mean of the values in x from to the end of the workfile or from to the end of the optional sample s:
where is the last period of the cumulative process, and .
This function is panel aware.
Examples
show @cumbmean(x)
generates a linked series of the backward cumulative mean of the observations in series x.
Cross-references
See also @cumbsum, @cumbsumsq, and @cumbprod.
For the forward variant of this function, see @cummean.