Last chance! 50% off unlimited learning
Sale ends in
This function estimates the parameters of the Asymmetric Triangular distribution given the L-moments of the data in an L-moment object such as that returned by lmoms
. The relations between distribution parameters and L-moments are seen under lmomtri
.
The estimtion by the partri
function is built around simultaneous numerical optimization of an objective function defined as
The function is designed to support both left- or right-hand right triangular shapes because of (1) paracheck
argument availability in lmomtri
, (2) the sorting of the numerical estimates if the mode is no compatable with either of the limits, and (3) the snapping of
partri(lmom, checklmom=TRUE, ...)
Should the lmom
be checked for validity using the are.lmom.valid
function. Normally this should be left as the default and it is very unlikely that the L-moments will not be viable (particularly in the
Other arguments to pass.
An R list
is returned.
The type of distribution: tri
.
The parameters of the distribution.
The value of the objective function, which is the error of the optimization.
The source of the parameters: “partri”.
# NOT RUN {
lmr <- lmomtri(vec2par(c(10,90,100), type="tri"))
partri(lmr)
partri(lmomtri(vec2par(c(-11, 67,67), type="tri")))$para
partri(lmomtri(vec2par(c(-11,-11,67), type="tri")))$para
# }
Run the code above in your browser using DataLab