Jacob Wegelin posted a program based on repeated -tabulate-s to
check whether a variable contains any missing values.
Eva Poen suggested -count if missing(varname)-
David Airey suggested -assert missing(varname)- or -assert
!missing(varname)-.
Martin Weiss suggested -mdesc-, a user-written program by Rose Ann
Medeiros.
Kit Baum pointed out that no program is necessary as you can loop over
your variables using -foreach-.
Those who answered are all correct. Nevertheless, a convenience wrapper
for Kit's approach is downloadable as -nmissing-.
SJ-5-4 dm67_3 . . . . . . . . . . Software update for nmissing and
npresent
(help nmissing if installed) . . . . . . . . . . . . . . . N.
J. Cox
Q4/05 SJ 5(4):607
now produces saved results
The latest public version requires Stata 8, but older versions are also
downloadable: -search- for locations.
Nick
[email protected]
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/