Stata Count
-count- counts the cases matching a condition.
Contents
Usage
Used alone, -count- returns the number of cases.
count
Used with a condition, it returns the number of cases matching it.
count if foo==1
Stored Results
-count- stores the number of cases matching the condition in r(N).
