Wage | R Documentation |
Mid-Atlantic Wage Data
Description
Wage and other data for a group of 3000 male workers in the Mid-Atlantic region.
Usage
Wage
Format
A data frame with 3000 observations on the following 11 variables.
year
Year that wage information was recorded
age
Age of worker
maritl
A factor with levels
1. Never Married
2. Married
3. Widowed
4. Divorced
and5. Separated
indicating marital statusrace
A factor with levels
1. White
2. Black
3. Asian
and4. Other
indicating raceeducation
A factor with levels
1. < HS Grad
2. HS Grad
3. Some College
4. College Grad
and5. Advanced Degree
indicating education levelregion
Region of the country (mid-atlantic only)
jobclass
A factor with levels
1. Industrial
and2. Information
indicating type of jobhealth
A factor with levels
1. <=Good
and2. >=Very Good
indicating health level of workerhealth_ins
A factor with levels
1. Yes
and2. No
indicating whether worker has health insurancelogwage
Log of workers wage
wage
Workers raw wage
Source
Data was manually assembled by Steve Miller, of Inquidia Consulting (formerly Open BI). From the March 2011 Supplement to Current Population Survey data.
https://www.re3data.org/repository/r3d100011860
References
James, G., Witten, D., Hastie, T., and Tibshirani, R. (2013) An Introduction to Statistical Learning with applications in R, https://www.statlearning.com, Springer-Verlag, New York
Examples
summary(Wage)
lm(wage~year+age,data=Wage)
## maybe str(Wage) ; plot(Wage) ...