[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: Help with the record( ) function

From   "Nick Cox" <>
To   <>
Subject   RE: st: Help with the record( ) function
Date   Fri, 24 Aug 2007 19:08:51 +0100

Well, no. As documented in the help for -egenmore- -- 
which as pointed out by Carole Wilson, David Radwin, 
and Kit Baum himself is a user-written package -- 
-egen, record()- computes a series of records
(the maxima, or if desired, the minima) experienced
so far. Usually, but invariably, the context is one 
or more time series and so we see a series of records 
over time. 

If you want just the minima and maxima, go there 
directly with -egen-'s -min()- and -max()-, which 
are part of official Stata. Alternatively, use -summarize-. 


Jeff Simonson
> Thank you. That did the trick. It doesn't pull the max value of the
> observations as I had thought it would do, but at least it 
> now recognizes
> the function.
David Radwin 

> > Do you have -egenmore- (maintained by Nick Cox) installed?
> > 
> > If not, or if you are not sure, try:
> > 
> > ssc install egenmore

Jeff Simonson

> > >
> > >. egen highgpa = record(gpa), by(sid)
> > >unrecognized command:  _grecord
> > >r(199);

*   For searches and help try:

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