# 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

Directions

1. Familiarize yourself with the CPS documentation above.
2. Import/load the CPS data set.
3. Find the mean wage earned per hour for males and females. Answer Question 1 below.
4. Implement the appropriate statistical test to determine whether males have significantly higher wages earned per hour than females. Answer Question 2 below.
5. 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. Answer Question 3 below.
6. Implement the appropriate statistical test to determine whether job satisfication varies significantly among the different job sectors. Answer Questions 4 below.

Questions

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

Question 2: 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: 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: What is the value of the test statistic to determine whether job satisfication varies significantly among the different job sectors? What conclusions can be drawn? Are post-hoc tests necessary?

Submit your answers in moodle under Mini-Assignment 6.