| labor | R Documentation |
A clustered population of persons extracted from the September 1976 Current Population Survey (CPS)
data(labor)
A data frame with 478 persons on the following variables:
hstratum
clustercluster (or segment) number
personperson number
ageage of person
agecatage category (1 = 19 years and under; 2 = 20-24; 3 = 25-34; 4 = 35-64; 5 = 65 years and over)
racerace (1 = non-Black; 2 = Black)
sexGender (1=Male; 2=Female)
HoursPerWkUsual number of hours worked per week
WklyWageUsual amount of weekly wages (in 1976 U.S. dollars)
yAn 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.
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.
Current Population Survey, https://www.census.gov/programs-surveys/cps.html
data(labor)
str(labor)
table(labor$h)
hist(labor$WklyWage)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.