ISLR Home

Question

p170

This problem has to do with odds.

  1. On average, what fraction of people with an odds of 0.37 of defaulting on their credit card payment will in fact default?

  2. Suppose that an individual has a 16% chance of defaulting on her credit card payment. What are the odds that she will default?


9a

Given .37 odds

odds = p(X )/  1−p(X)

.37 = p / 1 - p
(1-p).37 = p
.37 - .37 p= p
.37 = 1.37p
p = .37/1.37
p # = .27 # 27%
## [1] 0.270073

9b

Given 16%

odds = .16 /(1 - .16)
odds # .19 odds
## [1] 0.1904762