kzsv {kza}R Documentation

Kolmogorov-Zurbenko Adaptive filter with Sample Variance.

Description

Sample variance of a Kolmogorov-Zurbenko adaptive filter. You want a sigma of at least 3.

Usage

kzsv(object)
## S3 method for class 'kzsv'
summary(object, digits=getOption("digits"), ...)
## S3 method for class 'kzsv'
plot(x, ...)

Arguments

object

The resultant object from kza function.

x

The results of the kza function.

digits

Precision of output.

...

Other parameters.

Examples

x <- c(rep(0,4000),rep(0.5,2000),rep(0,4000))
noise <- rnorm(n = 10000, sd = 1.0) # normally-distributed random variates
v <- x + noise
a<-kza(v, m=1000, k=3)
sv<-kzsv(a)

[Package kza version 4.1.0.1 Index]