Description Usage Arguments Details Value Methods (by class) Examples
Estimate the threshold to use for the 2D extremal Poisson process.
1 2 3 4 5 6 7 8 9 | fullEstThreshold(x, lt, n_min, n_max, n_starts, progress_tf = TRUE)
## S3 method for class 'declustered_series'
fullEstThreshold(x, lt, n_min, n_max,
n_starts, progress_tf = TRUE)
## Default S3 method:
fullEstThreshold(x, lt, n_min, n_max, n_starts,
progress_tf = TRUE)
|
x |
An S3 object of class |
lt |
(numeric scalar) The length of the time series in units of time (seconds, minutes, hours, etc.). |
n_min |
(numeric scalar) The minimum number of thresholded observations to include |
n_max |
(numeric scalar) The maximum number of thresholded observations to include |
n_starts |
(numeric scalar) An iterative algorithm is used to calculate
the MLE, and the optimization algorithm is run |
progress_tf |
(logical scalar) Display a progress bar if TRUE, else not. |
A sequence of candidate thresholds is generated, and the threshold
that minimizes the maximum vertical distance of the points of the W plot
(described in fullWplot
) to the 45^\circ line is selected. See
the vingette for more details.
An S3 object of class thresholded_series
with elements
$seleted_threshold
, $lt
, $y
,
$checked_thresholds
, and $w_stats
. The element $y
is
a numeric vector containing the actual observations (NOT differences from
the threshold) that exceed the selected threshold. The element
$w_stats
contains the maximum vertical distance from points to the
45^\circ line of the W plot for the corresponding
$checked_threshold
.
declustered_series
:
default
:
1 2 3 4 5 6 7 8 9 10 11 12 | ## 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,
n_starts = 10)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.