Affiliation:
1. Department of Geography Durham University, UK
Abstract
The count command has one simple role, to count observations in general or that satisfy some condition(s). This task can be useful when some larger problem pivots on counting, especially if count is used with a loop over observations or variables. I use various problems, mostly of data management, as examples. I also make comparisons with the use of _N, summarize, and egen for the same or similar problems.
Subject
Mathematics (miscellaneous)
Cited by
7 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Speaking Stata: Compared with …;The Stata Journal: Promoting communications on statistics and Stata;2011-07
2. Speaking Stata: Finding Variables;The Stata Journal: Promoting communications on statistics and Stata;2010-07
3. Speaking Stata: Distinct Observations;The Stata Journal: Promoting communications on statistics and Stata;2008-12
4. Speaking Stata: Counting Groups, Especially Panels;The Stata Journal: Promoting communications on statistics and Stata;2007-12
5. Stata Tip 51: Events in Intervals;The Stata Journal: Promoting communications on statistics and Stata;2007-09