ex1225: Gender Differences in Wages

Description Usage Format Source References Examples

Description

These data are weekly earnings for 9,835 Americans surveyed in the March 2011 Current Population Survey (CPS). What evidence is there from these data that males tend to receive higher earnings than females with the same values of the other variables? By how many dollars or by what percent does the male distribution exceed the female distribution?

Usage

1

Format

A data frame with 9,835 observations on the following 9 variables.

Region

a factor with levels "Midwest", "Northeast", "South", and "West"

MetropolitanStatus

a a factor with levels "Metropolitan", "Not Identified", and
"Not Metropolitan"

Age

age in years

Sex

a factor with levels "Female" and "Male"

MaritalStatus

a factor with levels "Married" and "NotMarried"

EdCode

a numerical variable representing educational attainment, with higher numbers corresponding to higher educational categories

Education

a factor with 16 levels of educational category

JobClass

a a factor with levels "FedGov", "LocalGov", "Private",and "StateGov"

WeeklyEarnings

weekly wages in U.S. dollars

Source

Ramsey, F.L. and Schafer, D.W. (2013). The Statistical Sleuth: A Course in Methods of Data Analysis (3rd ed), Cengage Learning.

References

U.S. Bureau of Labor Statistics and U.S. Bureau of the Census: Current Population Survey, March 2011 http://www.bls.gov/cps/data.htm July 25, 2011.

Examples

1

Example output

'data.frame':	9835 obs. of  9 variables:
 $ Region            : Factor w/ 4 levels "Midwest","Northeast",..: 4 3 3 4 4 4 3 4 3 2 ...
 $ MetropolitanStatus: Factor w/ 3 levels "Metropolitan",..: 3 1 1 1 3 1 1 1 1 1 ...
 $ Age               : int  50 46 30 64 55 40 35 50 47 39 ...
 $ Sex               : Factor w/ 2 levels "Female","Male": 1 2 2 2 2 1 1 2 1 1 ...
 $ MaritalStatus     : Factor w/ 2 levels "Married","Not Married": 2 1 2 1 1 1 2 1 2 1 ...
 $ EdCode            : int  39 43 40 39 43 33 45 39 39 43 ...
 $ Education         : Factor w/ 16 levels "AssocDegAcadem",..: 8 3 14 8 3 6 12 8 8 3 ...
 $ JobClass          : Factor w/ 4 levels "FedGov","LocalGov",..: 1 1 1 1 1 1 1 1 1 1 ...
 $ WeeklyEarnings    : num  420 923 810 673 700 ...

Sleuth3 documentation built on May 2, 2019, 6:41 a.m.