R Dataset / Package ISLR / Wage

Submitted by pmagunia on March 9, 2018 - 1:06 PM
Dataset License
GNU General Public License v2.0
Attachment Size
dataset-37830.csv 454.3 KB
Documentation

Mid-Atlantic Wage Data

Description

Wage and other data for a group of 3000 workers in the Mid-Atlantic region.

Usage

Wage

Format

A data frame with 3000 observations on the following 12 variables.

year

Year that wage information was recorded

age

Age of worker

sex

Gender

maritl

A factor with levels 1. Never Married 2. Married 3. Widowed 4. Divorced and 5. Separated indicating marital status

race

A factor with levels 1. White 2. Black 3. Asian and 4. Other indicating race

education

A factor with levels 1. < HS Grad 2. HS Grad 3. Some College 4. College Grad and 5. Advanced Degree indicating education level

region

Region of the country (mid-atlantic only)

jobclass

A factor with levels 1. Industrial and 2. Information indicating type of job

health

A factor with levels 1. <=Good and 2. >=Very Good indicating health level of worker

health_ins

A factor with levels 1. Yes and 2. No indicating whether worker has health insurance

logwage

Log of workers wage

wage

Workers raw wage

Source

Data was manually assembled by Steve Miller, of Open BI (www.openbi.com), from the March 2011 Supplement to Current Population Survey data.

http://thedataweb.rm.census.gov/TheDataWeb

References

Games, G., Witten, D., Hastie, T., and Tibshirani, R. (2013) An Introduction to Statistical Learning with applications in R, www.StatLearning.com, Springer-Verlag, New York

Examples

summary(Wage)
lm(wage~year+age,data=Wage)
## maybe str(Wage) ; plot(Wage) ...
--

Dataset imported from https://www.r-project.org.

Documentation License
GNU General Public License v2.0

From Around the Site...

Title Authored on Content type
R Dataset / Package MASS / painters March 9, 2018 - 1:06 PM Dataset
R Dataset / Package evir / nidd.annual March 9, 2018 - 1:06 PM Dataset
R Dataset / Package MASS / hills March 9, 2018 - 1:06 PM Dataset
R Dataset / Package HistData / Galton March 9, 2018 - 1:06 PM Dataset
R Dataset / Package car / States March 9, 2018 - 1:06 PM Dataset