R/cdf.R

Defines functions cdf

Documented in cdf

cdf <- 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)
  uno <- as.numeric (1:n)
  A <- MW(n)
  I<- diag(c(a))
  B <- A%*%I
  B%*%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.