In this chapter, we will focus on a regression model that has two categorical predictor variables and their interaction terms. Let’s say that the first categorical predictor variable x1 has…
Read More
Search Results for: what stat should i use
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
Inputting your data into Stata | Stata Learning Modules
This module will show how to input your data into Stata. This covers inputting data with comma delimited, tab delimited, space delimited, and fixed column data. Note: all of the…
Read More
Reshaping data wide to long | Stata Learning Modules
This module illustrates the power (and simplicity) of Stata in its ability to reshape data files. These examples take wide data files and reshape them into long form. These show…
Read More
Reshaping data wide to long | Stata Learning Modules
This module illustrates the power and simplicity of Stata in its ability to reshape data files. These examples take wide data files and reshape them into long form. These show…
Read More
Reshaping data long to wide | Stata Learning Modules
This module illustrates the power (and simplicity) of Stata in its ability to reshape data files. These examples take long data files and reshape them into wide form. These examples…
Read More
Reshaping data long to wide | Stata Learning Modules
Stata Learning ModuleReshaping data long to wide This module illustrates the power and simplicity of Stata in its ability to reshape data files. These examples take long data files and…
Read More
A statistical sampler in Stata | Stata Learning Modules
Version info: Code for this page was tested in Stata 12. This module will give a brief overview of some common statistical tests in Stata. Let’s use the auto data…
Read More
Subsetting data | Stata Learning Modules
This module shows how you can subset data in Stata. You can subset data by keeping or dropping variables, and you can subset data by keeping or dropping observations. You…
Read More
Using and saving files in Stata | Stata Learning Modules
The use command gets a Stata data file from disk and places it in memory so you can analyze and/or modify it. A data file must be read into memory…
Read More