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: panel
See also: summarize summarizex

Quantlet: panstats
Description: computes summary statistics of the variables

Usage: summ=panstats(z{, T})
Input:
z NT x {2+}k matrix of panel data
T optional scalar, number of time periods for a BALANCED data set. (for a data set with the same T for all individuals = BALANCED PANEL)
Output:
summ string, table with summary statistics

Example:
library("panel")
z=read("earnings")
panstats(z)

Result:
Contents of summ
[ 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,] " "



Author: J. Breitung, 20011012 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006