Section_3_Spring2008 - Stata Interactive Version Econ 142...

Info icon This 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 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
Image of page 1

Info icon This 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.
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 ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern