solve2 {binarySimCLF} | R Documentation |
Given two marginal means mui, muj and a pairwise odds ratio psi, the function
computes the moment E[Y_i Y_j] := μ_{ij}. This function is called by
ranBin2
and psi2var
. There is no reason for the user to use this
function in any direct way.
solve2(mui, muj, psi)
mui |
Mean of Bernoulli Y_i |
muj |
Mean of Bernoulli Y_j |
psi |
Pairwise odds ratio of Y_i and Y_i |
Returns E[Y_i Y_j] := μ_{ij}.
#Example mu1=0.35; mu2 = 0.35; psi = 2.5 ; solve2(mui=mu1, muj=mu2, psi=2.5)