LagKernelWeight-constructor: Create an instance of the 'LagKernelWeight' class.

Description Usage Arguments Value See Also Examples

Description

Create an instance of the LagKernelWeight class.

Usage

1
2
3
4
5
6
lagKernelWeight(
  W = WParzen,
  bw = K/2,
  K = 10,
  descr = paste("bw=", bw, ", K=", K, sep = "")
)

Arguments

W

A kernel function

bw

bandwidth

K

a numeric that determines the largest lag. The weight will be computed for the K integers 0:(K-1); by default the number K specified on construction.

descr

a description to be used in some plots

Value

Returns an instance of LagKernelWeight.

See Also

kernels

Examples

1
2
wgt1 <- lagKernelWeight(W=WParzen, K=20, bw=10)
print(wgt1)

quantspec documentation built on July 15, 2020, 1:07 a.m.