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
Search Results for: stata
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
Stata Learning Module | Comparing Stata and SAS side by side
Additional Notes SAS represents missing values as “negative infinity” while Stata represents missing values as “positive infinity”. For example, within Stata, numbers are ordered like thisall nonmissing numbers < ….
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
An overview of Stata syntax | Stata Learning Modules
This module shows the general structure of Stata commands. We will demonstrate this using summarize as an example, although this general structure applies to most Stata commands. Note: This code…
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
Creating and recoding variables | Stata Learning Modules
This module shows how to create and recode variables. In Stata you can create new variables with generate and you can modify the values of an existing variable with replace…
Read More
Stata 10 Class Notes
Stata is a powerful and yet easy-to-use statistical package that runs on Windows, Macintosh and Unix platforms. This class is designed for people who are just getting started using Stata. …
Read More
Stata Class Notes Analyzing Data
1.0 Stata commands in this unit ttest t-test anova Analysis of variance xi Creates dummy variables during model estimation regress Regression predict Predicts after model estimation …
Read More