agk.test: Andreou, Ghysels, Kourtellos LM test

Description Usage Arguments Value Author(s) References Examples

View source: R/tests.R

Description

Perform the test whether hyperparameters of normalized exponential Almon lag weights are zero

Usage

1

Arguments

x

MIDAS regression object of class midas_r

Value

a htest object

Author(s)

Virmantas Kvedaras, Vaidotas Zemlys

References

Andreou E., Ghysels E., Kourtellos A. Regression models with mixed sampling frequencies Journal of Econometrics 158 (2010) 246-261

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
##' ##Load data
data("USunempr")
data("USrealgdp")

y <- diff(log(USrealgdp))
x <- window(diff(USunempr),start=1949)
t <- 1:length(y)

mr <- midas_r(y~t+fmls(x,11,12,nealmon),start=list(x=c(0,0,0)))

agk.test(mr)

midasr documentation built on Feb. 23, 2021, 5:11 p.m.