Descriptive Statistics Stata By Group. Another way to bring excel data into Stata is by saving the Excel file as csvcomma separated values and import it in Stata using the insheetcommand. Default is varwidth12 columnsvariables display variables in table columns.
The default columnsstatistics display statistics in table columns format. Simple tables of summary statistics. Rohen Shah explains how to summarize and generate variables including a 5-number summary.
Suppose you have Statas dataset autodta and want to build a table in latex containing the descriptive statistics for the cars by origin that is foreign or national as indicated by the dummy foreign.
In this example Ill show how to use the basic installation of the R programming language to return descriptive summary statistics by group. The default columnsstatistics display statistics in table columns format. This article is part of the Stata for Students series. To send output from sum command to a Word document we shall type the following.
