@cumbsumsq |

Backward cumulative sums of squares of a series.

Decreasing samples calculation of the sum of the squared values in x.

Syntax: @cumbsumsq(x[, s])

x: series

s: (optional) sample string or object

Return: series

Compute the sum of the squared 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.

This function is panel aware.

Examples

show @cumbsumsq(x)

generates a linked series of the backward cumulative sums of squares of the series x.

Cross-references

For the forward variant of this function, see
@cumsumsq.