gen_polyseries {MCCM}R Documentation

Generate Polyseries Sample

Description

Generate polyseries sample with hidden distribution: binormal with correlation coefficient rho.

Usage

gen_polyseries(n, rho, a)

Arguments

n

sample size.

rho

correlation coefficient.

a

the cutoff points array.

Value

Polyseries sample with size n(in a 2*n matrix).

See Also

gen_rho gen_polychoric

Examples

gen_polyseries(100,0.5,-1:1)

[Package MCCM version 0.1.0 Index]