Question: To model the relationship between p ( X ) = PrY = 1 | X ) and X , logistie regression takes the form p

To model the relationship between p(X)= PrY =1| X) and X, logistie regression takes the form
pX=
1+.00+Brx|
which always returns a value between 0 and 1.
Consider the 'ISLR2::Default' dataset.
> str (ISR2:: Default )
'data, frame': 10000 obs. of 4 variables:
default: Factor W/2 levels "No RYe 1111212144
student: Factor w/2 levels "No" "Yes": 1211121211
$
balance: num 7308171074529786...
$ income : num 4436212106317673570438463...
A logistic regression model of 'default' on 'balance' is fitted, and a summary of the coefficient estimates is shown below.
> summary (gim (default - balance, data = Default, family = "binomial" ))Scoef
Estimate
Std. Error
(Intercept)-10.6513306140.3611573721
balance
0.0054989170.0002203702
z value
Pr (>|z|)
(Intercept )
-29.492213.623124e-191
balance
24.953091.976602e-137

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!