Each node is Gaussian with a mean that is linear in its parents, xi = Σj∈pa(i) wij xj + bi + √vi εi (11.9). Sampling the nodes in order (ancestral sampling) gives points whose mean and covariance approach those of the recursions (11.12) and (11.13). A missing link shows up as a zero in the precision matrix Λ = Σ−1, not in Σ: it is a conditional independence, read off by d-separation. Set a weight to 0 to remove its link.
code/ch11_structured_distributions.py (lg_mean_recursion, lg_cov_recursion, lg_precision, lg_sample_js; supplementary Figure 11.S3).