# Mini-Assignment 6

This data for this assignment (CPS) comes from the 1985 Current Population Survey

Description

The Current Population Survey (CPS) is used to supplement census information between census years. These data consist of a random sample of persons from the survey, with information on wages and other characteristics of the workers, including sex, number of years of education, years of work experience, occupational status, region of residence and union membership.

A data frame with 534 observations on the following variables.

• wage: wage (US dollars per hour)
• educ: number of years of education
• race: a factor with levels NW (nonwhite) or W (white)
• sex: a factor with levels F M
• hispanic: a factor with levels Hisp NH
• south: a factor with levels NS S
• married: a factor with levels Married Single
• exper: number of years of work experience (inferred from age and educ
• union: a factor with levels Not Union
• age: age in years
• sector: a factor with levels clerical const manag manuf other prof sales service
• satisfaction: 1 implies participant satisfied with current employment, 0 otherwise

Questions

Familiarize yourself with the CPS documentation above. Then import/load the CPS data set.

Question 1: Find the mean wage earned per hour for males and females. What is the mean wage earned per hour for males and females?

Question 2: Implement the appropriate statistical test to determine whether males have significantly higher wages earned per hour than females. What is the value of the test statistic to answer whether males have a significantly higher wages earned per hour than females? What conclusions can be drawn?

Question 3: Implement the appropriate statistical test to determine whether there is a significant linear relationship between wages earned per hour and number of years of work experience. What is the value of the test statistic to answer whether there is a significant linear relationship between wages earned per hour and number of years of work experience? What conclusions can be drawn?

Question 4: Implement the appropriate statistical test to determine whether job satisfaction varies significantly among the different job sectors. What is the value of the test statistic to determine whether job satisfaction varies significantly among the different job sectors? What conclusions can be drawn? Are post-hoc tests necessary?