1. Introduction This module illustrates (1) how to create and recode variables manually and (2) how to use foreach to ease the process of creating and recoding variables. Consider the…
Read More
Search Results for: stata
Collapsing data across observations | Stata Learning Modules
Sometimes you have data files that need to be collapsed to be useful to you. For example, you might have student data but you really want classroom data, or you…
Read More
Combining data | Stata Learning Modules
This module will illustrate how you can combine files in Stata. Examples will include appending files, one to one match merging, and one to many match merging. Appending data files…
Read More
Using dates in Stata | Stata Learning Modules
This module will show how to use date variables, date functions, and date display formats in Stata. Converting dates from raw data using the "date()" function The trick to inputting…
Read More
Descriptive information and statistics | Stata Learning Modules
This module shows common commands for showing descriptive information and descriptive statistics about data files. Getting an overview of your file The sysuse command loads a specified Stata-format dataset that…
Read More
Creating and running .do files in Stata | Stata Learning Modules
This module will show how how to create and run .do files in Stata. A do file contains one or more Stata commands and provides a convenient way to perform…
Read More
Graphics: Common Graph Options | Stata Learning Modules
This module shows examples of the different kinds of graphs that can be created with the graph twoway command. This is illustrated by showing the command and the resulting graph. …
Read More
Introduction to Graphs in Stata | Stata Learning Modules
This module will introduce some basic graphs in Stata 12, including histograms, boxplots, scatterplots, and scatterplot matrices. Let’s use the auto data file for making some graphs. sysuse auto.dta The…
Read More
Introduction to graphs in Stata 8 | Stata Learning Modules
This module will introduce some basic graphs in Stata, including histograms, boxplots, scatterplots, and scatterplot matrices. …
Read More
Introduction to graphs in Stata 8 | Stata Learning Modules
This module will introduce some basic graphs in Stata, including histograms, boxplots, scatterplots, and scatterplot matrices. …
Read More