SESSION I: INTRODUCTION – GETTING STARTED
- 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
SUGGESTED READINGS
- Acock, A. (2018). A Gentle Introduction to Stata. 6th Edition, Stata Press.
- Kohler, Ulrich, & Kreuter, Frauke (2012). Data Analysis Using Stata. 3rd Edition, Stata Press.
- Mitchell, Michael N. (2020). Data Management Using Stata: A Practical Handbook. 2nd Edition, Stata Press.
- Long, J. Scott (2009). The Workflow of Data Analysis Using Stata. Stata Press.