stata - merge or drop data

Post on 29-May-2015

3.156 Views

Category:

Technology

7 Downloads

Preview:

Click to see full reader

TRANSCRIPT

STATA: Data Analysis Software

www.STATA.org.uk

Step-by Step Screenshot Guides to help you use STATA

Not affiliated with Stata Corp.

STATAMerge or Drop 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

- Data Management

• Sort

• Keep variables

• Keep observations

• Merge

• If

• Encode

• Egen

• Order

• Drop variables

• Drop observations

• Append

• By

• Dates

Outline

- Data Management

• Sort

• Keep variables

• Keep observations

• Merge

• If

• Encode

• Egen

• Order

• Drop variables

• Drop observations

• Append

• By

• Dates

Outline

- Data Management

• Sort

• Keep variables

• Keep observations

• Merge

• If

• Encode

• Egen

• Order

• Drop variables

• Drop observations

• Append

• By

• Dates

Outline

- Data Management

• Sort

• Keep variables

• Keep observations

• Merge

• If

• Encode

• Egen

• Order

• Drop variables

• Drop observations

• Append

• By

• Dates

Outline

- Data Management

• Sort

• Keep variables

• Keep observations

• Merge

• If

• Encode

• Egen

• Order

• Drop variables

• Drop observations

• Append

• By

• Dates

Outline

- Data Management

• Sort

• Keep variables

• Keep observations

• Merge

• If

• Encode

• Egen

• Order

• Drop variables

• Drop observations

• Append

• By

• Dates

Outline

- Data Management

• Sort

• Keep variables

• Keep observations

• Merge

• If

• Encode

• Egen

• Order

• Drop variables

• Drop observations

• Append

• By

• Dates

Outline

- Data Management

• Sort

• Keep variables

• Keep observations

• Merge

• If

• Encode

• Egen

• Order

• Drop variables

• Drop observations

• Append

• By

• Dates

Outline

- Data Management

• Sort

• Keep variables

• Keep observations

• Merge

• If

• Encode

• Egen

• Order

• Drop variables

• Drop observations

• Append

• By

• Dates

Outline

- Data Management

• Sort

• Keep variables

• Keep observations

• Merge

• If

• Encode

• Egen

• Order

• Drop variables

• Drop observations

• Append

• By

• Dates

Outline

- Data Management

• Sort

• Keep variables

• Keep observations

• Merge

• If

• Encode

• Egen

• Order

• Drop variables

• Drop observations

• Append

• By

• Dates

Outline

- Data Management

• Sort

• Keep variables

• Keep observations

• Merge

• If

• Encode

• Egen

• Order

• Drop variables

• Drop observations

• Append

• By

• Dates

Outline

- Data Management

• Sort

• Keep variables

• Keep observations

• Merge

• If

• Encode

• Egen

• Order

• Drop variables

• Drop observations

• Append

• By

• Dates

Outline

- Data Management

• Sort

• Keep variables

• Keep observations

• Merge

• If

• Encode

• Egen

• Order

• Drop variables

• Drop observations

• Append

• By

• Dates

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

top related