ex1030: Wage and Race 2011

Description Usage Format Source References Examples

Description

A data set with weekly earnings for 4,952 males between the age of 18 and 70 sampled in the March 2011 Current Population Survey (CPS). These males are a subset who had reported earnings and who responded as having race as either “Only White” or “Only Black.” Also recorded are the region of the country (with four categories: Northeast, Midwest, South, and West), the metropolitan status of the men's employment (with three categories: Metropolitan, Not Metropolitan, and Not Identified), age, education category (with 16 categories ranging from “Less than first grade” to “doctorate Degree”), and education code, which is a numerical value that corresponds roughly to increasing levels of education (and so may be useful for plotting). What evidence do the data provide that the distributions of weekly earnings differ in the populations of white and black workers after accounting for the other variables? By how many dollars or by what percent does the White population mean (or median) exceed the Black population mean (or median)?

Usage

1

Format

A data frame with 4,952 observations on the following 7 variables.

Region

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

MetropolitanStatus

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

Age

age in years

EducationCategory

a factor with 16 levels: "SomeCollegeButNoDegree", "AssocDegAcadem", "NinthGrade", "BachelorsDegree", "TenthGrade", "HighSchoolDiploma",
"AssocDegOccupVocat", "DoctorateDegree", "TwelthButNoDiploma",
"LessThanFirstGrade", "EleventhGrade", "ProfSchoolDegree",
"FifthorSixthGrade","SeventhOrEighthGrade", "FirstSecondThirdOrFourthGrade"

EducationCode

a numerical variable indicating the approximate ordering of EducationCategory, with higher numbers indicating more education

Race

a factor with levels "Black" and "White"

WeeklyEarnings

weekly wage in 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

Examples

1

Example output

'data.frame':	4952 obs. of  7 variables:
 $ Region            : Factor w/ 4 levels "Midwest","Northeast",..: 4 1 3 4 2 1 2 3 1 1 ...
 $ MetropolitanStatus: Factor w/ 3 levels "Metropolitan",..: 3 1 1 3 1 1 1 1 1 1 ...
 $ Age               : int  64 51 25 46 31 45 58 44 19 38 ...
 $ EducationCategory : Factor w/ 16 levels "AssocDegAcadem",..: 14 1 11 10 3 14 3 15 8 14 ...
 $ EducationCode     : int  40 42 35 44 43 40 43 36 39 40 ...
 $ Race              : Factor w/ 2 levels "Black","White": 2 2 2 2 2 2 2 2 2 2 ...
 $ WeeklyEarnings    : num  1419 1000 420 1980 1750 ...

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