list
. This function is intended
to facilitate the use of TL-moments that the user might have from other sources. The
first five TL-moments are supported ($\lambda^{(t)}_1$, $\lambda^{(t)}_2$, $\lambda^{(t)}_3$,
$\lambda_4$, $\lambda^{(t)}_5$, $\tau^{(t)}$, $\tau^{(t)}_3$, $\tau^{(t)}_4$, and $\tau^{(t)}_5$).
Because in typical practice, the $k \ge 3$ order L-moments are dimensionless ratios
($\tau^{(t)}_3$, $\tau^{(t)}_4$, and $\tau^{(t)}_5$), this function computes $\lambda^{(t)}_3$,
$\lambda^{(t)}_4$, $\lambda^{(t)}_5$ from $\lambda^{(t)}_2$ and the ratios. However, typical
practice is not set on the use of $\lambda^{(t)}_2$ or $\tau^{(t)}$ as measure of dispersion.
Therefore, this function takes an lscale
optional logical
(TRUE|FALSE
) argument---if $\lambda^{(t)}_2$ is provided and lscale=TRUE
, then
$\tau$ is computed by the function and if $\tau$ is provided, then
$\lambda^{(t)}_2$ is computed by the function. The trim level of the TL-moment is required.vec2TLmom(vec,trim,lscale)
TRUE
,
the second value in the first argument is $\lambda_2$.list
is returned where $t$ represents the trim
level.lmom.ub
, TLmoms
, vec2lmom
TL <- vec2TLmom(c(12,0.6,0.34,0.20,0.05),lscale=FALSE,trim=1)
Run the code above in your browser using DataLab