Overall System Status:
Stata is campus-licensed statistical software. The two supported versions at Dartmouth are Intercooled (IC) Stata 12 and 13 for Windows and Mac OS X machines.
You can download the software from the software download site. Follow the link for your computer, and then choose "Windows" or "Macintosh" then "Academic Software." You'll find Stata in the list.
KeyAccess (K2Client) allows you to run KeyServed applications. KeyServed applications are controlled by a network server which limits the number of simultaneous users to match our license agreement with the vendor. The Dartmouth KeyServer address is keyserver.dartmouth.edu. This must be set in the KeyAccess setup dialog. Computers must be on the Dartmouth network, or using the Dartmouth VPN, to use KeyServed software.
Stata will download as a Zip file for Windows computers and as a DMG file on Macintosh computers.
For Windows users, open Zip folder (Stata13) and then Stata13 Installer and double click the Stata13MSI file. When the installation is complete, launch the program by clicking Start then All Programs then Stata13 then StataIC 13 (64-bit) or StataIC13 (32-bit) (If you are using 64-bit OS, you will see the former otherwise the latter) . Pull the STATA.LIC file in the download zip folder into Program Files (x86)/Stata13 if you were prompted to ask some license information.
For Stata12, substitute 12 for 13 in the above instructions
For Macintosh users, when the download is complete, click the file that was downloaded to mount it (this may happen automatically). To install the program:
v12: click the appropriate Install-Stata icon (most users will want the Intel version; old Macs may need the PPC version. This will save any existing Stata as Stata-old, then copy the new Stata to the Applications folder.
v13: Drag the Stata folder to Applications. v13 only works on Macs with OSX 10.6 and newer.
To uninstall the program, just delete the entire Stata folder from Applications.
When installing Stata, do not enable automatic updates, that can break the KeyServed version of Stata. You do not need to register the product.
If you have trouble please stop by the Student IT Service Desk for help. We are located in 178J Berry Library.
For questions about using Stata not answered on this page, or for consulting requests regarding statistics, contact Jianjun Hua at 646-6552 or firstname.lastname@example.org.
When you launch Stata, you'll see several windows that you'll use while working with the program:
Log files keep a record of the command statements you enter and Stata's output. Specifying a filename saves the log to a file; saving as a log format rather than the default SMCL format will allow you to open the log in other applications (like Word and Notepad).
A log file can be opened/started from the File - Log menu or with the log command. The replace option overwrites the log file; append adds to it. On or off option turns the logging on or off in the middle of a session; close option closes the log file.
log using "c:\my documents\clients\hsb.log", replace text
log off (you practice for a while, not wanting to save all your mistakes)
log on (you turn the log back on so you can save real work)
It's wise to open a log file at the beginning of a session, turning it on or off as you need to save commands and results.
Stata can read the following filetypes:
.dta - a data file in Stata format
.txt - data in ASCII (text) format
.raw - data in ASCII (text) format
.xls - a data file in Excel format
Different command statements are used to load data sets in different file formats. Most commonly you'll issue the use command to read Stata formatted data sets.
ssc install use13
You can often cut and paste data from other applications into Stata's data editor.
Data sets in Stata follow the format where rows are cases/observations and columns are variables.
Graphs do not get written to the log files. They must be saved using File-Save Graph
Last Updated: 11/7/13