par2cdf2 | R Documentation |
This function computes the nonexceedance probability of a given quantile from a linear weighted combination of two quantile functions but accomplishes this from the perspective of cumulative distribitution functions (see par2qua2
). For the current implementation simply uniroot
'ing of a internally declared function and par2qua2
is made. Mathematical details are provided under par2qua2
.
par2cdf2(x, para1, para2, weight=NULL, ...)
x |
A real value vector. |
para1 |
The first distribution parameters from |
para2 |
The second distribution parameters from |
weight |
An optional weighting argument to use in lieu of the |
... |
The additional arguments are passed to the quantile function. |
Nonexceedance probabilities (0 \le F \le 1
) for x
from the two distributions.
W.H. Asquith
par2cdf
, lmom2par
, par2qua2
lmr <- lmoms(rnorm(20)); left <- parnor(lmr); right <- pargev(lmr)
mixed.median <- par2qua2(0.5, left, right)
mixed.nonexceed <- par2cdf2(mixed.median, left, right)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.