On Tue, 1 Jul 2008, Gordon Hughes wrote:
This script is a rather cumbersome way of trying to get round the
apparent
lack of certain functions that would be very useful for handling panel
data. These are:
A. $period - give access to the period indicators within each panel unit,
similar to $unit.
genr time does that already
B. pnumb(x) - returns a series contining the numbers of non-missing
values for the series x for each panel unit (similar to pmean).
C. pmax(x) - returns a series containing the maximum values of series x
for each panel unit.
D. pmin(x) - returns a series containing the minimum value of series x
for each panel unit.
these are now in CVS, except I used pnobs() instead of pnumb().
Riccardo (Jack) Lucchetti
Dipartimento di Economia
Università Politecnica delle Marche
r.lucchetti(a)univpm.it
http://www.econ.univpm.it/lucchetti