查看某变量的缺失值数量
tab x,m
tabulate oneway -- One-way table of frequencies
tabulate varname [if] [in] [weight] [, tabulate1_options]
|tabulate1_options(main) |Description|
| ---: |:--- |:---😐
| subpop(varname)| exclude observations for which varname = 0|
| missing | treat missing values like other values|
| nofreq | do not display frequencies|
|nolabel| display numeric codes rather than value labels|
|plot | produce a bar chart of the relative frequencies|
| sort | display the table in descending order of frequency|
|tabulate1_options(Advanced) |Description|
| ---: |:--- |:---😐
|generate(stubname) | create indicator variables for stubname|
|matcell(matname) | save frequencies in matname; programmer's option|
|matrow(matname) | save unique values of varname in matname; programmer's option|

浙公网安备 33010602011771号