A general formula for the variance of Cohen's weighted kappa.