stata - graphing data
DESCRIPTION
TRANSCRIPT
STATA: Data Analysis Software
www.STATA.org.uk
Step-by Step Screenshot Guides to help you use STATA
Not affiliated with Stata Corp.
STATAGraphing Data
Datasets Used in Tutorial
– Datasets in these tutorials are based on examples in:
Stock and Watson (2006) “Introduction to Econometrics”
– You can obtain all of the datasets used in these tutorials by downloading a STATA command file from http://www.stata.org.uk/download-examples.html
Outline
– Graphing Data
• Histogram
• Scatter Plot
• Overlaid Charts
• Labelling
• Formatting
• Challenge
Outline
– Graphing Data
• Histogram
• Scatter Plot
• Overlaid Charts
• Labelling
• Formatting
• Challenge
Outline
– Graphing Data
• Histogram
• Scatter Plot
• Overlaid Charts
• Labelling
• Formatting
• Challenge
Outline
– Graphing Data
• Histogram
• Scatter Plot
• Overlaid Charts
• Labelling
• Formatting
• Challenge
Outline
– Graphing Data
• Histogram
• Scatter Plot
• Overlaid Charts
• Labelling
• Formatting
• Challenge
Outline
– Graphing Data
• Histogram
• Scatter Plot
• Overlaid Charts
• Labelling
• Formatting
• Challenge
Graphing: Challenge
Challenge– Graph 3mth and 1year interest rates
Method– Open macro_2e.dta
– Label “fygm3” as “3-mth rate”
– Label “fygt1” as “1-year rate”
– Create overlaid line charts of both rates vs time
– Modify the line weights to thick
www.STATA.org.uk
– If you visit www.STATA.org.uk you can download tutorials on these other topics:
Data Management Statistical Analysis
Importing Data Summary Statistics
Graphs Linear Regressions
Presenting Output Panel Regressions
Merge or Drop Data Time Series Analysis
Instrumental Variables
Probit Analysis