Description Usage Arguments Details Value Author(s) References See Also Examples
Simulation of a sample path of a fractional Gaussian noise contaminated by outliers or an additive Gaussian noise
1 |
n |
sample size |
H |
Hurst parameter in (0,1) |
C |
scaling coefficient. Default is |
type |
type of perturbation. Possible modes are |
p |
the ratio of perturbation by outliers. Default is 0.005. |
SNR |
Signal to noise ratio |
plot |
plot of perturbed fGn. Default is |
The types of contamination are listed below. The most parts of this function were adopted from the package dvfBm
.
no contamination
contamination by additive outliers of 0.5%
contamination by i.i.d. standard Gaussian noise
a vector of length n
.
Wonsang You
S. Achard and J.-F. Coeurjolly (2009). Discrete variations of the fractional Brownian in the presence of outliers and an additive noise.
1 2 3 | ts1<-perturbFGN(1000,0.2,type="no",plot=TRUE)
ts2<-perturbFGN(1000,0.7,type="AO",SNR=20,plot=TRUE)
ts3<-perturbFGN(10000,0.3,type="WN",SNR=10,plot=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.