Stata Journal 中的
missings 提供了一组子命令。
search dm0085 将产生一个指向文件最新版本的可点击链接。
the Stata Journal 中的文章将出现在 2018 年 12 月或 2019 年 1 月 Stata Journal 18(4) 出版的付费墙后面。
在此之前,甚至之后,in the Statalist announcement 的示例给人以很大的味道。
这是一个令牌:
. webuse nlswork, clear
(National Longitudinal Survey. Young Women 14-26 years of age in 1968)
. missings report
Checking missings in all variables:
15082 observations with missing values
age 24
msp 16
nev_mar 16
grade 2
not_smsa 8
c_city 8
south 8
ind_code 341
occ_code 121
union 9296
wks_ue 5704
tenure 433
hours 67
wks_work 703
. missings report, min(1000)
Checking missings in all variables:
15082 observations with missing values
union 9296
wks_ue 5704
此命令被视为取代nmissing。
2014 年 7 月 9 日以下的原始帖子
各种命令帮助。参见例如codebook。对于一个用户编写的命令,安装nmissing。
. search nmissing, historical
Search of official help files, FAQs, Examples, SJs, and STBs
FAQ . . . . . . Can I quickly see how many missing values a variable has?
. . . . . . . . . . . . . . . . . . UCLA Academic Technology Services
7/08 http://www.ats.ucla.edu/stat/stata/faq/nmissing.htm
Example . . . . . . . . . . . . . . . . . . . . Useful non-UCLA Stata programs
. . . . . . . . . . . . . . . . . . UCLA Academic Technology Services
7/08 http://www.ats.ucla.edu/stat/ado/world/
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
SJ-3-4 sg67_2 . . . . . . . . . . Software update for nmissing and npresent
(help nmissing, npresent if installed) . . . . . . . . . . N. J. Cox
Q4/03 SJ 3(4):449
updated to include support for by, options for checking
string values that contain spaces or periods, documentation
of extended missing values .a to .z, and improved output
STB-60 dm67.1 . . . . Enhancements to numbers of missing and present values
(help nmissing if installed) . . . . . . . . . . . . . . . N. J. Cox
3/01 pp.2--3; STB Reprints Vol 10, pp.7--9
updated with option for reporting on observations
STB-49 dm67 . . . . . . . . . . . . . Numbers of missing and present values
(help nmissing if installed) . . . . . . . . . . . . . . . N. J. Cox
5/99 pp.7--8; STB Reprints Vol 9, pp.26--27
commands to list the numbers of missing values and nonmissing
values in each variable in varlist
这是一个例子:
. webuse nlswork
(National Longitudinal Survey. Young Women 14-26 years of age in 1968)
. nmissing
age 24
msp 16
nev_mar 16
grade 2
not_smsa 8
c_city 8
south 8
ind_code 341
occ_code 121
union 9296
wks_ue 5704
tenure 433
hours 67
wks_work 703