Learn R Programming

descomponer (version 1.6)

gdt: Get Time Data

Description

Transforms the data from the amplitude-frequency domain the amplitude-time domain pre-multiplied by inverse of the orthogonal matrix ,W, whose elements are defined in Harvey A.C. (1978).

Usage

gdt(y)

Arguments

y

a vector of the coefficients fourier

Value

a vector of the observed time-series values

References

Harvey, A.C. (1978), Linear Regression in the Frequency Domain, International Economic Review, 19, 507-512.

Parra, F. (2014), Amplitude time-frequency regression, (http://econometria.wordpress.com/2013/08/21/estimation-of-time-varying-regression-coefficients/)

See Also

gdf

Examples

Run this code
# NOT RUN {
n<-100;x<-seq(0,24*pi,length=n);y<-sin(x)+rnorm(n,sd=.3)
coef <- gdf(y)
gdt(coef)
# }
# NOT RUN {
<!-- % Add one or more standard keywords, see file 'KEYWORDS' in the -->
# }
# NOT RUN {
<!-- % R documentation directory. -->
# }

Run the code above in your browser using DataLab