View source: R/get_gamma_bounds.R

get_gamma_bounds | R Documentation |

`get_gamma_bounds`

returns lower and upper bounds for *γ*, so
that the observed data range falls within the theoretical bounds of the
support of the distribution. This is only important for location family
input.

get_gamma_bounds(y, tau)

`y` |
a numeric vector of real values (the observed data). |

`tau` |
named vector |

Skewed Lambert W*\times* F distributions have
parameter-dependent support for location family input. Thus the
parameter *γ* must be bounded such that the observed data is
within the theoretical support of the distribution. This theoretical
bounds are determined by the Lambert W function (`W`

), which
has only real-valued solutions for *z ≥q -1 / \exp(1)*. Thus,
`W_gamma`

has real-valued solutions only for *z ≥q -1 /
\exp(1) γ* These lower and upper bounds are determined by minimum
and maxiumum of the normalized data *\mathbf{z} = (\mathbf{y} -
μ_x) / σ_x*.

`get_gamma_bounds`

returns a vector of length 2 with
`"lower"`

and `"upper"`

bounds of *γ* given the range
of `y`

.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.