quatri | R Documentation |
This function computes the quantiles of the Asymmetric Triangular distribution given parameters (\nu
, \omega
, and \psi
) of the distribution computed by partri
. The quantile function of the distribution is
x(F) = \nu + \sqrt{(\psi - \nu)(\omega - \nu)F}\mbox{,}
for F < P
,
x(F) = \psi - \sqrt{(\psi - \nu)(\psi - \omega)(1-F)}\mbox{,}
for F > P
, and
x(F) = \omega\mbox{,}
for F = P
where x(F)
is the quantile for nonexceedance probability F
, \nu
is the minimum, \psi
is the maximum, and \omega
is the mode of the distribution and
P = \frac{(\omega - \nu)}{(\psi - \nu)}\mbox{.}
quatri(f, para, paracheck=TRUE)
f |
Nonexceedance probability ( |
para |
The parameters from |
paracheck |
A logical controlling whether the parameters are checked for validity. Overriding of this check might be extremely important and needed for use of the quantile function in the context of TL-moments with nonzero trimming. |
Quantile value for nonexceedance probability F
.
W.H. Asquith
cdftri
, pdftri
, lmomtri
, partri
lmr <- lmoms(c(46, 70, 59, 36, 71, 48, 46, 63, 35, 52))
quatri(0.5,partri(lmr))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.