SESSION I: INTRODUCTION – GETTING STARTE
Stata’s GUI
File types in Stata
Working interactively in Stata
Saving output: the log file
Interrupting Stata
Loading Stata databases
The Log Output File
Saving databases in Stata
Exiting the software
SESSION II: PRELIMINARY DATA ANALYSIS
A preliminary look at the data: describe, summarize commands
Abbreviations in Stata
Stata’s syntax
Summary statistics
Statistical Tables: table, tabstat and tabulate commands
SESSION III: DATA MANAGEMENT
Renaming variables
Selecting or eliminating variables
The count command
sort command
Creating sub-groups: the prefix by
Creating new variables: generate
Operators in Stata
The command assert
Missing values in Stata
Modifying variables: replace, recode
Creating Labels: variable labels and value labels
Creating dummy variables
SESSION IV: IMPORTING DATA FROM SPREADSHEETS
Import Excel and Export Excel commands
The insheet and outsheet commands
Reading in Text Data Files
Issues to watch out for when importing data
Missing values
String variables
Date variables
Redefining missing values
destring command
tostring command
dealing wih “messy” strings
SESSION V: GRAPHICS – A BRIEF INTRODUCTION
Stata’s syntax for two way graphs
Saving and exporting graphs
Useful graph commands
Personalizing a graph
Stata’s Graph Editor
APPENDIX A
Merging data bases
do files
APPENDIX B: MORE ADVANCED ISSUES (time permitting)
do files
Merging data bases
e-class and r-class variables
collapse command
preserve command
restore command
USEFUL TEXTS
A Gentle Introduction to Stata, 6th Ed., Alan Acock (2018) Stata Press
Data Analysis Using Stata, 3rd Ed., Ulrich Kohler, Frauke Kreuter (2012) Stata Press
Data Management Using Stata: A Practical Handbook, 2nd Ed., Michael N. Mitchell, (2020) Stata Press
The Workflow of Data Analysis Using Stata, J. Scott Long (2009) Stata Press