Exercises
2.4. The ALARM network (Beinlich et al., 1989) is a Bayesian network designed to provide
an alarm message system for patients hospitalized in intensive care units (ICU). Since
ALARM is commonly used as a benchmark in literature, a synthetic data set of 5,000
observations generated from this network is available from bnlearn as alarm.
(a) Create a bn object for the “true” structure of the network using the model string provided
in its manual page.
(b) Compare the networks learned with different constraint-based algorithms with the true
one, both in terms of structural differences and using either BIC or BDe.
(c) The overall performance of constraint-based algorithms suggests that the asymptotic
Χ² conditional independence tests may not be appropriate for analyzing alarm. Are
permutation or shrinkage tests better choices?
(d) How are the above learning strategies affected by changes to alpha?