bbn.timeseries {bbnet} | R Documentation |
Time Series Prediction with Bayesian Belief Network
Description
bbn.timeseries()
performs time series predictions using a Bayesian Belief Network (BBN
) model based on a single prior
scenario.
It generates figures illustrating how parameters change over time for all or selected nodes
.
Usage
bbn.timeseries(bbn.model, priors1, timesteps = 5, disturbance = 1)
Arguments
bbn.model |
A matrix or dataframe of interactions between different model |
priors1 |
An X by 2 array of initial changes to the system under investigation.
The first column should be a -4 to 4 (including 0) integer value for each |
timesteps |
This is the number of |
disturbance |
Default = 1.
1 creates a prolonged or press |
Value
Plots for each node
showing the predicted change over time.
Examples
data(my_BBN, combined)
bbn.timeseries(bbn.model = my_BBN, priors1 = combined, timesteps=6, disturbance=1)