Almon_lag: Constructs Almon lag polynomial

Description Usage Arguments Details Value Examples

View source: R/Almon_lag.R

Description

Constructs Almon lag polynomial

Usage

1
Almon_lag(polydegree, C, R)

Arguments

polydegree

degree of polynomial

C

number of columns in Q matrix (???)

R

two numbers (???)

Details

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

Value

Q matrix

Examples

1
Almon_lag(2, 5, c(1, 0))

kassandra-ru/kassandr documentation built on Jan. 1, 2022, 7:39 a.m.