R/gdt.R

Defines functions gdt

Documented in gdt

gdt <- function(y) {
  # Author: Francisco Parra Rodriguez 
  # http://econometria.wordpress.com/2013/08/21/estimation-of-time-varying-regression-coefficients/ 
  a <- matrix(y,nrow=1)
  n <- length(y)
  A <- MW(n)
  t(A)%*%t(a)
}

Try the descomponer package in your browser

Any scripts or data that you put into this service are public.

descomponer documentation built on Aug. 12, 2021, 5:12 p.m.