Logistic analysis of animal contests