ORDSUWcop {copBasic} | R Documentation |
Ordinal Sums of W-Copula
Description
Compute W-ordinal sum of the summands (Klement et al., 2017) within into
partitions (possibly infinite) within
. Letting
denote a partition of
and
be the
th partition that does not overlap with others and letting also
be a copula for the
th partition, then the ordinal sum of these
with parameters
with respect to
is the copula
given by
for points within the partitions, and for points otherwise outside the partitions the coupla is given by
let be a convenient abbreviation for the copula. (See
ORDSUMcop
, M-ordinal sum of the summands.)
Usage
ORDSUWcop(u,v, para=list(cop=M, para=NA, part=c(0,1)), ...)
Arguments
u |
Nonexceedance probability |
v |
Nonexceedance probability |
para |
A list of sublists for the coupla, parameters, and partitions (see Examples) and some attempt for intelligent in-fill of |
... |
Additional arguments to pass. |
Value
Value(s) for the copula are returned.
Author(s)
W.H. Asquith
References
Klement, E.P., Kolesárová, A., Mesiar, R., Saminger-Platz, S., 2017, Copula constructions using ultramodularity (chap. 9) in Copulas and dependence models with applications—Contributions in honor of Roger B. Nelsen, eds. Flores, U.M., Amo Artero, E., Durante, F., Sánchez, J.F.: Springer, Cham, Switzerland, ISBN 978–3–319–64220–9, doi:10.1007/978-3-319-64221-5.
See Also
copBasic-package
, W_N5p12a
, ORDSUMcop
Examples
para <- list(cop=c(CLcop, GHcop), para=list(5, 2), part=c(0,0.25,1)) # break points
UV <- simCOP(n=100, cop=ORDSUMcop, seed=1, para=para, ploton=TRUE, pch=16)
UV <- simCOP(n=100, cop=ORDSUWcop, seed=1, para=para, ploton=FALSE)
## Not run:
para <- list(cop=c(CLcop, M, PLcop, GHcop), para=list(4, NA, 0.1, c(3,4)),
part=list(c(0,0.25), c(0.25,0.35), c(0.35,0.85), c(0.85,1)))
UV <- simCOP(n=100, cop=ORDSUWcop, para=para, ploton=FALSE)
plot(c(0,1), c(0,1), xlab="U, NONEXCEEDANCE PROBABILITY", type="n",
ylab="V, NONEXCEEDANCE PROBABILITY")
for(k in seq_len(length(para$part))) { # to draw the partitions
a <- para$part[[k]][1]; b <- para$part[[k]][2]
polygon(c(a, b, b, a, a), c(1-a,1-a,1-b,1-b,1-a), lty=2, lwd=0.8, col="lightgreen")
text((a+b)/2, (1-a+1-b)/2, k, cex=3, col="blue") # numbered by partition
}
points(UV, pch=21, cex=0.8, col=grey(0.1), bg="white") #
## End(Not run)
## Not run:
para = list(cop=c(GHcop), para=list(c(2,3)), # internally replicated
part=list(c(0,0.2), c(0.2,0.3), c(0.3,0.5), c(0.5,0.7), c(0.7,1)))
UV <- simCOP(n=100, cop=ORDSUWcop, para=para, ploton=FALSE)
plot(c(0,1), c(0,1), xlab="U, NONEXCEEDANCE PROBABILITY",
ylab="V, NONEXCEEDANCE PROBABILITY")
for(k in seq_len(length(para$part))) { # to draw the partitions
a <- para$part[[k]][1]; b <- para$part[[k]][2]
polygon(c(a, b, b, a, a), c(a,a,b,b,a), lty=2, lwd=0.8, col="lightgreen")
text((a+b)/2, (a+b)/2, k, cex=3, col="blue") # numbered by partition
}
points(UV, pch=21, cex=0.8, col=grey(0.1), bg="white") #
## End(Not run)