gen_nswn: Generate Non-Stationary White Noise Process

Description Usage Arguments Value Note Author(s) Examples

View source: R/avns.R

Description

This function allows to generate a non-stationary white noise process.

Usage

1
gen_nswn(n_total, title = NULL, seed = 135, ...)

Arguments

n_total

An integer indicating the length of the simulated non-stationary white noise process.

title

A string defining the name of the time series data.

seed

An integer defined for simulation replication purposes.

...

Additional parameters.

Value

A vector containing the non-stationary white noise process.

Note

This function generates a non-stationary white noise process whose theoretical maximum overlapping allan variance (MOAV) corresponds to the theoretical MOAV of the stationary white noise process. This example confirms that the allan variance is unable to distinguish between a stationary white noise process and a white noise process whose second-order behavior is non-stationary, as pointed out in the paper "A Study of the Allan Variance for Constant-Mean Non-Stationary Processes" by Xu et al. (IEEE Signal Processing Letters, 2017), preprint available: https://arxiv.org/abs/1702.07795.

Author(s)

Yuming Zhang

Examples

1
2
3
4
5
6
Xt = gen_nswn(n_total = 1000)
plot(Xt)

Yt = gen_nswn(n_total = 2000, title = "non-stationary 
white noise process", seed = 1960)
plot(Yt)

SMAC-Group/simts documentation built on Oct. 20, 2018, 8:20 p.m.