powered by
Calculates and displays the spectrum of the time serie
periodograma(y)
a vector of the observed time-serie values
Vector of frequencies at which the spectral density is estimated. The units are the reciprocal of cycles per unit time.
Is calculated by pi*frecuencia/(n/2)
n/frecuencia
Vector of estimates of the spectral density at frequencies corresponding to frecuencia.
Parra, F. (2014), Amplitude time-frequency regression, (http://econometria.wordpress.com/2013/08/21/estimation-of-time-varying-regression-coefficients/)
gperiodograma
# NOT RUN { n<-100;x<-seq(0,24*pi,length=n);y<-sin(x)+rnorm(n,sd=.3) periodograma(y) # }
Run the code above in your browser using DataLab