SDtoMAinf | R Documentation |
Find the moving average representation of a time series based on the spectral density.
SDtoMAinf(f, lambda, trun = 500, tol = 1e-04)
f |
a vector with evaluations of the spectral density |
lambda |
the frequencies to which the values of f correspond. Should be evenly spaced and dense between |
trun |
the number of terms to keep in the moving average representation of the time series |
tol |
controls the accuracy. Smaller values require more computation time. |
a list containing a vector containing the coefficients of the moving average representation of the time series as well as the standard deviation of the white noise in the MA-infinity representation. This is based on the work of Pourahmadi (1984).
Pourahmadi, M. (1984). Taylor expansion of and some applications. The American Mathematical Monthly, 91(5), 303-307.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.