R Dataset / Package mosaicData / CPS85
November 27, 2023
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.
-
wagewage (US dollars per hour) -
educnumber of years of education -
racea factor with levelsNW(nonwhite) orW(white) -
sexa factor with levelsFM -
hispanica factor with levelsHispNH -
southa factor with levelsNSS -
marrieda factor with levelsMarriedSingle -
expernumber of years of work experience (inferred fromageandeduc) -
uniona factor with levelsNotUnion -
ageage in years -
sectora factor with levelsclericalconstmanagmanufotherprofsalesservice
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.
<iframe src="https://jmagunia.com/iframe/r-dataset-package-mosaicdata-cps85.html" width="100%" height="100%" style="border:0px"></iframe>