What statistical test would be appropriate to test whether the number of votes of a winner is significant when there are more than 2 levels?
For the case of 2 levels I found this answer. But is there an extension for more levels?
For example, given 3 candidates: A,B and C with number of votes:
I would like to test if A was really the winner or if it was just by chance with a given significance level. Preferably with an R implementation.
I found that a chi-squared test could be used but it just tells whether there was a significant difference between any of the groups but I want to test if the candidate with the highest number of votes is significantly better than the others.
I thought about comparing just the highest one with the second highest but I think that approach is not correct since I would be discarding information of the other candidates.