level.setCOP | R Documentation |
Compute a level curve or level set of a copula for V
with respect to U
(Nelsen, 2006, pp. 12–13). The level curve at level t
is defined for U \mapsto [0+\Delta u, 1-\Delta u, \Delta u]
by
t \mapsto \mathbf{C}(u{=}U, v)\mbox{,}
and solving for v
. The function is largely a dispatcher to features implemented in level.curvesCOP
.
level.setCOP(cop=NULL, para=NULL, getlevel=NULL, delu=0.001, lines=FALSE, ...)
cop |
A copula function; |
para |
Vector of parameters or other data structure, if needed, to pass to the copula; |
getlevel |
The level set for |
delu |
The increment for |
lines |
A logical that matches the argument of the same name in |
... |
Additional arguments to pass to the |
The level set for t
=
getlevel
is returned.
W.H. Asquith
Nelsen, R.B., 2006, An introduction to copulas: New York, Springer, 269 p.
level.setCOP2
, level.curvesCOP
## Not run:
set <- level.setCOP(cop=PSP, getlevel=0.23, delu=0.005)
level.curvesCOP(cop=PSP)
lines(set$U, set$V, col=2, lwd=2) # manually draw the 23rd percentile
set <- level.setCOP(cop=PSP, para=3.1, getlevel=0.67, lines=TRUE, col=4, lwd=4)
# Notice the change in the lines argument and using levelsetCOP2 to draw.
mtext("Level Curves and Special Level Sets for PSP copula") #
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.