I am trying to predict football outcome using an ordered logit model and I am using R. I used polr in R and everything works fine until the prediction part. the dependent variable is the result (home win, draw, away win) and the independent variables are mostly binary besides the ELO rating (strength index for both teams) difference, where it consist 400 different values. While using the basepredict method, I found out that the prediction contain no "draw" as a result. After changing the data I believe the problem is that the "draw" result in the training data is not enough percentage-wise because after increase the amount of draws manually it indeed start showing draw as a result. My question is if there is a way to force the program to recognise three categories regardless of the amount of data entry. Any tips toward this final solution are all appreciated.

Thanks in advance!

New contributor
Bruce is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

Bruce is a new contributor. Be nice, and check out our Code of Conduct.

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.