I have a model of the form

mylogit <- glm(y~x+as.factor(year)+as.factor(city), data=d, family="binomial")

How can I plot the ROC curve (or get the ROC score) of x conditional on the year and city fixed effects?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.