Вы находитесь на странице: 1из 2

Yi Ting Chang

006699414

Consider the logistic regression for the toy data set, where π is the probability of passing the class:
̂
𝜋
log [1−𝜋̂]=25.60188-0.363761MidtermScore
Consider two students, one who scores 67% on the midterm and one who scores 73% on the midterm.
What are the odds that each fails the class? What is the probability that each fails the class?

̂
𝜋
log [1−𝜋̂] = -25.60188+0.363761MidtermScore is a formula of passing the class.
̂
𝜋
So I use this formula for failing the class: log [1−𝜋̂] = 25.60188-0.363761* MidtermScore

̂
𝜋
log [1−𝜋̂] = 25.60188-0.363761*67 = 1.229893
The odds that fails the class who scores 67% is 1.229893

̂
𝜋
log [1−𝜋̂] = 25.60188-0.363761*73 = -0.952673
The odds that fails the class who scores 73% is -0.952673

Вам также может понравиться