| HAIRPINcop | R Documentation |
The Hairpin copula (Durante et al., 2014) is
\mathbf{C}_{\Theta}(u,v) = \mathbf{HAIRPIN}(u,v) =
\mathrm{min}\bigl[u, v, \mathrm{mean}\bigl(f(u,v) \bigr) \bigr]\mbox{,}
as vectorized for the pairs (u_i, v_i) for i \in 1,2,\cdots, and f(x) = \alpha x^\phi, 1 \le \alpha \le \infty, and 1 \le \phi \le 2. The copula, as \alpha \rightarrow \infty or \phi \rightarrow 1 limits, to the comonotonicity coupla (\mathbf{M}(u,v); M).
HAIRPINcop(u, v, para=c(1, 2, 1), ...)
u |
Nonexceedance probability |
v |
Nonexceedance probability |
para |
A vector (three element) of two parameters and the reflection: |
... |
Additional arguments to pass. |
Value(s) for the copula are returned.
W.H. Asquith
Durante, F., Fernández-Sánchez, J., and Trutschnig, W., 2014, Multivariate copulas with hairpin support: Journal of Multivariate Analysis, v. 130, pp. 323–334, \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1016/j.jmva.2014.06.009")}.
M
## Not run:
# Produce a Celtic Knot look through simulation -----------------------------
nsim <- 1.5E4
plot(c(0, 1), c(0, 1), type="n", bty="n",
xaxt="n", yaxt="n", xaxs="r", yaxs="r", xlab="", ylab="")
sapply(1:4, function(n) {
UV <- simCOP(nsim, cop=HAIRPINcop, para=c(1.12, 1.8, n),
seed=1, ploton=FALSE, pch=16, cex=0.6, col=n); return(n) })
sapply(1:4, function(n) {
UV <- simCOP(nsim, cop=HAIRPINcop, para=c(1.12, 1.3, n),
seed=1, ploton=FALSE, pch=16, cex=0.6, col=n); return(n) }) #
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.