Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: metrics
See also: summarize

Macro: panstats
Description: Computes summary statistics of the variables

Reference(s):

Usage: output=panstats(z,{T})
Input:
z NT x {2+} + k Matrix, dataset
T scalar, number of time periods for a BALANCED Dataset IMPORTANT: No column for the Index of Individuals! (Optional, only for a Dataset with the same T for all Individuals = BALANCED PANEL)
Output:
output string, output table with summary statistics

Example:
library("metrics")
z=read("earnings")
panstats(z)
Result:

[ 1,] " "
[ 2,] " N*T:       500,  N:     100,  Min T(i):   5,  Max T(i):   5"
[ 3,] "------------------------------------------------------------"
[ 4,] "     Minimum     Maximum      Mean    Within Var.% Std.Error"
[ 5,] "------------------------------------------------------------"
[ 6,] "        1350     1.3e+04        3938       17.87        1513"
[ 7,] "           5          45       24.25        2.27       9.351"
[ 8,] "           9          13        9.94      0.2764       1.319"
[ 9,] "           1           2        1.34           0      0.4742"
[10,] " "

Library: metrics
See also: summarize

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Author: Joerg Breitung 990316
(C) MD*TECH Method and Data Technologies, 17.8.2000