Consider calculation of the MLE in the logit regression model when the only regressor is the intercept.

Question:

Consider calculation of the MLE in the logit regression model when the only regressor is the intercept. Then E[y]=1/(1+eβ) and the gradient of the scaled log-likelihood function g(β)=(y1/(1+eβ)). Suppose a sample yields y¯= 0.8 and the starting value is β=0.0.

(a) Calculate β for the first six iterations of the Newton-Raphson algorithm.

(b) Calculate the first six iterations of a gradient algorithm that sets As=1 in (10.1), so β^s+1=β^s+gs.

(c) Compare the performance of the methods in parts

(a) and (b).

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Microeconometrics Methods And Applications

ISBN: 9780521848053

1st Edition

Authors: A.Colin Cameron, Pravin K. Trivedi

Question Posted: