Statalist


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

RE: st: Help with the record( ) function


From   "Nick Cox" <[email protected]>
To   <[email protected]>
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-. 

Nick 
[email protected] 

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:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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