Prediction of polytomous events: Model description, algorithm development and methodological aspects, with an application