par2cdf2: Equivalent Cumulative Distribution Function of Two...

Description Usage Arguments Value Author(s) See Also Examples

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

1
par2cdf2(x, para1, para2, weight=NULL, ...)

Arguments

x

A real value vector.

para1

The first distribution parameters from lmom2par or vec2par.

para2

The second distribution parameters from lmom2par or vec2par.

weight

An optional weighting argument to use in lieu of the F. Consult the documentation for par2qua2 for the implementation details when weight is NULL.

...

The additional arguments are passed to the quantile function.

Value

Nonexceedance probabilities (0 ≤ F ≤ 1) for x from the two distributions.

Author(s)

W.H. Asquith

See Also

par2cdf, lmom2par, par2qua2

Examples

1
2
3
lmr <- lmoms(rnorm(20)); left <- parnor(lmr); right <- pargev(lmr)
mixed.median    <- par2qua2(0.5,          left, right)
mixed.nonexceed <- par2cdf2(mixed.median, left, right)

lmomco documentation built on Nov. 17, 2017, 7:25 a.m.