Descriptive Statistics Stata Command. You can use the detail option but then you get a page of output for every variable. Use the menu.
You can use the detail option but then you get a page of output for every variable. 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. Stata will sort the data in ascending order by default.
Stata provides the summarize command which allows you to see the mean and the standard deviation but it does not provide the five number summary min q25 median q75 max.
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. Description tabstat displays summary statistics for a series of numeric variables in one table possibly broken down on conditioned by another variable. Stata provides the summarize command which allows you to see the mean and the standard deviation but it does not provide the five number summary min q25 median q75 max. In by processing we can also sort the data and execute the by command at the same time using the bysort command.