STATA - Merge or Drop Data

0 views
4,092 views

Published on

Published in: Technology, Economy & Finance
1 Comment
1 Like
Statistics
Notes
No Downloads
Views
Total views
0
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
218
Comments
1
Likes
1
Embeds 0
No embeds

No notes for slide

STATA - Merge or Drop Data

  1. 1. STATA: Data Analysis Software STATA Merge or Drop 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 Management • Sort • Order • Keep variables • Drop variables • Keep observations • Drop observations • Merge • Append • If • By • Encode • Dates • Egen
  4. 4. Outline - Data Management • Sort • Order • Keep variables • Drop variables • Keep observations • Drop observations • Merge • Append • If • By • Encode • Dates • Egen
  5. 5. Outline - Data Management • Sort • Order • Keep variables • Drop variables • Keep observations • Drop observations • Merge • Append • If • By • Encode • Dates • Egen
  6. 6. Outline - Data Management • Sort • Order • Keep variables • Drop variables • Keep observations • Drop observations • Merge • Append • If • By • Encode • Dates • Egen
  7. 7. Outline - Data Management • Sort • Order • Keep variables • Drop variables • Keep observations • Drop observations • Merge • Append • If • By • Encode • Dates • Egen
  8. 8. Outline - Data Management • Sort • Order • Keep variables • Drop variables • Keep observations • Drop observations • Merge • Append • If • By • Encode • Dates • Egen
  9. 9. Outline - Data Management • Sort • Order • Keep variables • Drop variables • Keep observations • Drop observations • Merge • Append • If • By • Encode • Dates • Egen
  10. 10. Outline - Data Management • Sort • Order • Keep variables • Drop variables • Keep observations • Drop observations • Merge • Append • If • By • Encode • Dates • Egen
  11. 11. Outline - Data Management • Sort • Order • Keep variables • Drop variables • Keep observations • Drop observations • Merge • Append • If • By • Encode • Dates • Egen
  12. 12. Outline - Data Management • Sort • Order • Keep variables • Drop variables • Keep observations • Drop observations • Merge • Append • If • By • Encode • Dates • Egen
  13. 13. Outline - Data Management • Sort • Order • Keep variables • Drop variables • Keep observations • Drop observations • Merge • Append • If • By • Encode • Dates • Egen
  14. 14. Outline - Data Management • Sort • Order • Keep variables • Drop variables • Keep observations • Drop observations • Merge • Append • If • By • Encode • Dates • Egen
  15. 15. Outline - Data Management • Sort • Order • Keep variables • Drop variables • Keep observations • Drop observations • Merge • Append • If • By • Encode • Dates • Egen
  16. 16. Outline - Data Management • Sort • Order • Keep variables • Drop variables • Keep observations • Drop observations • Merge • Append • If • By • Encode • Dates • Egen
  17. 17. 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

×