Home  /  Products  /  Training  /  NetCourses  /  NC101: Introduction to Stata

< Return to NetCourses

NetCourse® 101: Introduction to Stata



Discounts available for enrollments of
five or more participants.

Course length: 6 weeks (4 lessons)
Dates: 12 July–23 August 2024
See course schedule.
See alternate dates.

Can’t wait? Enroll in NetCourseNow 101Learn more »

Learn how to use all of Stata's tools and become a sophisticated Stata user. You will understand the Stata environment, how to import and export data from different formats, how Stata's intuitive syntax works, data management in Stata, matching and merging, how to analyze subgroups of data, how to reproduce your work and document it for publication and review, how to interact with the Stata community online, and more.

Videos, lessons, examples, and exercises combine to develop your Stata skills.


  • Stata 18 installed and working
  • Knowledge of your computer
  • Internet web browser, installed and working
    (Course is platform independent.)

Course content

Lesson 1

  • Sample session
  • Main Stata window
    • Menus and dialogs
    • Command and Results windows
    • Review window
    • Variables window
  • Data Editor
    • Renaming and formatting variables
    • Hide, show, and order your data
  • Viewer
    • Installing user-written commands
  • Do-file Editor
  • Graph window and Editor

Lesson 2

  • Current working directory
  • Loading and saving data
  • Working with data
    • Stata’s command syntax
    • The data in memory
    • Value labels
    • Formats
    • Notes
    • Other kinds of labels
  • Keeping logs
  • Safe computing
  • Basic data reporting
  • Data manipulation
  • Making strings into numerical categorical variables
    • Doing things the long way
    • The second solution
    • The best solution
  • Observation subscripts _n and _N
  • Memory management

Note: There is a one-week break between the posting of Lessons 2 and 3; however, course leaders are available for discussion.


Lesson 3

  • Obtaining data
  • Import and export Excel data
    • import excel
    • export excel
  • Import and export text data
    • import delimited
    • export delimited
  • Other commands to import and export data
    • Import and export data from and to a database (ODBC)
    • Undelimited text data
    • Import and export SAS XPORT files
    • Import Haver databases
    • Import Federal Reserve Economic Data
    • Translate shapefiles
  • Reading dates and times

Lesson 4

  • Appending data
  • Merging data
    • Notes about merge
    • Merge with repeated variables
  • An example of append and merge
  • Wide versus long data
  • How to think about variables and their contents