truncatePIT: Truncate PIT to a kernel window and (optionally) rescale to...

View source: R/kernelCollection.R

truncatePITR Documentation

Truncate PIT to a kernel window and (optionally) rescale to unit interval.

Description

Calculate vector P_t^* = α_1 \vee (P_t \wedge α_2). If rescale==TRUE, then rescale to unit interval.

Usage

truncatePIT(PIT, support = c(0, 1), rescale = FALSE)

Arguments

PIT

Vector of probability integral transform values

support

lower and upper bound of kernel window

Value

PITstar is vector of truncated PIT.


ajmcneil/spectralBacktest documentation built on Dec. 31, 2022, 8:17 p.m.