@cumsumsq |

Cumulative sums of squares of a series.

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

Syntax: @cumsumsq(x[, s])

x: series

s: (optional) sample string or object

Return: series

Compute the cumulative sum of the squared values in x from the start of the workfile or sample s, up to the current observation:

This function is panel aware.

Examples

series x = @cumsumsq(@nrnd) / (@trend + 1)

generates a random process x that converges in probability to 1.

Cross-references

For the backward variant of this function, see
@cumbsumsq.