Product.
Computes the product of the elements of x. Note that this function is prone to numeric overflow.
Syntax: @prod(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
= @prod(x)
returns 120 (or equivalently, 5!).
Cross-references
See also
@inner,
@sum, and
@sumsq.