An Introduction to STATA
STATA is a fairly straightforward statistical package that has a wide range of statistical procedures. It combines features from both Graphic User Interface oriented software as well as more traditional (read legacy) command or syntax based approaches. Both approaches have their utility, and Stata has enough flexibility to let the user rely on either approach fairly comfortably.
It also has some useful support on line on their WebSite.
- Stata Website
- Resources for Learning Stata
- Introduction to Stata ( .pdf document)
This latter document makes a good tutorial.
This Web page providees a few basis:
First, find and execute stata (In other words, either find Stata in the Start > Programs hierarchy, or double click the STATA icon)
![]()
This brings up the Stata "desktop."

The desktop has several components
In addition, Stata has some other Windows you will need to use:
Like most windows programs, Stata uses a set of menu items from the top bar of the window. Run through them looking at the options available to you. Note especially the text label that appears if you pause the mouse over a button on the bar.
You run Stata by typing commands in the Command Window. Needless to say the first command you will likely enter is one to open a data set:. For instance, to open up the class data set on presidential approval, type
use "C:\WWW\DUVAL\ps601/Notes\Stata\presapp.dta", clear
Note that this command can be executed with the File > Open menu item in the Menu Bar as well
Also examine the Stata Results, Variables, and Review Windows after executing this command

The Stata Variables window simply lists all the variables in the Stata data set that is currently open. Variable
names can be added to the Command window, or to GUI procedure screens, by double-clicking variable names in this
window.

The Stata Review Window lists all of the Stata commands that have been executed since Stata opened. These can be repeated by double-clicking them and then clicking into the Command Window and hitting Enter.

There is a basic subset of comands that are useful in using Stata. In general they fall into four groups:
| File commands | Data manipulation | Statistical Commands | Misc Utilities |
|
|
|
|
There is a data set available to explore these commands, and several commands listed below have examples that use
this data set.. Try using each command and seeing how Stata responds when you use it. The data set is: presapp.dta
(Stata Data set)
Stata commands are executed by typing them in the STATA Command text box and then hitting return. For instance to describe the data in the open data set, type
describe
As shown

which produces the following resuls in the STATA results box.

Useful Statistical Procedures
- describe
- summarize
- tabulate