powered by
LagKernelWeight
Creates a plot visualizing the weights \(W_n(k\) [cf. LagKernelWeight-class] that are used to estimate the quantile spectral density.
LagKernelWeight-class
# S4 method for LagKernelWeight,missing plot( x, y, ylab = expression(W[n](k)), xlab = expression(k), main = x@descr, ... )
Plots the LagKernelWeight.
The LagKernelWeight to plot.
missing arg from the generic; will be ignored.
label for the y-axis; optional
label for the x-axis; optional
titel (on top) of the plot; optional
optional parameters used for plotting
In the plot the values at the points \(k/bw\) with \(k \in \{-K,\dots,K\}\) are shown.
plot(lagKernelWeight(WParzen, bw=10, K = 20), ylab=expression(W[n](x)), xlab=expression(x), main="Weights to the Parzen Window")
Run the code above in your browser using DataLab