Command Reference : Function Reference : Function Reference: C
  
 
@cumbprod
Backward cumulative products of a series.
Decreasing samples calculation of the product of the values in x.
Syntax: @cumbprod(x[, s])
x: series
s: (optional) sample string or object
Return: series
Compute the product 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. Note that this function is prone to numeric overflow.
This function is panel aware.
Examples
show @cumbprod(x)
generates a linked series of the backward cumulative product of the observations in series x.
Cross-references
See also @cumbsum, @cumbmean, and @cumbsumsq.
For the forward variant of this function, see @cumprod.