female.inc {UsingR} | R Documentation |
Income distribution for females in 2001
Description
A data set containing incomes for 1,000 females along with race information. The data is sampled from data provided by the United States Census Bureau.
Usage
data(female.inc)
Format
A data frame with 1,000 observations on the following 2 variables.
- income
Income for 2001 in dollars
- race
a factor with levels
black
,hispanic
orwhite
Details
The United States Census Bureau provides alot of data on income distributions. This data comes from the Current Population Survey (CPS) for the year 2001. The raw data appears in table format. This data is sampled from the data in that table.
Source
The original table was found at http://ferret.bls.census.gov/macro/032002/perinc/new11_002.htm
Examples
data(female.inc)
boxplot(income ~ race, female.inc)
boxplot(log(income,10) ~ race, female.inc)
sapply(with(female.inc,split(income,race)),median)
[Package UsingR version 2.0-7 Index]