Calculate the moving Fourier transform ordinates
local_moving_FT_zigzag(x, m, thinning_factor)
A list containing the moving Fourier transform and corresponding time grid.
A numeric vector containing time series.
A positive integer indicating the size of window.
Selected from "1, 2, 3".
Y. Tang et al. (2023) Bayesian nonparametric spectral analysis of locally stationary processes ArXiv preprint <arXiv:2303.11561>
set.seed(1); x <- rnorm(1500)
local_moving_FT_zigzag(x, 50, 1)
Run the code above in your browser using DataLab