I built a glm
model and used it to predict probabilities for the test data.
model = glm(y ~ x, data=dt, family=binomial(link='logit'))
pred = predict(model, newdata=test.dt, type='response')
How do I find the test log-likelihood for the predicted probabilities?