Description Usage Arguments Details Value Methods (by class) Examples
Plot of W-statistics versus standard exponential quantiles for
the full Poisson process intensity function described in fullMLE
1 2 3 4 5 6 7 |
x |
An S3 object of type |
tf_plot |
(logical scalar) Create the plot if TRUE, else not. |
BW |
(logical scalar) The plot is created in black and white if TRUE, else not |
details |
(logical scalar) Should details of the calculation be returned
as a |
y |
(numeric vector) The observations that exceed the threshold, NOT the excesses or differences, but the actual observations |
This is the W plot from Chapter 1 of "Extreme Values in Finance, Telecomunications, and the Environment." The chapter was authored by Richard Smith. The formula for W is
W = \frac{1}{k}\log\Big\{1 + \frac{ky}{σ + k(u - μ)}\Big\}
where y is the excess of (difference from) the threshold u
If details is TRUE, a data.frame
with the details of the
calculation, else invisibly return the maximum vertical distance from the
points of the plot to the 45^\circ line
full_pot_fit
:
default
:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
complete_series <- -jp1tap1715wind270$value
declustered_obs <- decluster(complete_series)
thresholded_obs <- fullEstThreshold(x = declustered_obs,
lt = 100,
n_min = 10,
n_max = 100)
full_pot_fit <- fullMLE(x = thresholded_obs,
hessian_tf = TRUE)
fullWPlot(x = full_pot_fit, tf_plot = TRUE, BW = FALSE, details = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.