Descriptive Statistics Stata Command. One way to sort data is using a simple sort command followed by the variable name. Summary statistics for one quantitative variable over one categorical variable.
For each variable in the command s varlist it selects observations that correspond to chosen alternatives and displays statistics categorized by the chosen alternatives. The sysuse command loads a specified stata format dataset that was shipped with stata. Tab class sum edu gives.
Getting an overview of your file.
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. Opening saving stata files dta to open files already in stata with extension dta run stata and you can either. See cm cmtab for the full capabilities of the command. Description tabstat displays summary statistics for a series of numeric variables in one table possibly broken down on conditioned by another variable.