# NOT RUN {
data(warming)
# Run the search over polynomial DLMs according to MASE values
finiteDLMauto(x = warming$NoMotorVehicles , y = warming$Warming ,
q.max = 12, k.order = 3, model.type = "poly",
error.type = "MASE", trace = TRUE)
# Run the search over finite DLMs according to AIC values
finiteDLMauto(x = warming$NoMotorVehicles , y = warming$Warming ,
q.min = 2, q.max = 12, model.type = "dlm" ,error.type = "AIC",
trace = TRUE)
# }
Run the code above in your browser using DataLab