Default | R Documentation |
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.
Default
A data frame with 10000 observations on the following 4 variables.
default
A factor with levels No
and Yes
indicating whether the customer defaulted on their debt
student
A factor with levels No
and Yes
indicating whether the customer is a student
balance
The average balance that the customer has remaining on their credit card after making their monthly payment
income
Income of customer
Simulated data
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
summary(Default) glm(default~student+balance+income,family="binomial",data=Default)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.