Speaking Stata: Making it count
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.
View all articles by this author:
Nicholas J. Cox
View all articles with these keywords:
count, counting, data management, dropping variables, finding matches
Download citation: BibTeX RIS
Download citation and abstract: BibTeX RIS
|