ex1030 | R Documentation |
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)?
ex1030
A data frame with 4,952 observations on the following 7 variables.
a factor with levels "Midwest"
,
"Northeast"
, "South"
and "West"
a factor with levels
"Metopolitan"
, "Not Metropolitan "
and
"Not Identified"
age in years
a factor with 16 levels:
"SomeCollegeButNoDegree"
, "AssocDegAcadem"
,
"NinthGrade"
, "BachelorsDegree"
, "TenthGrade"
,
"HighSchoolDiploma"
,
"AssocDegOccupVocat"
, "DoctorateDegree"
, "TwelthButNoDiploma"
,
"LessThanFirstGrade"
, "EleventhGrade"
, "ProfSchoolDegree"
,
"FifthorSixthGrade"
,"SeventhOrEighthGrade"
, "FirstSecondThirdOrFourthGrade"
a numerical variable indicating the approximate ordering of EducationCategory, with higher numbers indicating more education
a factor with levels "Black"
and
"White"
weekly wage in dollars
Ramsey, F.L. and Schafer, D.W. (2013). The Statistical Sleuth: A Course in Methods of Data Analysis (3rd ed), Cengage Learning.
U.S. Bureau of Labor Statistics and U.S. Bureau of the Census: Current Population Survey, March 2011 https://www.bls.gov/cps
str(ex1030)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.