p170

This problem has to do with odds.

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

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

```
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`

Given 16%

```
odds = .16 /(1 - .16)
odds # .19 odds
```

`## [1] 0.1904762`