The output of this function is used by rmvbin
. For all
combinations of marginprob[i]
, marginprob[j]
and
corr[k]
, the probability that both components of a normal
random variable with mean qnorm(marginprob[c(i,j)])
and
correlation corr[k]
are larger than zero is computed.
The probabilities are either computed by numerical integration of the
multivariate normal density, or by Monte Carlo simulation.
For normal usage of rmvbin
it is not necessary to use
this function, one simulation result is provided as variable
SimulVals
in this package and loaded by default.