par2cdf2 {lmomco} | R Documentation |
Equivalent Cumulative Distribution Function of Two Distributions
Description
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
.
Usage
par2cdf2(x, para1, para2, weight=NULL, ...)
Arguments
x |
A real value vector. |
para1 |
|
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. |
Value
Nonexceedance probabilities (0 \le F \le 1
) for x
from the two distributions.
Author(s)
W.H. Asquith
See Also
Examples
lmr <- lmoms(rnorm(20)); left <- parnor(lmr); right <- pargev(lmr)
mixed.median <- par2qua2(0.5, left, right)
mixed.nonexceed <- par2cdf2(mixed.median, left, right)