In Measuring nominal scale agreement among many raters, where the authors define Fleiss kappa, the agreement by chance is defined as
where $p_j$ is defined as the proportion of ratings which were to the $j$th category.
Can someone explain how the authors arrived at this equation?
An additional reference for the equations can be found on Wikipedia