Description Usage Arguments Value Examples
A LagEstimator
object can be created from numeric
, a ts
,
or a zoo
object. Also a LagOperator
and a
Weight
object can be used to create different types of
estimators.
1 2 3 | lagEstimator(Y, frequencies = 2 * pi/length(Y) * 0:(length(Y) - 1),
levels.1 = 0.5, levels.2 = levels.1, weight = lagKernelWeight(K =
length(Y), bw = 100), type = c("clippedCov"))
|
Y |
a time series ( |
frequencies |
A vector containing (Fourier-)frequencies at which to determine the smoothed periodogram. |
levels.1 |
the first vector of levels for which to compute the LagEstimator |
levels.2 |
the second vector of levels for which to compute the LagEstimator |
weight |
Object of type |
type |
if |
Returns an instance of LagEstimator
.
1 2 3 4 5 | Y <- rnorm(100)
levels.1 <- c(0.1,0.5,0.9)
weight <- lagKernelWeight(W = WParzen, bw = 10, K = length(Y))
lagOp <- clippedCov(Y,levels.1 = levels.1)
lagEst <- lagEstimator(lagOp, weight = weight)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.