TY - JOUR AU - Cox, Nicholas J. AB - 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. TI - Speaking Stata: How to Move Step By: Step JF - "Stata Journal, The" DO - 10.1177/1536867X0200200106 DA - 2002-03-01 UR - https://www.deepdyve.com/lp/sage/speaking-stata-how-to-move-step-by-step-DmFahen50z SP - 86 EP - 102 VL - 2 IS - 1 DP - DeepDyve ER -