gen_rho: Generate Specific Binormal Distribution

View source: R/gen_rho.R

gen_rhoR 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)

MCCM documentation built on May 29, 2024, 12:09 p.m.

Related to gen_rho in MCCM...