gen_rho {MCCM}R Documentation

Generate Specific Binormal Distribution

Description

Generate random number of binormal distribution with 0 mean unit variance and correlation coefficient rho.

Usage

gen_rho(n, rho)

Arguments

n

sample size.

rho

correlation coefficient.

Value

Binormal random number with length n(in a 2*n matrix).

See Also

gen_polyseries gen_polychoric

Examples

gen_rho(100,0.5)

[Package MCCM version 0.1.0 Index]