Last chance! 50% off unlimited learning
Sale ends in
amidas_table(formula, data, weights, wstart, type, start = NULL, from, to,
IC = c("AIC", "BIC"), test = c("hAh.test"), Ofunction = "optim",
user.gradient = FALSE, ...)
midas_r_ic_table
object which is the list with the
following elements:kmin
to kmax
and varying the
weights of the last term of the given formulaThis function estimates models sequentially increasing the
midas lag from kmin
to kmax
and varying the
weights of the last term of the given formula
data("USunempr")
data("USrealgdp")
y <- diff(log(USrealgdp))
x <- window(diff(USunempr),start=1949)
trend <- 1:length(y)
tb <- amidas_table(y~trend+fmls(x,12,12,nealmon),
data=list(y=y,x=x,trend=trend),
weights=c("nealmon"),wstart=list(nealmon=c(0,0,0)),
start=list(trend=1),type=c("A"),
from=0,to=c(1,2))
Run the code above in your browser using DataLab