140 likes | 405 Views
Introduction to Stata and efficient workflow. Andrew Hicks CCPR Statistics and Methods Core. A great resource. available at www.stata.com/bookstore. Effective Workflow Working with Stata. Outline. Everyone has one, even if you don’t think of it as such. Workflow. Cleaning data
E N D
Introduction to Stata and efficient workflow Andrew Hicks CCPR Statistics and Methods Core
A great resource available at www.stata.com/bookstore
Effective Workflow Working with Stata Outline
Everyone has one, even if you don’t think of it as such. Workflow
Cleaning data • Performing Analysis • Presenting findings • Saving your work Workflow steps
Bring in data to Stata • Evaluate variable namesand labels • Verify sample and variables 1. Cleaning Data
3. Presenting Results 2. Running Analysis 4. Saving/protecting files
Planning • Organizing • Documenting • Executing Within each step
“…time spent on documentation can literally save weeks of work and frustration later.” - Long (2008)
Stata Syntax: command[varlist][= exp] [if exp] [in range] [weighttype=weight][, options] Brackets = optional portions Italics = user specified
UCLA ATS • http://www.ats.ucla.edu/stat/stata/ • Statalist • http://www.stata.com/statalist/ • CCPR • http://www.ccpr.ucla.edu/ Online Resources