thetaSim
Simulates a time Series with known theta,
blockTheta
Computes theta from Block Method,
clusterTheta
Computes theta from Reciprocal Cluster Method,
runTheta
Computes theta from Run Method,
ferrosegersTheta
Computes Theta according to Ferro and Seegers,
exindexPlot
Calculate and Plot Theta(1,2,3),
exindexesPlot
Calculate Theta(1,2) and Plot Theta(1). }show.fTHETA(object)thetaSim(model = c("max", "pair"), n = 1000, theta = 0.5)
blockTheta(x, block = 22, quantiles = seq(0.950, 0.995, length = 10),
title = NULL, description = NULL)
clusterTheta(x, block = 22, quantiles = seq(0.950, 0.995, length = 10),
title = NULL, description = NULL)
runTheta(x, block = 22, quantiles = seq(0.950, 0.995, length = 10),
title = NULL, description = NULL)
ferrosegersTheta(x, quantiles = seq(0.950, 0.995, length = 10),
title = NULL, description = NULL)
exindexPlot(x, block = c("monthly", "quarterly"), start = 5, end = NA,
doplot = TRUE, plottype = c("thresh", "K"), labels = TRUE, ...)
exindexesPlot(x, block = 22, quantiles = seq(0.950, 0.995, length = 10),
doplot = TRUE, labels = TRUE, ...)
"monthly"
, "quarterly"
or
an integer value. An integer vaFALSE
then user specified lables can be passed through the "..."
argument."max"
or "pair"
, the first representing the
maximimum Frechet series, and the second the paired exponential
series."fTHETA
as returned by the functions
*Theta
.thresh
)
or increasing K value (K
).start
is the lowest value of K
at which to plot
a point, and end
the highest value; K
is the
number of blocks in which a specified threshold is exceeded.as.vector
into a numeric vector. "monthly"
and "quarterly"
blocks require x
to be an object of
cexindexPlot
returns a data frame of results with the
following columns: N
, K
, un
, theta2
,
and theta
. A plot with K
on the lower x-axis and
threshold Values on the upper x-axis versus the extremal index
is displayed.
exindexesPlot
returns a data.frame with four columns:
thresholds
, theta1
, theta2
, and theta3
.
A plot with quantiles on the x-axis and versus the extremal indexes
is displayed.hillPlot
,
gevFit
.## Extremal Index for the right and left tails
## of the BMW log returns:
data(bmwRet)
par(mfrow = c(2, 2), cex = 0.7)
exindexPlot( as.timeSeries(bmwRet), block = "quarterly")
exindexPlot(-as.timeSeries(bmwRet), block = "quarterly")
## Extremal Index for the right and left tails
## of the BMW log returns:
exindexesPlot( as.timeSeries(bmwRet), block = 65)
exindexesPlot(-as.timeSeries(bmwRet), block = 65)
Run the code above in your browser using DataLab