Command Reference
:
Function Reference
:
Function Reference: R
@rprod
By-Row Statistics
Row products in group.
Product across series in each row of the group.
Syntax:
@rsum
(
x
)
x
: group
Return: series
For each observation
corresponding to a row
in the group of
series, compute the product of the values,
Note that this function is prone to numeric overflow.
Examples
show @rprod(g
returns a linked series of the products of observations in the rows of group
g
.
Cross-references
See also
@rsum
.