ClippedCov-constructor | R Documentation |
ClippedCov
class.Create an instance of the ClippedCov
class.
clippedCov(
Y,
maxLag = length(Y) - 1,
levels.1 = c(0.5),
levels.2 = levels.1,
isRankBased = TRUE,
B = 0,
l = 0,
type.boot = c("none", "mbb")
)
Y |
Time series to calculate the copula covariance from |
maxLag |
maximum lag between observations that should be used |
levels.1 |
a vector of numerics that determines the level of clipping |
levels.2 |
a vector of numerics that determines the level of clipping |
isRankBased |
If true the time series is first transformed to pseudo data; currently only rank-based estimation is possible. |
B |
number of bootstrap replications |
l |
(expected) length of blocks |
type.boot |
A flag to choose a method for the block bootstrap; currently
two options are implemented: |
Returns an instance of ClippedCov
.
LagOperator
ccf <- clippedCov(rnorm(200), maxLag = 25, levels.1 = c(0.1,0.5,0.9))
dim(getValues(ccf))
#print values for levels (.5,.5)
plot(ccf, maxLag = 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.