Almon_lag.Rd
Constructs Almon lag polynomial
Almon_lag(polydegree, C, R)
polydegree | degree of polynomial |
---|---|
C | number of columns in Q matrix (???) |
R | two numbers (???) |
Q matrix
Function constructs Almon lag polynomial as in the article by Matteo Mogliani Bayesian MIDAS Penalized Regressions: Estimation, Selection, and Prediction 2 Jan 2020 Enables to put endpoint restrictions on the value and on slope of the lag polynomial default R=c(1,1) Meaning that restrictions jointly constrain the weighting structure to tail off slowly to zero
#> [,1] [,2] [,3] [,4] [,5] #> [1,] -4 -3 -2 -1 0 #> [2,] -16 -15 -12 -7 0