In this lecture, we will get ourselves familiar with Stata interface. In this lecture, I have shared my journey with Stata as well. (Link)
In this session, we will be learning the following:
Setting the working directory.
Executing commands from do-file
Loading dataset using ‘import’ and ‘use’ command.
Importance of working directory.
Determining the unit of observation.
Extracting summary statistics.
Cross-tabulating categorical variables.
(Link)
In this session, we will be learning the following:
Finding variables in the dataset
Generating summary statistics using various ways.
Sorting the data.
Understanding the difference between variable and value labels and how to assign them.
(Link)
In this session, we will be learning the following:
Different Types of Dataset
Making use of egen command.
Learning to use _N & _n with gen command.
Interpretation of Correlation, Scatterplot & Regression.
(Link)
In this session, we will be learning the following:
Identifying duplicates in data.
Dealing with duplicates.
Merging datasets
Exporting Regression tables
(Link)
In this session, we will be learning the following:
Appending datasets
Reshaping data:
2.1. Reshaping data from long to wide.
2.2. Reshaping data from wide to long.
(Link)
In this session, we will be learning the following:
Cleaning string variables.
Using 'egen' to standardize variables.
(Link)
In this session, we will be learning the following:
Basics of loops in Stata.
Using 'foreach' to automate repetitive tasks.
(Link)
In this session, we will be learning the following:
Choosing the right visual.
Making graphs in Stata and improving the visual.
(Link)