coins {multivariance}R Documentation

dependence example: k-independent coin sampling

Description

This function creates samples which are dependent but k-independent.

Usage

coins(N = 1000, k = 2)

Arguments

N

number of samples

k

each k-tuple will be independent

Value

It returns the samples as rows of an N by k+1 matrix. The columns are dependent but k-independent.

References

For the theoretic background see the reference [3] given on the main help page of this package: multivariance-package.

Examples

coins(200,4)


[Package multivariance version 2.2.0 Index]