Answered step by step
Verified Expert Solution
Question
1 Approved Answer
plz give me the right answer and python code of this questionthx the file cps_march_2016.csv It is well-known that on average, women are paid less
plz give me the right answer and python code of this questionthx
It is well-known that on average, women are paid less than men. However, one might be curious to know whether this depends on educational attainment is the gender pay gap larger or smaller for people with advanced degrees? Let's dig into this question. The nle PS March 2016.cs contains the hourly wage, level of education, gender, and full-time work status of a sample of US workers from the Current Population Survey (CPS) from March 2016 Part (a): 1. In the following code cell, import the file "CPS_March_2016.csv into a Pandas dataframe. Be careful with missing values 2 Drop workers who didn't work ful time last year or whose hourly wage was less than $5 or more than $200 3. Print a complete sentence reporting the number of observations, the number of temales, and the number of males in the cleaned sample. 4 Print a complete sentence reporting the average hourty wage for females and for males. Report the numbers in dollars and cents Part (b) 1. Compute the average wage for men and the average wage for women with a college degree. 2 Compute the average wage for men and the average wage for women with a graduate degree 3 Report, in a complete sentence, the ratio of the female avg wage to the male average wage for those with a college degree. Report three decimal places 4 Report, in a complete sentence, the ratio of the female avg wage to the male average wage for those with a graduate degree. Report three decimal places 5 Repeat steps 1-4, but computing the standard deviations of the wages In 1 the file cps_march_2016.csv
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started