
Using the menu even once can be a great way to get a feel for this command's syntax. You can always click on it again to place it back in the Command window, change the options, and resubmit it. Once you have submitted the command, it will appear in the Review window. Finally, the Options tab allows you to change the appearance of the table and save the list of summary statistics. The Weights tab is for cases where the data is weighted. All of the statistics that you select will be displayed in a single table.Īdditionally, the by/if/in tab will repeat the command for additional categorical variables (by) or allow you to only run the command on cases satisfying some condition (if) using a range of observations (in). Check a box to activate a menu, and select your statistic of choice.
#Stata descriptive statistics series#
Finally, at the bottom is a series of drop-down menus with a variety of other statistics available. The menu immediately under it allows you to select a grouping variable when the box next to itis checked. Use the first drop-down menu to select a variable to summarize. Selecting Compact t able of summary statistics brings up the tabstat menu.

Note: There are two similar options under the Other tables menu, make sure you select the first one (compact, not flexible). Therefore, go to Statistics => Summaries, Tables, and Tests => Other tables => Compact table of summary statistics. computing and reporting summary/descriptive statistics graphical visualization measures of association, significance tests conducting linear regression and. The tabstat command is one of the rare cases where it is probably best and certainly fastest to use the menu. The summarize command cannot be split using by, so it will not summarize things by a category, thus you may want to use tabstat to get descriptives split by gender or gender and grade. Telling Stata to summarize, detail yields a wealth of information.

One particularly useful options for summarize is the, detail option. deviation, min and max) the command is simply summarize if you do not specify a variable, Stata will print them all. To obtain the most basic descriptives (N, mean, std. The first of these is the summarize command and the second is tabstat. Like many things in Stata, there is no single right way to get the program to display descriptives.
