Descriptive Statistics Stata Command. Descriptive statistics summary data fev min 1q med mean 3q max mean data fev quantile data fev p c 0 25 0 5 0 75 table data smoke xtabs data smoke data female to get cross tabulation. Stata command for descriptive statistics tables.
Stata will sort the data in ascending order by default. Without the by option tabstat is a useful alternative to summarize see r summarize because it allows you to specify the list of statistics to be displayed. Go to file open or in the command window type use c mydata mydatafile dta if your working directory is already set to c mydata just type use mydatafile.
Stata will sort the data in ascending order by default.
For each variable in the command s varlist it selects observations that correspond to chosen alternatives and displays statistics categorized by the chosen alternatives. You can use the detail option but then you get a page of output for every variable. Descriptive statistics for cm variables the cmsummarizecommand produces descriptive statistics for cm variables. Stata command for descriptive statistics tables.
