Cohen's kappa with two raters is:
$$\kappa = \frac{p_o - p_a}{1 - p_a}$$
where $p_a$ is probability of agreement by chance, and $p_o$ is the observed rate of agreement. I can't figure out why the denominator is $1 - p_a$ instead of $p_a$. Shouldn't it be $p_a$ because the score should be inversely proportional to $p_a$ (the higher the accidental coincidence, the smaller the agreement should be)?