Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2019/ii/paper-4/13j/a/solution

Conditional on the observed colleges, the stochastic block model assumes that the friendship indicators are independent random variables. For arbitrary linear predictors , their Bernoulli distribution likelihood is
Thus the three requested likelihoods are

New to topics? Read the docs here!