50% off: Unlimited data and AI learning.
The Learning Leader's Guide to AI Literacy

lmomco (version 2.4.14)

lmomst3: L-moments of the 3-Parameter Student t Distribution

Description

This function estimates the first six L-moments of the 3-parameter Student t distribution given the parameters (ξ, α, ν) from parst3. The L-moments in terms of the parameters are λ1=ξ, λ2=264νπαν1/2Γ(2ν2)/[Γ(12ν)]4\, and τ4=152Γ(ν)Γ(12)Γ(ν12)01(1x)ν3/2[Ix(12,12ν)]2xdx32, where Ix(12,12ν) is the cumulative distribution function of the Beta distribution. The distribution is symmetrical so that τr=0 for odd values of r:r3.

The functional relation τ4(ν) was solved numerically and a polynomial approximation made. The polynomial in turn with a root-solver is used to solve ν(τ4) in parst3. The other two parameters are readily solved for when ν is available. The polynomial based on logτ4 and logν has nine coefficients with a residual standard error (in natural logarithm units of τ4) of 0.0001565 for 3250 degrees of freedom and an adjusted R-squared of 1. A polynomial approximation is used to estimate the τ6 as a function of τ4; the polynomial was based on the theoLmoms estimating τ4 and τ6. The τ6 polynomial has nine coefficients with a residual standard error units of τ6 of 1.791e-06 for 3593 degrees of freedom and an adjusted R-squared of 1.

Usage

lmomst3(para, bypoly=TRUE)

Value

An R

list is returned.

lambdas

Vector of the L-moments. First element is λ1, second element is λ2, and so on.

ratios

Vector of the L-moment ratios. Second element is τ, third element is τ3 and so on.

trim

Level of symmetrical trimming used in the computation, which is 0.

leftrim

Level of left-tail trimming used in the computation, which is NULL.

rightrim

Level of right-tail trimming used in the computation, which is NULL.

source

An attribute identifying the computational source of the L-moments: “lmomst3”.

Arguments

para

The parameters of the distribution.

bypoly

A logical as to whether a polynomial approximation of τ4 as a function of ν will be used. The default is TRUE because this polynomial is used to reverse the estimate for ν as a function of τ4. A polynomial of τ6(τ4) is always used.

Author

W.H. Asquith with A.R. Biessen

References

Asquith, W.H., 2011, Distributional analysis with L-moment statistics using the R environment for statistical computing: Createspace Independent Publishing Platform, ISBN 978--146350841--8.

See Also

parst3, cdfst3, pdfst3, quast3

Examples

Run this code
lmomst3(vec2par(c(1124,12.123,10), type="st3"))

Run the code above in your browser using DataLab