Descriptive Statistics Stata By Group. Here we will use the auto data file. Descriptive statistics for this tutorial we are going to use the auto dataset that comes with stata.
Descriptive statistics give you a basic understanding one or more variables and how they relate to each other. To load this data type sysuse auto clear the auto dataset has the following variables. This module shows common commands for showing descriptive information and descriptive statistics about data files.
Descriptive statistics and visualizing data in stata bios 514 517 r.
If you are new to stata we strongly recommend reading all the articles in the stata basics section. As you can see it tells us the number of observations in the file the number of variables the names of the variables and more. We ll use the summarize. Enter the quantitative variable for which you want descriptive statistics under variables check the group statistics by variable box and fill in the name of your grouping variable in the box beneath group statistics by variable.