Question: Question 3 1. Using the data cps2018.Rda from the class example on wage gaps, write code to (1) keep only inddividuals of ages 30 to

 Question 3 1. Using the data cps2018.Rda" from the class exampleon wage gaps, write code to (1) keep only inddividuals of ages

Question 3 1. Using the data cps2018.Rda" from the class example on wage gaps, write code to (1) keep only inddividuals of ages 30 to 40 (inclusive); and (2) separate the data into those who are singleever married and those who are married, dropping everyone else. You will need to use the variable MARST, which is described here. 2. Compute the difference in mean wages between men and women in each group marital status. 3. Do you think this difference suggests anything about underlying sources of the wage gap? 4. Test the null hypothesis that the wage gaps across groups are the same, against the alternative that the gap is larger for married couples. Use a test of size.05. State the assumptions you are making to do this MARST ADD TO CART SELECT SAMPLES Marital status CODES DESCRIPTION COMPARABILITY UNIVERSE AVAILABILITY FLAGS QUESTIONNAIRE TEXT Codes and Frequencies Category availability view Case-count view An "X' indicates the category is available for that sample Nov Oct Sap Aug Jul Jun May Apr ASEC Mar Feb Jan Dac Nov Oct ASEC ASEC ASEC ASEC ASEC ASEC ASEC ASEC ASEC ASEC 8 18 18 18 18 1818 18 18 18 1818 7 17 7 17 16 15 1413 12 1 10 09 08 Code Label 1 Married, spouse present 2 Married, spouse absent 3 Separated 4 Divorced 5 Widowed 6 Never married/single 7 Widowed or Divorced 9 NIU Question 3 1. Using the data cps2018.Rda" from the class example on wage gaps, write code to (1) keep only inddividuals of ages 30 to 40 (inclusive); and (2) separate the data into those who are singleever married and those who are married, dropping everyone else. You will need to use the variable MARST, which is described here. 2. Compute the difference in mean wages between men and women in each group marital status. 3. Do you think this difference suggests anything about underlying sources of the wage gap? 4. Test the null hypothesis that the wage gaps across groups are the same, against the alternative that the gap is larger for married couples. Use a test of size.05. State the assumptions you are making to do this MARST ADD TO CART SELECT SAMPLES Marital status CODES DESCRIPTION COMPARABILITY UNIVERSE AVAILABILITY FLAGS QUESTIONNAIRE TEXT Codes and Frequencies Category availability view Case-count view An "X' indicates the category is available for that sample Nov Oct Sap Aug Jul Jun May Apr ASEC Mar Feb Jan Dac Nov Oct ASEC ASEC ASEC ASEC ASEC ASEC ASEC ASEC ASEC ASEC 8 18 18 18 18 1818 18 18 18 1818 7 17 7 17 16 15 1413 12 1 10 09 08 Code Label 1 Married, spouse present 2 Married, spouse absent 3 Separated 4 Divorced 5 Widowed 6 Never married/single 7 Widowed or Divorced 9 NIU

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!