Case Generator Tutorial

To generate (simulated) cases based on the current conditional probability distributions (CPTs) push the Case Generator Button, which is shown in Figure 1, or select the Generate Cases item in the File menu.

Figure 1: The Case Generator Button.

By default, the Hugin Graphical User Interface chooses to create 10,000 cases with 5 percent missing values. The user can change these values. To generate the cases one of the algorithm: MCAR or MAR must be selected. Figure 2 shows the Case Generator Window. 

Figure 2: The Case Generator Window.

Now, the Hugin Graphical User Interface will generate a set of cases and store these in a plain text file. Figure 3 shows the content of such a file where the cases are generated based on the Chest Clinic network.

Figure 3: The Content of a Case File.