R/data_wages.R

#' Wages and Related Data for 1289 Workers
#'
#' A random sample of 1,280 workers
#' from the Cirrent Population Survey (CPS)
#' for March 1995.
#'
#' @format
#' A data frame with 1289 cases and 7 variables:
#' \describe{
#'   \item{wages}{
#'     Hourly wages in US dollars.
#'   }
#'   \item{gender}{
#'     Gender, 1 for female, 0 for male.
#'   }
#'   \item{race}{
#'     Race, 1 for nonwhite workers and 0 for white workers.
#'   }
#'   \item{union}{
#'     Union status, 1 if in union, 0 otherwise.
#'   }
#'   \item{education}{
#'     Education in years.
#'   }
#'   \item{experience}{
#'     Work experience in years.
#'   }
#'   \item{age}{
#'     Age in years.
#'   }
#' }
#' @examples
#' data(wages, package = "jeksterslabRdatarepo")
#' str(wages)
#' head(wages)
#' @source
#' From Chapter 4 in Gujarati (2019).
#' @references
#' Gujarati, D. N. (2019). *Linear regression: A mathematical introduction*.
#' Thousand Oaks: SAGE Publications.
#' ISBN:9781544336558.
#' Google:[pqxyDwAAQBAJ](https://books.google.com/books/about/Linear_Regression.html?id=pqxyDwAAQBAJ)
"wages"
jeksterslabds/jeksterslabRdatarepo documentation built on Jan. 5, 2021, 3:27 a.m.