@rsumsq |

Row sums of squares.

Sums of squared values for each row of the group

Syntax: @rsumsq(x)

x: group

Return: series

For each observation corresponding to a row in the group of series, compute the sum of squared values,

Examples

show @rsumsq(g

returns a linked series of the sums of squares in the rows of group g.

Cross-references

See also
@rsum.