partri: Estimate the Parameters of the Asymmetric Triangular...

partriR Documentation

Estimate the Parameters of the Asymmetric Triangular Distribution


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

ε = \biggl(\frac{λ_1 - \hatλ_1}{\hatλ_1}\biggr)^2 + \biggl(\frac{λ_2 - \hatλ_2}{\hatλ_2}\biggr)^2 + \biggl(\frac{τ_3 - \hatτ_3}{1}\biggr)^2

for estimation of the three parameters (ν, minimum; ω, mode; and ψ, maximum) from the sample L-moments (\hatλ_1, \hatλ_2, \hatτ_3). The divisions shown in the objective function are used for scale removal to help make each L-moment order somewhat similar in its relative contribution to the solution. The coefficient of L-variation is not used because the distribution implementation by the lmomco package supports entire real number line and the loss of definition of τ_2 at x = 0, in particular, causes untidiness in coding.

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 ν = ω \equiv (ν^\star + ω^\star)/2 when \hatτ_3 > 0.142857 or ψ = ω \equiv (ψ^\star + ω^\star)/2 when \hatτ_3 < 0.142857 where the \star versions are the optimized values if the τ_3 is very near to its numerical bounds.


partri(lmom, checklmom=TRUE, ...)



An L-moment object created by lmoms or vec2lmom.


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 τ_4 and τ_3 inequality). However, for some circumstances or large simulation exercises then one might want to bypass this check.


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”.


W.H. Asquith

See Also

lmomtri, cdftri, pdftri, quatri


lmr <- lmomtri(vec2par(c(10,90,100), type="tri"))

partri(lmomtri(vec2par(c(-11, 67,67), type="tri")))$para
partri(lmomtri(vec2par(c(-11,-11,67), type="tri")))$para

lmomco documentation built on Aug. 27, 2022, 1:06 a.m.