Description Usage Arguments Details Value References Examples
Sample from a Hurdle Generalized Lambda Distribution.
1 2 |
n |
Number of observations to be generated. |
mixture |
Whether to sample from a mixture of HGLDs. |
lambda1 |
A vector of length 5 with the five parameters of the HGLD, or of the first HGLD if mixture = TRUE. |
lambda2 |
A vector of length 4 with the four parameters of the second HGLD if mixture = TRUE |
prob |
The cluster parameter for the mixture HGLD. |
param |
"fmkl" or "rs". |
If the parametrization of the RS or fmkl GLD is not acceptable, the function returns NA. This function is based on the GLDEX package.
A sample of a HGLD.
Marcondes, D.; Peixoto, C.; Maia, A. C.; A Survey of a Hurdle Model for Heavy-Tailed Data Based on the Generalized Lambda Distribution. (2017) arxiv1712.02183
Su, S.; Fitting Single and Mixture of Generalized Lambda Distributions to Data via Discretized and Maximum Likelihood Methods: GLDEX in R. (2007), Journal of Statistical Software: *21* 9.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.