Question: The likelihood function for the logistic regression model is given in Equation 17.8. It may be tempting to write a function, say lik_Logistic, which is
The likelihood function for the logistic regression model is given in Equation 17.8. It may be tempting to write a function, say lik_Logistic, which is proportional to the likelihood function. However, optimize does not return the MLE! Write a program and check if you can obtain the MLE.
Data from in Equation 17.8
![L(B,y)=(x)[1 - (x;)]. i=1 (17.8)](https://dsd5zvtm8ll6.cloudfront.net/si.question.images/images/question_images/1665/2/3/1/027634168b3b23951665231023663.jpg)
L(B,y)=(x)[1 - (x;)]. i=1 (17.8)
Step by Step Solution
3.36 Rating (162 Votes )
There are 3 Steps involved in it
Thorough calculations and explanations The follo... View full answer
Get step-by-step solutions from verified subject matter experts
