- 2071 Magh · 3+5 marks
Bayes: meningitis and stiff neck
Short answer
Bayesian network is a directed acyclic graph with conditional probability tables for probabilistic reasoning. Types: singly connected (polytree) vs multiply connected; static vs dynamic (DBN). For meningitis: P(M|S) = P(S|M)P(M)/P(S) = 0.5 × (1/50000) / (1/20) = 0.0002 (1/5000).
What is [?] network? Describe its types. A doctor knows that the disease meningitis causes the patient to have a stiff neck 50% of the time. The doctor also knows that the probability that a patient has meningitis is 1/50,000, and the probability that any patient has a stiff neck is 1/20. Find the probability that a patient with a stiff neck has meningitis.
(The word in the question is read as "Bayesian (belief)" network.)
Bayesian network
A Bayesian network (belief network, causal network) is a probabilistic graphical model: a directed acyclic graph whose nodes are random variables and whose arcs show direct dependence (cause → effect). Each node has a conditional probability table P(node | parents), and the joint distribution is P(X1,...,Xn) = Π P(Xi | Parents(Xi)). It is used for reasoning under uncertainty (medical diagnosis, spam filtering, fault finding).
Types
- Based on structure
- Singly connected network (polytree): only one undirected path between any two nodes; inference is efficient (linear time).
- Multiply connected network: more than one undirected path between some nodes (loops); inference is NP-hard in general.
- Based on time
- Static Bayesian network: variables at one point in time.
- Dynamic Bayesian network (DBN): models how variables change over time (hidden Markov models are a special case).
- Types of reasoning it supports: causal (cause → effect), diagnostic (effect → cause) and intercausal (explaining away).
Numerical problem
Let M = patient has meningitis, S = patient has a stiff neck.
Given: P(S | M) = 0.5, P(M) = 1/50000, P(S) = 1/20.
Bayes' theorem: P(M | S) = P(S | M) · P(M) / P(S)
= 0.5 × (1/50000) / (1/20)
= (0.5 / 50000) × 20
= 0.00001 × 20
= 0.0002 = 1/5000
Answer: the probability that a patient with a stiff neck has meningitis is 0.0002 (1 in 5000, or 0.02 %). It is small because meningitis is very rare, even though it often causes a stiff neck.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Causal net, belief network, Bayes · Artificial Intelligence, chapter 4 · asked 2×
- Bayes: flu, measles and rash · Artificial Intelligence, chapter 4
- Depreciation, causes; declining balance for 50,000 · Engineering Economics, chapter 7 · asked 2×
- EVA; BCWS 9,50,000, BCWP 8,00,000, ACWP 10,00,000 · Project Engineering, chapter 4
- Depreciation, causes, methods; DB schedule for 60,000 · Engineering Economics, chapter 7 · asked 2×
- PERT expected time and completion probability · Industrial Engineering and Management, chapter 3