Normalized Exponential Almon lag MIDAS coefficients
Calculate normalized exponential Almon lag coefficients given the parameters and required number of coefficients.
nealmon(p, d, m)
p
: parameters for Almon lagd
: number of the coefficientsm
: the frequency, currently ignored.vector of coefficients
Given unrestricted MIDAS regression
normalized exponential Almon lag restricts the coefficients in the following way:
The parameter should be the first element in vector p
. The degree of the polynomial is then decided by the number of the remaining parameters.
##Load data data("USunempr") data("USrealgdp") y <- diff(log(USrealgdp)) x <- window(diff(USunempr),start=1949) t <- 1:length(y) midas_r(y~t+fmls(x,11,12,nealmon),start=list(x=c(0,0,0)))
Virmantas Kvedaras, Vaidotas Zemlys