If \(R_i\) and \(R_j\) is the number of events of type \(i\) and \(j\), respectively, in a cluster of
size \(n\), then
$$Var(R_i)= n p_i (1-p_i)(1 + (n-1)\phi_{ii})$$
$$Cov(R_i,R_j)= -n p_i p_j (1 + (n-1)\phi_{ij})$$
where \(p_i\) and \(p_j\) are the marginal event probabilities and \(\phi_{ij}\) are the correlation
coefficients computed by multi.corr
.