A New Formula for $k$-Statistics