Home Online Help Statistical Packages Stata

STATA

Stata is an interactive data analysis program which runs on a variety of platforms. Stata is installed on the Windows machines and Macs in OIT's public clusters and on the Windows machines in the DSS Data Lab.

Introduction/data manipulation

How can I get my data into Stata? Using Stat/Transfer. Most common transfers are from SPSS/SAS to Stata. From ASCII data. Use this link for resources when data is not in any propietary format (fixed-record form). A codebook or data layout is needed. From Excel. Stata 12+ can read Excel files directly. In Stata go to File->Import->Excel (make sure to check 'import first row as variable names'). From Excel. Stata 11 or older you can either copy-and-paste. Or save the excel file as csv and import it using 'insheet'.

Getting Started in Data Analysis. Stata tutorial to get started in data analysis (log file, set memory, describe and summarize data, frequencies, crosstabulations, descriptive statistics, scatterplots, histograms, recoding, renaming and creating new variables, merge, append and more), converting data from SPSS/SAS/Excel to Stata.

Reshape. Reshaping data using an example from World Development Indicators (a commonly used dataset for macro level data)

Merge/append data

Running Stata on Unix. Running Unix Stata in text mode, Stata for Unix with an X-Windows interface, running large jobs in the background

Statistical Analysis

Additional Resources