TB_MA: Checks for a Lag in VMA Process with Tiao-Box Procedure.
Description
This function helps to find a lag in stationary VMA process with Tiao-Box procedure, i.e., the lag length beyond which we are willing to assume that the autocorrelation is essentially zero.
Usage
TB_MA(d,q.max)
Arguments
d
matrix of time-series, assumed to be the stationary VARMA type, columns correspond to time index, and rows to different time-series
q.max
numeric indicating the maximum number of lag to be considered
# NOT RUN {data(MDMforecasts)
ts <- MDMforecasts$ts
forecasts <- MDMforecasts$forecasts
l <- loss(realized=ts,evaluated=forecasts,loss.type="SE")
d <- d_t(l)
TB_MA(d=d,q.max=10)
# }