powered by
Truncates a time domain object to specified lags (equivalent to setting the lags to zero)
timedom.trunc(A, lags)
timedom object - series of operators
timedom
lags to which A should be truncated
Truncated time series
# NOT RUN { X = rar(100) Y = rar(100) #estimate regressors in model $Y_t = \sum_{i\in Z} A_i X_{t-i}$ A = speclagreg(X,Y) B = timedom.trunc(A, c(-1, 2, 3)) # }
Run the code above in your browser using DataLab