GEV {QRM} | R Documentation |
Generalized Extreme Value Distribution
Description
Density, quantiles, cumulative probability, and fitting of the Generalized Extreme Value distribution.
Usage
pGEV(q, xi, mu = 0, sigma = 1)
qGEV(p, xi, mu = 0, sigma = 1)
dGEV(x, xi, mu = 0, sigma = 1, log = FALSE)
rGEV(n, xi, mu = 0, sigma = 1)
fit.GEV(maxima, ...)
Arguments
log |
|
maxima |
|
mu |
|
n |
|
p |
|
q |
|
sigma |
|
x |
|
xi |
|
... |
ellipsis, arguments are passed down to |
Value
numeric, probability (pGEV), quantile (qGEV), density (dGEV) or random
variates (rGEV) for the GEV distribution with shape parameter
\xi
, location parameter \mu
and scale parameter
\sigma
. A list object in case of fit.GEV()
.
See Also
Examples
quantValue <- 4.5
pGEV(q = quantValue, xi = 0, mu = 1.0, sigma = 2.5)
pGumbel(q = quantValue, mu = 1.0, sigma = 2.5)
## Fitting to monthly block-maxima
data(nasdaq)
l <- -returns(nasdaq)
em <- timeLastDayInMonth(time(l))
monmax <- aggregate(l, by = em, FUN = max)
mod1 <- fit.GEV(monmax)
[Package QRM version 0.4-31 Index]