Question: using the CPS2015 dataset from: https://www.princeton.edu/~mwatson/Stock-Watson_4E/Stock-Watson-Resources-4e.html I need help with the following questions using R. Run a regression of average hourly earnings (AHE) on age
using the CPS2015 dataset from: https://www.princeton.edu/~mwatson/Stock-Watson_4E/Stock-Watson-Resources-4e.html
I need help with the following questions using R.
- Run a regression of average hourly earnings (AHE) on age (Age), sex (Female), and education (Bachelor). If Age increases from 25 to 26, how are earnings expected to change? If Age increases from 33 to 34, how are earnings expected to change? (1 point)
- Run a regression of the logarithm of average hourly earnings, ln(AHE), on Age, Female, and Bachelor. If Age increases from 25 to 26, how are earnings expected to change? If Age increases from 33 to 34, how are earnings expected to change? (1 point)
- Run a regression of the logarithm of average hourly earnings, ln(AHE), on ln(Age), Female, and Bachelor. If Age increases from 25 to 26, how are earnings expected to change? If Age increases from 33 to 34, how are earnings expected to change? (1 point)
- Run a regression of the logarithm of average hourly earnings, ln(AHE), on Age, Age2, Female, and Bachelor. If Age increases from 25 to 26, how are earnings expected to change? If Age increases from 33 to 34, how are earnings expected to change? (1 point)
- Create table with all four models, including robust standard errors. (4 points)
How would the R code look like with the dataset I have given you
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
