Credit | R Documentation |
Credit Card Balance Data
Description
A simulated data set containing information on ten thousand customers. The aim here is to predict which customers will default on their credit card debt.
Usage
Credit
Format
A data frame with 10000 observations on the following 4 variables.
ID
Identification
Income
Income in $1,000's
Limit
Credit limit
Rating
Credit rating
Cards
Number of credit cards
Age
Age in years
Education
Number of years of education
Gender
A factor with levels
Male
andFemale
Student
A factor with levels
No
andYes
indicating whether the individual was a studentMarried
A factor with levels
No
andYes
indicating whether the individual was marriedEthnicity
A factor with levels
African American
,Asian
, andCaucasian
indicating the individual's ethnicityBalance
Average credit card balance in $.
Source
Simulated data, with thanks to Albert Kim for pointing out that this was omitted, and supplying the data and man documentation page on Oct 19, 2017
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(Credit)
lm(Balance ~ Student + Limit, data=Credit)