knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

CTRE

Travis-CI Build Status CRAN_Status_Badge Downloads DL_Total

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.

Installation

Stable release on CRAN

You can install CTRE from CRAN via

install.packages("CTRE")
library(CTRE)

Development version on Github

Install the devtools package first, then

# install.packages("devtools")
devtools::install_github("strakaps/CTRE")
library("CTRE")

Usage

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.

Shiny App

To run the Shiny app from within RStudio:

runCTREshiny()

The CTRE paper

"Peaks Over Threshold for Bursty Time Series", Katharina Hees, Smarak Nayak, Peter Straka (2018). https://arxiv.org/abs/1802.05218



strakaps/CTRE documentation built on Sept. 12, 2021, 6:12 p.m.