Last chance! 50% off unlimited learning
Sale ends in
Compute a level curve or level set of a copula for level.curvesCOP
.
level.setCOP(cop=NULL, para=NULL, getlevel=NULL, delu=0.001, lines=FALSE, ...)
A copula function;
Vector of parameters or other data structure, if needed, to pass to the copula;
The level set for
The increment for
A logical that matches the argument of the same name in level.curvesCOP
; and
Additional arguments to pass to the lines()
function in R.
The level set for getlevel
is returned.
Nelsen, R.B., 2006, An introduction to copulas: New York, Springer, 269 p.
# 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") #
# }
Run the code above in your browser using DataLab