'Calculates expected values for a contingency table.'

@staticmethod
def _expected_values(cont):

    n_xx = sum(cont)
    for i in range(4):
        (yield (((cont[i] + cont[(i ^ 1)]) * (cont[i] + cont[(i ^ 2)])) / n_xx))
