
Learn how to create a dataset in Stata by typing data in the data editor, define key variables, adjust types, label, and save, then import from Excel.
Learn how to modify a dataset in Stata by creating new variables, dropping unused ones, renaming or replacing values, and adjusting data to reveal the story in the data.
Rename variables in a dataset with the rename command, such as changing level to a simpler name, and save changes with replace or use clear all to reset the workspace.
Explore how to use the replace command in Stata to modify values by observation, apply conditions with equals signs and and/or operators, and handle missing values with verification via tabulation.
An introduction to Stata: import the delimited survey dataset, explore variables like gender and age, and compute summary statistics to examine occupation popularity and gender and age differences.
This is an introductory course to Stata. The course assumed to previous knowledge of the software nor any statistical knowledge. The course does not teach statistics. The goal of the course is to teach students about the basic functionality of Stata and how it can be used to analyze large data sets. The course contains two projects for students to work on. It also provides a step-by-step approach in covering all of the material where I go through the commands one by one. In addition to the video lectures, I have included the scripts of the lectures so that students can also study and revise the material without having to watch videos. Although Stata comes with many data sets, this course utilizes my own data sets in order to explain to students the thought process involved in collecting data.