Statistics for Distributed Key Generation and Its Applications