BN.rBound {SimTimeVar} | R Documentation |
Maximum correlation between binary and normal random variables
Description
Given parameter p
for a Bernoulli random variable, returns its maximum possible
correlation with an arbitrary normal random variable. Used to adjust correlation matrices
whose entries are not theoretically possible.
Usage
BN.rBound(p)
Arguments
p |
Parameter of Bernoulli random variable. |
Examples
# find the largest possible correlation between a normal
# variable and a binary with parameter 0.1
BN.rBound(0.1)
[Package SimTimeVar version 1.0.0 Index]