Speaking Stata: How to Move Step By: Step

  • Cox N
N/ACitations
Citations of this article
100Readers
Mendeley users who have this article in their library.

This article is free to access.

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.

Cite

CITATION STYLE

APA

Cox, N. J. (2002). Speaking Stata: How to Move Step By: Step. The Stata Journal: Promoting Communications on Statistics and Stata, 2(1), 86–102. https://doi.org/10.1177/1536867x0200200106

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free