i need the answer step by step

Answer: From the given binary linear regression we have, P yj pj j 1 pj y 1 y j , y j 0,1 and p j 0 1 x j , j 1, 2,K , N

Now, we have to find the likelihood function of the sample, L 0 , 1 .

From…Statistics and Probability