Given a bn.fit object, the size of the net and a data.set, performs exact forecasting over the initial evidence taken from the data set.
exact_inference(dt, fit, size, obj_vars, ini, len, prov_ev)
data.table object with the TS data
bn.fit object
number of time slices of the net
variables to be predicted
starting point in the data set to forecast.
length of the forecast
variables to be provided as evidence in each forecasting step
the results of the forecast