Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: RE: bysort: and subscripts
From
"Nick Cox" <[email protected]>
To
<[email protected]>
Subject
st: RE: bysort: and subscripts
Date
Fri, 12 Mar 2010 10:49:47 -0000
Thanks for the plug. The article in question is accessible to all via
http://www.stata-journal.com/article.html?article=pr0004
Nick
[email protected]
Neal Beck
Incidentally, the answer to my question of yesterday opened up a whole
new world to me and greatly simplified my dealing with panel data.
Perhaps I am the only person on this list who did not know how bysort
redefined the meaning of _n. If you have panels and have not played with
this, I heartily recommend Nick Cox's 2002 SJ piece on some very cute
uses of bysort with panels.
Thanks to Nick and Maarten Buis for pointing out this trick to me. If
only I had RTFM'ed year ago!
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/