wnPT | R Documentation |
Simulates an uncorrelated but dependant noise process.
wnPT(n, sigma = 1, k = 1, ninit = 100)
n |
Number of observations. |
sigma |
Standard deviation. |
k |
Integer corresponding to the number of past observation will be used. |
ninit |
Length of 'burn-in' period. |
Vector of size n
containing a nonlinear sequence X_{i} such as
X_{i} = Z_{i}Z_{i-1}...Z_{i-k} , where Z_{i} is a sequence of iid
random variables mean-zero random variable with variance σ^2.
Romano, J. and Thombs, L. 1996, Inference for autocorrelation under weak assumptions, Journal of the American Statistical Association, vol. 91, no. 434, pp. 590-600
wnRT
, wnPT_SQ
, simGARCH
wnPT(100) wnPT(100, sigma = 1, k = 1) wnPT(100, k = 0) #strong noise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.