rncs {CopulaInference}R Documentation

Simulation of non-central squared copula

Description

This function computes generates a bivariate sample from a non-central squared copula (ncs) associated with a one-parameter copula with parameter cpar, and parameters a1, a2 >0 .

Usage

rncs(n, family, rotation = 0, par)

Arguments

n

Number of observations

family

Copula family: "ncs-gaussian", "ncs-clayton", "ncs-frank", "ncs-gumbel", "ncs-joe", "ncs-plackett”.

rotation

Rotation: 0 (default value), 90, 180, or 270.

par

vector of copula parameter and non-centrality parameter a1,a2 >0

Value

U

Observations

References

Nasri (2020). On non-central squared copulas. Statistics and Probability Letters.

Examples

rncs(100,"ncs-clayton",par=c(2,1,2))



[Package CopulaInference version 0.5.0 Index]