Arithmetic sum of squares.
Computes the sum of the squared elements of x.
Syntax: @sumsq(x[, s])
x: series, vector, matrix
s: (optional) sample string or object when x is a series and assigning to a series
Return: number
For series calculations, EViews will use the current or specified workfile sample.
Examples
If x is a series of length 5 whose elements are 1, 2, 3, 4, 5, then
= @sumsq(x)
returns 55.
Cross-references
See also
@inner,
@prod, and
@sum.