View source: R/binary_multiESS.R
bin_cov | R Documentation |
Covariance between binary variables.
bin_cov(pij, pi, pj)
pij |
joint probability. |
pi |
marginal probability of the first variable. |
pj |
marginal probability of the second variable. |
covariance.
bin_cov(pij = 0.5, pi = .2, pj = .2)
bin_cov(pij = 0.0, pi = .2, pj = .2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.