Multilevel Modeling using Stata

Download Report

Transcript Multilevel Modeling using Stata

Introduction to Stata and
efficient workflow
Andrew Hicks
CCPR Statistics and Methods Core
A great resource
available at
www.stata.com/bookstore
Outline
I. Effective Workflow
II. Working with Stata
Workflow
Everyone has one, even
if you don’t think of it as such.
Workflow steps
• Cleaning data
• Performing Analysis
• Presenting findings
• Saving your work
1. Cleaning Data
• Bring in data to Stata
• Evaluate variable names and labels
• Verify sample and variables
2. Running Analysis
3. Presenting Results
4. Saving/protecting
files
Within each step
• Planning
• Organizing
• Documenting
• Executing
“…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
Online Resources
• UCLA ATS
http://www.ats.ucla.edu/stat/stata/
• Statalist
http://www.stata.com/statalist/
• CCPR
http://www.ccpr.ucla.edu/