Description Usage Arguments Value Future improvements Examples
Returns the mode of the GLD (Generalized Lambda Distribution), aka Tukey distribution.
When the shape parameters lambda3 = -1, lambda4 = -1
, the mode is equivalent to the location parameter lambda1
.
But when the shape parameters are tweaked, we observe a shift of the distribution mode.
This behavior is accentuated when lambda2
approaches 0.
1 2 |
lambda1 |
|
lambda2 |
|
lambda3 |
|
lambda4 |
|
search_range_start |
|
search_range_end |
The mode.
Perform some research to check if there exists an analytical solution to this function. Then, implement it to avoid the usage of optimization. In its current version, the function relies on optimization to find a good estimate for the mode. Consequently, the precision of the mode or computational intensity to find it are not optimal.
If no analytical solution is found and if search_range_start
and search_range_end
are not provided, provide best effort default values.
1 | get_gld_mode(lambda1 = 100, lambda2 = 100, lambda3 = -10, lambda4 = -1, search_range_start = -1000, search_range_end = 1000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.