.. _HUGIN_examples:

HUGIN Examples
==============

In this section, we present a series of examples meant to give you ideas on how to construct your Bayesian networks and influence diagrams.

In the :ref:`stud farm example<stud_farm>`, a Bayesian network is used to compute the probabilities of the horses in a stud farm being carriers of a recessive gene causing a life threatening desease.

In the :ref:`oil wildcatter example<oil_wildcatter>`, an influence diagram is constructed as an aid for an oil wildcatter to decide whether to drill for oil at a location where he has the opportunity to get information from seismic soundings. This example covers the problem of having more than one decision node in an influence diagram.

The :ref:`Monty Hall example<Monty_hall_puzzle>` demonstrates the use of a small Bayesian network to solve the Monty Hall Puzzle.

Implementations of these and other examples come with the installation of any version of HUGIN. If you have lost them or have an older installation of HUGIN, you have the opportunity to `download them <http://download.hugin.com/samples>`_.

.. toctree::
   :maxdepth: 1
   :caption: Contents:

   OilWildcatter
   StudFarm
   MontyHallPuzzle