Play Favorites: A Statistical Method to Measure Self-Bias in LLM-as-a-Judge