powered by
This function allows to generate a non-stationary white noise process.
gen_nswn(n_total, title = NULL, seed = 135, ...)
A vector containing the non-stationary white noise process.
vector
An integer indicating the length of the simulated non-stationary white noise process.
integer
A string defining the name of the time series data.
string
An integer defined for simulation replication purposes.
Additional parameters.
Yuming Zhang
Xt = gen_nswn(n_total = 1000) plot(Xt) Yt = gen_nswn(n_total = 2000, title = "non-stationary white noise process", seed = 1960) plot(Yt)
Run the code above in your browser using DataLab