Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The data set project.raw contains 3563 observations drawn from the Merged Outgoing Rotation Group file of the 1999 Current Population Survey with the following variables:

The data set project.raw contains 3563 observations drawn from the Merged Outgoing Rotation

Group file of the 1999 Current Population Survey with the following variables:

Lnwage = log of hourly wage

Yreduc = years of education

Age16 = age – 16

Age16sq = Age16 squared

Female = dummy, =1 if female, =0 if male

Race = dummy, =1 if Caucasian, =2 if African-American

To upload the data set into Stata, issue the following command from the command window:

In file Lnwage Yreduc Age16 Age16sq Female Race using "where ever you save the data

set\project.raw"

Before running any of the following regressions, create a dummy variable AfAm that equals 1 if the person is African-American and 0 if the person is Caucasian. To crate the dummy variable, issue the following commands: generate AfAm = 1 replace AfAm = 0 if Race == 1

Create new variables ay = yreduc*AfAm, aa16 = Age16*AfAm, aa16sq = Age16sq*AfAm,

af = Female*AfAm. Regress Lnwage on Yreduc, Age16, Age16sq, Female, AfAm, ay,

aa16,aa16sq, and af. How do the estimates relate to those obtained above?

Step by Step Solution

3.51 Rating (164 Votes )

There are 3 Steps involved in it

Step: 1

STATA command and output g ay YreducAfAm g aa16 Age16AfAm g aa16sq Age16sqAfAm g af FemaleAfAm reg L... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essentials Of Business Statistics Communicating With Numbers

Authors: Sanjiv Jaggia, Alison Kelly

1st Edition

78020549, 978-0078020544

More Books

Students also viewed these Economics questions