Question

The following table shows the concentration of a new antibiotic, the total number of infected subjects, and the number of subjects who showed complete recovery:

 

S. No. Concentration ($x_i$) Recovered ($y_i$) Total Subjects ($n_i$)
1 2 10 50
2 4 15 45
3 6 22 40
4 8 35 60
5 10 68 80

 



(i) Fit a logistic regression model considering ẞ=-2.148 and ẞ = 0.36, as the initial values of the parameters. Perform calculations for only one iteration using the Newton-Raphson method.

(ii) Test the significance of the fitted model using the Hosmer-Lemeshow test at 5% level of significance.

 

25 Mar 2026
Answer :
Word Count : 666
Let’s solve this step by step, manually, using the Newton-Raphson method for logistic regression and then apply the Hosmer-Lemeshow test. We are given: * Initial parameter estimates: (\beta_0 = -2.148), (\beta_1 = 0.36) * Observations: (x_i) (concentration), (y_i) (recovered), (n_i) (total subjects) We want one iteration of Newton-Raphson. --- Step 1: Logistic regression basics For a logistic regression: [ \pi_i = \frac{e^{\beta_0 + \beta_1 x_i}}{1 + e^{\beta_0 + \beta_1 x_i}} ] The Newton-Raphson update is: [ \boldsymbol{\beta}^{(new)} = \boldsymbol{\beta}^{(old)} + (\mathbf{X}^\top \mathbf{W} \mathbf{X})^{-1} \mathbf{X}^\top (\mathbf{y} - \boldsymbol{\mu}) ] Where: * (\mathbf{X} = \begin{bmatrix} 1 & x_1 \ \vdots & \vdots \ 1 & x_n \end{bmatrix}) * (\mathbf{W} = \text{diag}(n_i \pi_i (1-\pi_i))) * (\boldsymbol{\mu} = n_i \pi_i) --- Step 2: Compute (\pi_i) with initial estimates [ \pi_i = \frac{e^{\beta_0 + \beta_1 x_i}}{1 + e^{\beta_0 + \beta_1 x_i}} ] * For (x_1 = 2): [ \eta_1 = -2.148 + 0.36 \cdot 2 = -2.148 + 0.72 = -1.428 ] [ \pi_1 = \frac{e^{-1.428}}{1 + e^{-1.428}} \approx \frac{0.240}{1 + ____ ________ _______ _________ _________ _____ ___.
_________ _________ _______ ________ _________ _________ _________ _________ ________ __________ ________ ____.
___ __________ _________ __________ _________ _______ _____ _________ ___.
________ __________ _________ ___ _______ _________ _________ _____.
______ ____ ___ ___ ______ ________ ___.
_______ __________ ___ _________ __________.
__________ _____ ____ __________ ______ ______ _____.
___ ________ _________ ___ _____ ____ ________.
________ __________ ______ __________ _____ _____ ________.
_____ _______ _______ _______ ______ _______ ____ ___ ______ _________.
____ _______ ____ _________ ___ _________.
______ _________ __________ ______ _______ ____ _____ __________ _________.
_____ ____ ____ _____ _______ ______.
_________ _______ _____ __________ ________ __________.
____ _______ _____ ___ ___.
_____ _______ ____ ____ ___.
_________ _____ ____ _____ _____ ______ _____ _______.
_____ ______ ____ ____ __________.
______ ____ _____ __________ ____ _______ __________ ________ _________ _______ _________.
________ _____ _____ ______ _________ __________ ____ __________ ______.
______ ______ ____ ______ ________.
_______ ____ __________ _______ _________ ________ _____ _______.
________ _________ _________ ____ ___ ____.
___ __________ ___ ____ _________.
______ _____ ______ __________ __________ ______.
_________ _______ ________ ____ _______ ______ ________ ____ _____ ______.
_________ ____ _________ ______ _________ ___ ___ _______ _____.
________ ______ ________ ________ __________ _________ ________ _________.
______ __________ ____ _________ ___ ____ ____ ______.
____ ___ ______ _____ ____ _____ ________.
________ ____ __________ _________ _______ _______ ______.
_______ ______ ________ _________ _________.
________ ________ _____ ________ _________ _______ _______.
________ ________ _________ ________ ________ _____ _____ _________.
______ ___ ___ ______ ___ ____ _______ _______.
_______ ______ ___ ________ ___.
__________ ______ ____ _____ ______ ___ __________ _____ ____ ______ __________ ____.
______ _______ ______ _____ _____ _____ ____ _________ ___ _______.
_____ _____ ________ ________ __________ ______ _____ ________.
___ ___ _______ ____ ______ _______ ________ _______ _____ ____.
_________ ___ ________ ______ _____ ___ ___.
__________ ________ ___ ________ _________.
_____ ____ ___ _____ _________ _________ ___ ___ _____ _________.
____ _________ _________ _____ _________ _____ ______ ____ _______ ____.
________ _______ ______ _________ ______ _____ ___.
________ ____ _____ __________ __________ _____ _______ ______ __________ _____.
___ ________ _____ ____ ______ ___ ______ ____ _____ _________.
______ _______ ___ ________ ___ ____ ______ _______.
_______ __________ __________ ______ ______ ________ ______ ________ _________ _______ _______ ___.
_________ ______ _________ _______ ________ ______ __________ __________ _______ _____ ______.
_________ ___ ___ __________ ______ _________ __________ ________ _______ ___ _____ ________.
__________ _________ ________ ______ ____ _________ __________ ______ ___ ______ __________ ____.
___ _____ _______ __________ __________ ________.
_______ _______ ________ ______ ____ ____ ___ ______ ___.
___ __________ _______ ______ ____ _________ _______ ___ __________ ________.
_____ _______ ____ __________ _________ ______ _______ __________ ______ _______ ________ ____.
____ ____ ____ ________ __________ __________ ________ __________ ____ __________ ____ _____.
______ ________ __________ _________ ______ _____ ________.
_________ ______ ___ _________ __________ _______ _________ _____ _____ _____ ________ __________.
_____ ____ __________ ___ __________ _________ _____ ____ __________.
____ _______ _________ _____ _____ _________.
_______ __________.
Get Full Answer on WhatsApp
IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance The following table shows the concentration of a new antibiotic, the t
🟢
WhatsApp Chat Fast live messaging
Email Us Business enquiries & support