Case Generator Tutorial¶

To generate (simulated) cases based on the current conditional probability distributions (CPTs) select the Generate Cases item in the File menu as shown in figure 1.

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.