Description Usage Arguments Value Author(s)
View source: R/dmixture_lnorm_gumbel_function.R
Probability density function for a mixture distribution composed of one lognormal and one gumbel distribution. The gumbel distribution is suited to model the extreme values in a heavy-tail dataset, while the lognormal models the regular values.
1 2 3 4 5 6 7 8 | dmixture_lnorm_gumbel(
x,
logmean,
logsd,
gumbel.alpha,
gumbel.scale,
w.gumbel = 0.05
)
|
x |
Input vector of values |
logmean |
Logmean parameter of the lognormal distribution |
logsd |
Logsd parameter of the lognormal distribution |
gumbel.alpha |
Location parameter of the gumbel distribution |
gumbel.scale |
Scale parameter of the gumbel distribution |
w.gumbel |
Weight of the gumbel distribution within the mixture (weight of lognormal is 1-w.gumbel) |
Vector of densities for each value in x
Nikolai Knapp, nikolai.knapp@ufz.de
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.