Stata 15 help for mf_panelsum

Title

[M-5] panelsum() -- Panel sums

Syntax

real matrix = panelsum(X, [weights,] info)

where

X: real matrix, possibly a view weights: real colvector info: real matrix, from panelsetup()

Description

panelsum() computes within-panel sums of the columns of X according to the panel information in info.

Conformability

panelsum(X, weights, info): X: r x c weights: r x 1 (optional) info: K x 2, K = number of panels result: K x c

Source code

Function is built in.


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index