gen_rho {MCCM} | R Documentation |
Generate random number of binormal distribution with 0 mean unit variance and correlation coefficient rho.
gen_rho(n, rho)
n |
sample size. |
rho |
correlation coefficient. |
Binormal random number with length n(in a 2*n matrix).
gen_rho(100,0.5)