Learn R Programming

kza (version 1.01)

plot.kzp: Kolmogorov-Zurbenko Third-Order Periodogram Smoothing Method

Description

Adaptive Smoother for Kolmogorov-Zurbenko Third-Order Periodogram for estimating spectrums

Usage

plot.kzp(x, c=0.01, w=length(x), method="DZ", smooth_only=FALSE, ...)

Arguments

x
The third-order periodogram output from the kztp function.
c
The percentage of variation to be used for smoothing.
w
The width of the smoothing window.
method
The smoothing method to apply.
smooth_only
For plotting if user wants only the smoothed kzp.
...
Other graphics parameters.

Details

The Kolmogorov-Zurbenko Third-Order Periodogram is used to estimate spectral density of a signal. The smoothing methods are adaptive allowing the bandwidth of the spectral window to vary according to the smoothness of the underlying spectral density. For details, please see to DiRienzo and Zurbenko (1998) and Neagu and Zurbenko (2003).

References

I. G. Zurbenko, 1986: The spectral Analysis of Time Series. North-Holland, 248 pp. I. G. Zurbenko, P. S. Porter, Construction of high-resolution wavelets, Signal Processing 65: 315-327, 1998. W. Yang, I. G. Zurbenko, A semi-adaptive smoothing algorithm in bispectrum estimation, Proceedings of the American Statistical Association, Seattle, 2006. Wei Yang and Igor Zurbenko, kzft: Kolmogorov-Zurbenko Fourier Transform and Applications, R-Project 2007.

See Also

kzft, kzp, kztp,

Examples

Run this code
#
# example
#
t<-1:5000
y<-1.1*sin(2*pi*0.3*t)+7*sin(2*pi*0.4*t)+10*rnorm(length(t))
a<-kzp(y,m=1000)
plot.kzp(a,c=0.03)

Run the code above in your browser using DataLab