Your SlideShare is downloading. ×
0
STATA: Data Analysis Software               STATA               Importing Data             www.STATA.org.uk               ...
Datasets Used in Tutorial   – Datasets in these tutorials are based on examples in:        Stock and Watson (2006)        ...
Outline   – Data Importing and Editing      • Import Comma-Separated Value (CSV) Files      • Generate New Variables      ...
Outline   – Data Importing and Editing      • Import Comma-Separated Value (CSV) Files      • Generate New Variables      ...
Outline   – Data Importing and Editing      • Import Comma-Separated Value (CSV) Files      • Generate New Variables      ...
Outline   – Data Importing and Editing      • Import Comma-Separated Value (CSV) Files      • Generate New Variables      ...
Outline   – Data Importing and Editing      • Import Comma-Separated Value (CSV) Files      • Generate New Variables      ...
Outline   – Data Importing and Editing      • Import Comma-Separated Value (CSV) Files      • Generate New Variables      ...
Other Useful Commands  – To find help on any other command just type                     help commandname  – Other useful ...
Outline   – Data Importing and Editing      • Import Comma-Separated Value (CSV) Files      • Generate New Variables      ...
Data Importing and Editing: Challenge   Challenge   – Create a dummy variable for English Learners   Method   – Import cas...
www.STATA.org.uk   – If you visit www.STATA.org.uk you can download     tutorials on these other topics:       Data Manage...
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
STATA - Importing Data
Upcoming SlideShare
Loading in...5
×

STATA - Importing Data

2,005

Published on

Published in: Technology, Economy & Finance
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
2,005
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
202
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "STATA - Importing Data"

  1. 1. STATA: Data Analysis Software STATA Importing Data www.STATA.org.uk Step-by Step Screenshot Guides to help you use STATA Not affiliated with Stata Corp.
  2. 2. 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
  3. 3. Outline – Data Importing and Editing • Import Comma-Separated Value (CSV) Files • Generate New Variables • Save Dataset • Close and Re-open Dataset • Create a do-file • Use the Help System • Challenge
  4. 4. Outline – Data Importing and Editing • Import Comma-Separated Value (CSV) Files • Generate New Variables • Save Dataset • Close and Re-open Dataset • Create a do-file • Use the Help System • Challenge
  5. 5. Outline – Data Importing and Editing • Import Comma-Separated Value (CSV) Files • Generate New Variables • Save Dataset • Close and Re-open Dataset • Create a do-file • Use the Help System • Challenge
  6. 6. Outline – Data Importing and Editing • Import Comma-Separated Value (CSV) Files • Generate New Variables • Save Dataset • Close and Re-open Dataset • Create a do-file • Use the Help System • Challenge
  7. 7. Outline – Data Importing and Editing • Import Comma-Separated Value (CSV) Files • Generate New Variables • Save Dataset • Close and Re-open Dataset • Create a do-file • Use the Help System • Challenge
  8. 8. Outline – Data Importing and Editing • Import Comma-Separated Value (CSV) Files • Generate New Variables • Save Dataset • Close and Re-open Dataset • Create a do-file • Use the Help System • Challenge
  9. 9. Other Useful Commands – To find help on any other command just type help commandname – Other useful data management commands – replace change contents of variable – drop remove specified variables – keep drop other variables except specified – merge add variables from other dataset – append add observations from other dataset
  10. 10. Outline – Data Importing and Editing • Import Comma-Separated Value (CSV) Files • Generate New Variables • Save Dataset • Close and Re-open Dataset • Create a do-file • Use the Help System • Challenge
  11. 11. Data Importing and Editing: Challenge Challenge – Create a dummy variable for English Learners Method – Import caschool.csv – Generate new variable (HiEl=1 if el_pct>20) – Save dataset – Create a do-file and copy commands
  12. 12. 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
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×