tlmrray: Compute Select TL-moment ratios of the Rayleigh Distribution

tlmrrayR Documentation

Compute Select TL-moment ratios of the Rayleigh Distribution

Description

This function computes select TL-moment ratios of the Rayleigh distribution for defaults of \xi = 0 and \alpha = 1. This function can be useful for plotting the trajectory of the distribution on TL-moment ratio diagrams of \tau^{(t_1,t_2)}_2, \tau^{(t_1,t_2)}_3, \tau^{(t_1,t_2)}_4, \tau^{(t_1,t_2)}_5, and \tau^{(t_1,t_2)}_6. In reality, \tau^{(t_1,t_2)}_2 is dependent on the values for \xi and \alpha.

Usage

tlmrray(trim=NULL, leftrim=NULL, rightrim=NULL, xi=0, alpha=1)

Arguments

trim

Level of symmetrical trimming to use in the computations. Although NULL in the argument list, the default is 0—the usual L-moment ratios are returned.

leftrim

Level of trimming of the left-tail of the sample.

rightrim

Level of trimming of the right-tail of the sample.

xi

Location parameter of the distribution.

alpha

Scale parameter of the distribution.

Value

An R list is returned.

tau2

A vector of the \tau^{(t_1,t_2)}_2 values.

tau3

A vector of the \tau^{(t_1,t_2)}_3 values.

tau4

A vector of the \tau^{(t_1,t_2)}_4 values.

tau5

A vector of the \tau^{(t_1,t_2)}_5 values.

tau6

A vector of the \tau^{(t_1,t_2)}_6 values.

Note

The function uses numerical integration of the quantile function of the distribution through the theoTLmoms function.

Author(s)

W.H. Asquith

See Also

quaray, theoTLmoms

Examples

## Not run: 
tlmrray(leftrim=2, rightrim=1, xi=0, alpha=2)
tlmrray(leftrim=2, rightrim=1, xi=10, alpha=2) # another slow example

## End(Not run)

lmomco documentation built on Aug. 30, 2023, 5:10 p.m.