labor {PracTools} | R Documentation |
Labor force population
Description
A clustered population of persons extracted from the September 1976 Current Population Survey (CPS)
Usage
data(labor)
Format
A data frame with 478 persons on the following variables:
h
stratum
cluster
cluster (or segment) number
person
person number
age
age of person
agecat
age category (1 = 19 years and under; 2 = 20-24; 3 = 25-34; 4 = 35-64; 5 = 65 years and over)
race
race (1 = non-Black; 2 = Black)
sex
Gender (1=Male; 2=Female)
HoursPerWk
Usual number of hours worked per week
WklyWage
Usual amount of weekly wages (in 1976 U.S. dollars)
y
An artificial variable generated to follow a model with a common mean. Persons in the same cluster are correlated. Persons in different clusters are uncorrelated under the model.
Details
This population is a clustered population of 478 persons extracted from the September 1976 Current Population Survey (CPS) in the United States. The clusters are compact geographic areas used as one of the stages of sampling in the CPS and are typically composed of about 4 nearby households. The elements within clusters for this illustrative population are individual persons.
Source
Current Population Survey, https://www.census.gov/programs-surveys/cps.html
Examples
data(labor)
str(labor)
table(labor$h)
hist(labor$WklyWage)