These examples originates from An introduction to Bayesian Networks.
Approximately two months before harvesting a wheat field a farmer can observe the state of the crop and he can observe whether it has been attacked by mildew. If there is an attack he should decide on a treatment with fungicides.
The influence diagram below models this situation:
There are five chance nodes:
There is also an action node, A (modeling the fungicide-treatment) with actions no, light (l), moderate (m) and heavy (h).
As the influence diagram has only one decision node you can enter evidence into any chance node and Hugin will compute the expected utility of the decision options.
This network has been installed on your computer with the Hugin software. Open the network in the Hugin Graphical User Interface (Note: not all browsers can open Hugin directly). You can find the network in the directory where you installed Hugin (e.g. C:\Program Files\Hugin\Hugin Lite\Samples).You can also find the samples at the Hugin download area.
Now we extend the example with a decision on the time of harvest (T). This decision is to be made two months after the decision on fungicides. Note that H models the state of the field at the time of decision T.
When there are more than one decision node in the model, the computation of the expected utility of an action requires knowledge of what will be known when future decisions are made. Furthermore Hugin requires a linear temporal ordering of decision variables. Also, information links into decision nodes must be provided. A link from node X to decision node D indicates that the state of X is known when the decision on D is made.
The temporal order of decision variables is established by ensuring that there is a directed path connecting all decision nodes. Hugin assumes "no forgetting", which means that if there is a link from X to D, you need not have a link from X to the successors of D.
The model depends on what information is available at the time of deciding on T. We present three different scenarios:
In this scenario there is no further information.
If you enter the state of OQ and the state of OM, Hugin will compute the expected utilities of the states of A under the assumption that T will be decided optimally.
This network has been installed on your computer with the Hugin software. Open the network in the Hugin Graphical User Interface (Note: not all browsers can open Hugin directly). You can find the network in the directory where you installed Hugin (e.g. C:\Program Files\Hugin\Hugin Lite\Samples).You can also find the samples at the Hugin download area.
In this scenario the state of H is known. This means that there is a link from H to T. A link from a chance node to a decision node means that evidence on the chance node has to be available at the time of the decision in order for the utilities to be computed correctly.
You can also find the samples at the Hugin download area.
In this scenario there is an observation on H available, but it is imprecise, so it doesn't necessarily show the actual state of the crop. Still it has an impact on our belief in the state of H and also on the expected utilities of the various possibilities for T.
You can also find the samples at the Hugin download area.