Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use the cps09mar.csv dataset to estimate the effect of education on earnings. Data description and variable definitions can be found in the document cps09mar description.pdf.

Use the cps09mar.csv dataset to estimate the effect of education on earnings. Data description

and variable definitions can be found in the document cps09mar description.pdf. For all

questions below, use the sub-sample of non-Hispanic women at least 23 years old.

Research Questions

1. (20 points) Load this dataset in R (2 points). Create a new variable

wage = earnings/(hours week).

Obtain summary statistics (mean, standard deviation, 25, 50 (median), and 75 percentiles)

for wage and education (5 points). Plot histograms for these two variables to explore

their distributions. Make your histograms reader-friendly; that is, give informative ti

tles and variable names instead of just using the default titles and variable names (6

points). For example, you could use Years of Schooling in place of education. Create

a new variable ln(wage) 1 and draw a scatter plot of ln(wage) versus education (5 points).

Comment on the correlation between these two variables (2 points)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Mathematical Applications for the Management Life and Social Sciences

Authors: Ronald J. Harshbarger, James J. Reynolds

11th edition

9781337032247, 9781305465183, 1305108043, 1337032247, 1305465180, 978-1305108042

More Books

Students also viewed these Mathematics questions

Question

Complete the following acid-base reactions: (a) HCCH + NaH

Answered: 1 week ago