dtmev {mevr} | R Documentation |
The non-stationary Metastatistical Extreme Value Distribution
Description
Quantile function for the TMEV distribution with a Weibull parent distribution.
Usage
dtmev(x, data)
ptmev(q, data)
qtmev(p, data)
Arguments
x , q |
Numeric vector or single value of probabilities for |
data |
A data frame with at least columns |
p |
Numeric vector or single value of probabilities for |
Value
dtmev
gives the density function, ptmev
gives the distribution function,
and qtmev
gives the quantile function of the TMEV.
Functions
-
ptmev()
: distribution quantile function -
qtmev()
: distribution quantile function
Examples
data(dailyrainfall)
fit <- ftmev(dailyrainfall)
rp <- pp.weibull(fit$maxima)
rl <- qtmev(1 - 1 / rp, fit$data)
plot(rp, sort(fit$maxima), main = "TMEV", ylab = "return level", xlab = "return period (years)")
lines(rp, rl, type = "l")
[Package mevr version 1.1.1 Index]