Statalist


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

RE: st: Help with the record( ) function


From   Jeff Simonson <simonsonjt@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   RE: st: Help with the record( ) function
Date   Fri, 24 Aug 2007 11:16:13 -0700 (PDT)

Thank you. I appreciate the clarification.

-Jeff

--- Nick Cox <n.j.cox@durham.ac.uk> wrote:

> 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 
> n.j.cox@durham.ac.uk 
> 
> 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/
> 



       
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index