Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

midasr (version 0.2)

agk.test: Andreou, Ghysels, Kourtellos LM test

Description

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

Usage

agk.test(x)

Arguments

x
MIDAS regression object of class midas_r

Value

  • a htest object

References

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

Examples

Run this code
##' ##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)

Run the code above in your browser using DataLab