knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
The CTRE package fits a CTRE model ("Continuous Time Random Exceedances") to extremes of 'bursty' time series.
The magnitudes of the extremes are modelled via the POT ("Peaks-Over-Threshold") method, which is standard in Extreme Value Theory. It is the time between threshold crossings that is the focus of the CTRE model.
You can install CTRE
from CRAN via
install.packages("CTRE") library(CTRE)
Install the devtools
package first, then
# install.packages("devtools") devtools::install_github("strakaps/CTRE") library("CTRE")
Below is the main workflow for fitting a CTRE model to a time series. See the Reference page for more details on each R function.
ctre
object from a time series,
a data frame, or two vectors.plot
thin
interarrival
,
time
and
magnitudes
MLestimates
mlqqplot
, acf
,
empcopula
)To run the Shiny app from within RStudio:
runCTREshiny()
"Peaks Over Threshold for Bursty Time Series", Katharina Hees, Smarak Nayak, Peter Straka (2018). https://arxiv.org/abs/1802.05218
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.