Questions: Bayesian Networks and Inference

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A Bayesian network models 20 binary variables. How does the storage requirement of the network compare to storing the full joint probability distribution?

ABoth require the same storage, since they encode equivalent probabilistic information about the 20 variables
BThe full joint requires up to 2²⁰ entries; the network requires only the sum of CPT entries (one per variable per combination of parent states), typically orders of magnitude fewer
CThe Bayesian network requires more storage because it must also store the graph structure, edge weights, and metadata
DBoth require exactly 20 parameters, one marginal probability per variable
Question 2 Multiple Choice

In a medical Bayesian network, you observe that a patient has both a cough and a fever. You want to compute P(Flu | Cough=true, Fever=true). What does exact inference require?

ASimply reading the prior probability of flu from the Flu node's marginal distribution — observations don't change priors in a static network
BSumming out all unobserved variables to obtain the posterior probability, weighting each configuration by its probability given the evidence
CMultiplying all CPT entries together and normalizing — inference is a single multiplication step
DRunning Monte Carlo simulation, since exact computation is always intractable in any network with more than 10 nodes
Question 3 True / False

In a Bayesian network, a variable is conditionally independent of MOST other variables in the network once you observe its direct parent nodes.

TTrue
FFalse
Question 4 True / False

The efficiency of Bayesian networks comes from assuming that most variables are conditionally independent of most other variables given their parents, allowing the joint distribution to factor into a product of local conditional probability tables.

TTrue
FFalse
Question 5 Short Answer

Observing evidence about one variable in a Bayesian network can change the probability of variables not directly connected to it in the graph. Explain why, using a concrete example.

Think about your answer, then reveal below.