ldwm(x, wshape = 1, wscale = 1, cmu = 1, ctau = 1,
sigmau = sqrt(wscale^2 * gamma(1 + 2/wshape) - (wscale * gamma(1 + 1/wshape))^2),
xi = 0, log = TRUE)
nldwm(pvector, x, finitelik = FALSE)
wshape
, wscale
, cmu
,
ctau
, sigmau
, xi
) or NULL
fdwm
.
Non-positive data are ignored.
They are designed to be used for MLE in
fdwm
but are available for
wider usage, e.g. constructing your own extreme value
mixture models.
See fdwm
and
fgpd
for full details.
Log-likelihood calculations are carried out in
ldwm
, which takes parameters as
inputs in the same form as distribution functions. The
negative log-likelihood is a wrapper for
ldwm
, designed towards making
it useable for optimisation (e.g. parameters are given a
vector as first input).
The function ldwm
carries out
the calculations for the log-likelihood directly, which
can be exponentiated to give actual likelihood using
(log=FALSE
).lgpd
and
gpd
Other dwm: fdwm