
Last chance! 50% off unlimited learning
Sale ends in
Compute the coordinates of the bivariate marginal probabilities for variables data.frame
. This operation is very similiar to the plotting capabilities in level.curvesCOP2
for level curves (Nelsen, 2006, pp. 12--13) but implemented in the function joint.curvesCOP2
for alternative utility.
For the case of a joint or probability, the dual of a copula (function) or data.frame
.
joint.curvesCOP2(cop=NULL, para=NULL, type=c("and", "or"),
probs=c(0.5, 0.8, 0.90, 0.96, 0.98, 0.99, 0.995, 0.998),
zero2small=TRUE, small=1E-6, divisor=100, delv=0.001, ...)
A copula function;
Vector of parameters or other data structure, if needed, to pass to the copula;
What type of joint probability is to be computed;
The joint probabilities for which to compute the coordinates. The default values represent especially useful annual return period equivalents that are useful in hydrologic risk analyses;
A logical controlling whether precise zero value for probability are converted to a small
value and precise unity values for probability are converted to the value 1 - small
; this logical is useful if transformation from probability space into standard normal variates or Gumbel reduced variates (GRV; see function prob2grv()
in package lmomco) is later desired by the user for attendant graphics (see Examples section);
The value for small described for zero2small
;
A divisor on a computation of a
A
Additional arguments to pass to the duCOP
function of copBasic or uniroot()
function.
An R list
is returned with elements each of the given probs
.
Nelsen, R.B., 2006, An introduction to copulas: New York, Springer, 269 p.
diagCOPatf
, duCOP
, jointCOP
, joint.curvesCOP
, level.curvesCOP2
# NOT RUN {
# Approach the joint curves from both "with respect two" perspectives---results same.
JCvwrtu <- joint.curvesCOP( cop=PSP, prob=0.98)$"0.98"
JCuwrtv <- joint.curvesCOP2(cop=PSP, prob=0.98)$"0.98"; lim <- c(2,5)
plot(qnorm(JCvwrtu$U), qnorm(JCvwrtu$V), type="l", lwd=6, col=8, xlim=lim, ylim=lim,
xlab="STANDARD NORMAL VARIATE IN U", ylab="STANDARD NORMAL VARIATE IN V")
lines(qnorm(JCuwrtv$U), qnorm(JCuwrtv$V), col=2, lwd=2)
mtext("98th Joint Percentile Level Curve for PSP Copula")#
# }
Run the code above in your browser using DataLab