Skip to Main Content

Statistical Analysis Software

This guides serves as an introduction to some Statistical Analysis Software. It aims to help patrons familiarize with five of the most popular statistical software.

STATA Tabs

We will reference these tabs throughout the manual

File; Edit; Data; Graphics; Statistics; User; Window; Help

How to Import Files

Steps for Importing a File

  1. Interface of STATA
  • Command: this is where you type your commands for running your program
  • Review: the commands typed will be listed in this window
  • Output: the largest window in the center is where all the results will be displayed
  • Variables: this window lists variables in your dataset
  • Properties: displays properties of your variables stored
  1. Other useful windows
  • Data Editor: Window -> Data Editor (or click on red button), this is where you can see the data frame you stored
  • Do-File Editor: Variables -> Do-File Editor (or click on blue button), this is where you can store the commands for future reference
  • Variables Manager: Window -> Variables Manager (or click on green button), this is where you can edit your variables manually
  1. File -> Change Working Directory: choose the location on your computer to retrieve the data
  2. File -> Import -> Text Data
  3. Now you can start your analysis. In the picture above, we chose a dataframe of height vs weight. 

How to Graph

Steps for Creating a Scatterplot:

  1. Input: graph twoway scatter y_variable, x_variable. In our example, we plotted y= weight, x=height
  2. Output displayed in the Graph window

How to Conduct Basic Statistical Analysis

Steps for Computing Summary Statistics

  1. Input: summarize variable_name. In our example, we summarized the variable weight
  2. Output displayed in the Output window

Steps for Fitting a Regression Model: 

  1. Input: regress y_variable x_variable. In our example, y= weight, x=height
  2. Output displayed in the Output window

Additional Resources

For additional help:

  • Typing help followed by topic or command, e.g. help summarize
  • Help Tab has many functionalities