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 levels NW (nonwhite) or W (white)

  • sex a factor with levels F M

  • hispanic a factor with levels Hisp NH

  • south a factor with levels NS S

  • married a factor with levels Married Single

  • exper number of years of work experience (inferred from age and educ)

  • union a factor with levels Not Union

  • age age in years

  • sector a factor with levels clerical 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.

Attachments: csv, json

<iframe src="https://pmagunia.com/iframe/r-dataset-package-mosaicdata-cps85.html" width="100%" height="100%" style="border:0px"></iframe>