powered by
Plotting the trend and seasonal of time series.
gdescomponer(y,freq,type,year,q)
a vector of the observed time-serie values
Number of times in each unit time interval
lineal (1), quadratic(2)
the year of the first observation
the time of the first observation
Parra, F. (2014), Amplitude time-frequency regression, (http://econometria.wordpress.com/2013/08/21/estimation-of-time-varying-regression-coefficients/)
descomponer
# NOT RUN { data(ipi) gdescomponer(ipi,12,1,2002,1) # }
Run the code above in your browser using DataLab