{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Section_3_Spring2008

Section_3_Spring2008 - Stata Interactive Version Econ 142...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Stata: Interactive Version Econ 142 Spring 2008 Raymundo M. Campos-Vazquez February 6, 2008 Contents 1 Datasets 1 2 Cleaning 3 3 Analysis 3 3.1 Tables-Individual Level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 3.2 Collapse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3.3 Correlation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3.4 Scatter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.5 Regressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1 Datasets Today we are going to use a widely used dataset among social scientists. We° ll use a random sample of the Merged Outgoing Rotation Groups (MORG) based on the Current Popu- lation Survey (CPS). This dataset is used by the Bureau of Labor Statistics to calculate employment rates and unemployment rates. I strongly urge to visit the following webpage http://www.nber.org/data/ in order to get acquainted with the di/erent datasets you can use for your thesis/research/class papers. After downloading the dataset, the ±rst thing you need to do is clean the dataset. "Clean- ing" refers to prepare the dataset for analysis. Questions you should address are the following: 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
1. Do I include women and men? 2. Age limits? 3. Focusing only on those with a job? 4. Macro: which countries do I use? 5. Important: should I drop observations with missing values in important variables? You should do the following as well: 1. Change name of variables (if variables have weird names). 2. Label variables (as much as possible) We will use MORG data for years 1998 and 2004. Our goal for today is the following: ° Question: What is the relationship between immigration and natives°labor market outcomes at the city level? We will do some regressions similar to Altonji and Card (1989) and Card (2001). 1 (To be fair to those papers, our dataset is di/erent and we will cover only preliminary results.) ° Steps: ° Build the dataset for males 16-65 at the MSA level.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}