misstable summarize[varlist][if][in][, summarize_options] 1. 运行命令misstable和选项all可以直接输出指定变量串中所有变量的缺失情况。如果变量本身没有缺失值,表格结果显示为空;由于misstable只能识别数值型变量的缺失值,无法识别字符型变量的缺失值,所以,对于字符型变量来说,表格结果显示为“(string variable)...
misstable summarize[varlist][if][in][, summarize_options] 运行命令misstable和选项all可以直接输出指定变量串中所有变量的缺失情况。如果变量本身没有缺失值,表格结果显示为空;由于misstable只能识别数值型变量的缺失值,无法识别字符型变量的缺失值,所以,对于字符型变量来说,表格结果显示为“(string variable)”。
tabulate(#)set tables/summary statistics threshold;default is tabulate(9)problems report potential problems in dataset detail display detailed report on the variables;only with problems compact display compact report on the variables dots display a dot for each variable processed;only with compact Langua...
常见命令:tabulate、stem、codebook、summarize、list、histogram、graph box、gragh matrix step1.用codebook、summarize、histogram、graph boxs、graph matrix、stem看检验数据的总体情况: codebook y x1 x2 summarize y x1 x2,detail histogram x1,norm(正态直方图) graph box x1(箱图) graph matrix y x1 x2,h...
2.2 命令commandby varlist: command varlist =xp If exp In range weight , options打开美国汽车数据文件auto.dta.后而的clear表示先淸除存中可能.cd il:/stata9 use auto, dear.summarize.summarize allsum.su s存在的数据集严很多命令可单独使用,单独使用时,一般是对所有变量进 行操作,等价于后面加上代表...
1、summarize 命令格式:su、sum或者summarize [varlist] [if] [in] [weight] [,options] 如果summarize或sum后不加任何变量,则默认对数据中的所有变量进行描述统计 options选项:detail表示产生更加详细的统计变量 Separator(n)表示每n个变量画一条分界线,n=0表示禁止使用分界线 Summarize描述统计输出表中包含:样本...
15、escodebookDetailedcontentsofadatasetlogCreatealogfilesummarizeDescriptivestatisticstabulateOne-&two-wayfrequencytablestabstatTableofdescriptivestatisticsstemStem-and-leafplotgraphHighresolutiongraphssortSortobservationsinadatasethistHistogramofacategoricalvariablecorrelateCorrelationspwcorrPairw 16、isecorrelationstypeDisplay...
Label variable tc ` “total output” ’(6)审视数据 describe list x1 x2 list x1 x2 in 1/5 list x1 x2 if q>=1000 drop if q>=1000 keep if q>=1000 (6)考察变量的统计特征 summarize x1 su x1 if q>=10000 su q,detail su tabulate x1 correlate x1 x2 x3 x4 x5 x6 (7)画图 ...
命令与句未结束,下一行接着上一行的Ctrl+D //快速执行当前do文档中的所有命令语句help window manage //界面风格设定帮助Edit-->Preference //界面风格设定按钮选择* //行开头使用星号代表该行处于非命令执行状态,可作文字说明pwd // 显示stata当前工作的路径edit // 打开数据编辑器,可在里面进行复制粘贴,如从...
Help describe十五、描述性统计量 1、summarize incorporationyear 单个summarize incorporationyear-big6 连续多个summarize _all or simply summarize 所有 2、更详细的统计量 summarize incorporationyear, detail 3、centilecentile auditfees, centile(0(10)100) centile auditfees, centile(0 7、(5)100) 4、tabulate...