if (FALSE) {
library(dLagM)
# Multiple independent series
data(M1Germany)
data = M1Germany[1:44,]
# Run the search over finite DLMs according to AIC values
finiteDLMauto(formula = logprice ~ interest + logm1,
data = data.frame(data), q.min = 2, q.max = 5,
model.type = "dlm", error.type = "AIC", trace = FALSE)
}
Run the code above in your browser using DataLab