R Dataset / Package mosaicData / CPS85
On this R-data statistics page, you will find information about the CPS85 data set which pertains to Data from the 1985 Current Population Survey (CPS85). The CPS85 data set is found in the mosaicData R package. You can load the CPS85 data set in R by issuing the following command at the console data("CPS85"). This will load the data into a variable called CPS85. If R says the CPS85 data set is not found, you can try installing the package by issuing this command install.packages("mosaicData") and then attempt to reload the data with the library() command. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the CPS85 R data set. The size of this file is about 29,770 bytes.
Data from the 1985 Current Population Survey (CPS85)
Description
The Current Population Survey (CPS) is used to supplement census information between census years. These data consist of a random sample of persons from the CPS85, with information on wages and other characteristics of the workers, including sex, number of years of education, years of work experience, occupational status, region of residence and union membership.
Usage
data(CPS85)
Format
A data frame with 534 observations on the following variables.
-
wage
wage (US dollars per hour) -
educ
number of years of education -
race
a factor with levelsNW
(nonwhite) orW
(white) -
sex
a factor with levelsF
M
-
hispanic
a factor with levelsHisp
NH
-
south
a factor with levelsNS
S
-
married
a factor with levelsMarried
Single
-
exper
number of years of work experience (inferred fromage
andeduc
) -
union
a factor with levelsNot
Union
-
age
age in years -
sector
a factor with levelsclerical
const
manag
manuf
other
prof
sales
service
Details
Data are from 1985. The data file is recoded from the original, which had entirely numerical codes.
Source
Data are from http://lib.stat.cmu.edu/DASL.
References
Berndt, ER. The Practice of Econometrics 1991. Addison-Wesley.
Examples
data(CPS85)
Dataset imported from https://www.r-project.org.