Speaking Stata: How to move step by: step
Abstract. The by varlist: construct is reviewed, showing how it can be
used to tackle a variety of problems with group structure. These range from
simply doing some calculations for each of several groups of observations to
doing more advanced manipulations making use of the fact that with this
construct, subscripts and the built-ins _n and _N are all
interpreted within groups. A fairly complete tutorial on numerical
evaluation of true and false conditions is included.
View all articles by this author:
Nicholas J. Cox
View all articles with these keywords:
by, sorting, subscripts, true and false, _n, _N
Download citation: BibTeX RIS
Download citation and abstract: BibTeX RIS
|