Probability and Uncertainty in AI
- 63Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
Why does probabilistic reasoning become important when modeling real-world situations?
Why does probabilistic reasoning become important when modeling real-world situations?
63 questions
- 1
Why does probabilistic reasoning become important when modeling real-world situations?
- A
Because probabilistic models eliminate the need to represent relationships between variables
- B
Because real-world models are often incomplete, and some outcomes are outside an agent's control or too difficult to compute
- C
Because real-world outcomes always follow deterministic rules that are too simple for symbolic reasoning
- D
Because uncertainty occurs only when an agent has no observations about the world
Correct answer
BBecause real-world models are often incomplete, and some outcomes are outside an agent's control or too difficult to compute
Explanation
A model may be incomplete or impossible to make fully detailed, leaving uncertainty about what will happen. Some outcomes may also be outside an agent's control or computationally inaccessible.
- A
- 2
What role does probabilistic reasoning play in the course's account of artificial intelligence?
- A
It is used only to learn parameters from data, not to reason about evidence
- B
It is primarily a method for describing symbolic search spaces
- C
It replaces all computation with rules that produce deterministic outcomes
- D
It provides a formal framework for representing and reasoning about uncertainty
Correct answer
DIt provides a formal framework for representing and reasoning about uncertainty
Explanation
Probabilistic reasoning is presented as the main formal mechanism for talking about and reasoning about uncertainty.
- A
- 3
How are probabilistic reasoning and machine learning related in the course's overview?
- A
Probabilistic reasoning learns from data, while machine learning is limited to writing logical rules
- B
Machine learning replaces probabilistic models by ensuring that every outcome is deterministic
- C
Probabilistic reasoning represents uncertainty, while machine learning can learn parameters for probabilistic models from data or experience
- D
The two are unrelated because learning cannot affect how a model represents the world
Correct answer
CProbabilistic reasoning represents uncertainty, while machine learning can learn parameters for probabilistic models from data or experience
Explanation
The course describes probabilistic reasoning as a framework for uncertainty and machine learning as a way to learn parameters in probabilistic models, or models more generally.
- A
- 4
Why did rule-based approaches to AI have difficulty scaling beyond some applications?
- A
Uncertainty made it difficult to rely on collections of rules and logical chains alone
- B
Rules could not represent any deterministic processes, including games
- C
Logical rules could not be combined into computations of any kind
- D
Rule-based methods required continuous-valued variables in every model
Correct answer
AUncertainty made it difficult to rely on collections of rules and logical chains alone
Explanation
Rule-based approaches produced useful computations in domains such as games, but uncertainty limited their scalability and motivated methods for coping with it.
- A
- 5
In the Ghostbusters example, what does the prior distribution represent before any sensor readings are collected?
- A
The probability that each sensor will return a particular color
- B
The agent's beliefs about ghost locations before incorporating sensor evidence
- C
The ghost location inferred after all sensor readings have been combined
- D
The utility of busting at each location after a sensing action
Correct answer
BThe agent's beliefs about ghost locations before incorporating sensor evidence
Explanation
A prior distribution represents beliefs before the evidence is incorporated. If all locations are initially equally likely, the prior is uniform.
- A
- 6
What does a sensor's noise model specify in the Ghostbusters example?
- A
The probability that the agent's initial location is correct
- B
The cost of sensing as a function of the ghost's location
- C
The probabilities of sensor readings, such as colors, given the ghost's distance
- D
The ghost's probability of moving after each sensor reading
Correct answer
CThe probabilities of sensor readings, such as colors, given the ghost's distance
Explanation
The noise model describes how likely different sensor readings are for a given distance. A noisy sensor can return different colors even at the same distance.
- A
- 7
After collecting sensor readings in Ghostbusters, what does the posterior distribution describe?
- A
The updated probabilities of ghost locations given the readings
- B
The probabilities of readings before the ghost's location is considered
- C
The costs of all sensing actions before any evidence is collected
- D
The locations that are guaranteed to contain the ghost
Correct answer
AThe updated probabilities of ghost locations given the readings
Explanation
The posterior is the distribution over locations after taking the observed sensor readings into account. It updates the prior beliefs using evidence.
- A
- 8
In the Ghostbusters activity, what is the decision about when to stop sensing and make a guess called?
- A
A marginalization computation
- B
A normalization computation
- C
A value-of-information computation
- D
A chain-rule computation
Correct answer
CA value-of-information computation
Explanation
The tradeoff between paying for more sensing and acting on the current information is described as a value-of-information computation.
- A
- 9
How can uncertainty in a sensor be represented within a probabilistic model?
- A
As a rule that assigns probability one to every possible reading
- B
As a random variable whose possible readings have probabilities conditioned on the relevant state
- C
As a fixed value that is independent of the state being sensed
- D
As a hidden variable that cannot be connected to other model variables
Correct answer
BAs a random variable whose possible readings have probabilities conditioned on the relevant state
Explanation
Sensor outcomes can be represented by random variables. Their distributions can express how likely readings are given the state being sensed.
- A
- 10
What is the purpose of a probabilistic model when an agent must make a decision?
- A
To remove hidden variables before representing the world's relationships
- B
To assign a fixed action to each variable without considering evidence
- C
To combine relationships among variables with evidence so the agent can compute probabilities relevant to a decision
- D
To guarantee that the most probable outcome always has the greatest utility
Correct answer
CTo combine relationships among variables with evidence so the agent can compute probabilities relevant to a decision
Explanation
A model represents relationships among variables, and inference combines those relationships with evidence to produce probabilities that can support decisions.
- A
- 11
What is a random variable in a probabilistic model?
- A
A named aspect of the world that the model represents and that can take values from a domain
- B
A probability assigned only to outcomes that have already been observed
- C
A number that must change randomly each time a model is evaluated
- D
A complete assignment to every variable in the model
Correct answer
AA named aspect of the world that the model represents and that can take values from a domain
Explanation
A random variable represents an aspect of the world that matters to the model. It has a name and a domain of possible values.
- A
- 12
In the notation described for Boolean random variables, what does the shorthand +R mean?
- A
The variable R has an unknown value
- B
The variable R has the value false
- C
The variable R has a probability of one-half
- D
The variable R has the value true
Correct answer
DThe variable R has the value true
Explanation
The shorthand uses a plus sign for true and a minus sign for false. The letter identifies the random variable.
- A
- 13
Which statement correctly distinguishes a binary variable from a Boolean variable?
- A
A binary variable has two values, but those values need not be true and false
- B
A binary variable has exactly one value, while a Boolean variable has two
- C
A binary variable must be continuous, while a Boolean variable must be discrete
- D
A binary variable has probabilities, while a Boolean variable has none
Correct answer
AA binary variable has two values, but those values need not be true and false
Explanation
A variable such as temperature with values hot and cold is binary, but not Boolean, because its two values are not true and false.
- A
- 14
Which set of domains includes the range of variable types described for probabilistic models?
- A
Boolean domains only, because other values cannot have probabilities
- B
Binary, discrete with several values, structured, and continuous domains
- C
Domains containing only values that have already been observed
- D
Continuous domains only, because discrete values cannot represent uncertainty
Correct answer
BBinary, discrete with several values, structured, and continuous domains
Explanation
Random variables can have binary, discrete, structured, or continuous domains. The course focuses mostly on discrete domains.
- A
- 15
What changes mathematically when probabilistic reasoning moves from discrete variables to continuous variables?
- A
Every continuous variable must be converted into a Boolean variable
- B
Conditional probabilities become unnecessary because values are continuous
- C
Integrals become finite truth tables, and uncertainty disappears
- D
Sums over values become integrals, and additional technical cases must be considered
Correct answer
DSums over values become integrals, and additional technical cases must be considered
Explanation
The same broad concepts apply to continuous variables, but sums become integrals and the mechanics include additional complications.
- A
- 16
What does a probability distribution over one random variable provide?
- A
A list of values only for outcomes that have been observed
- B
A single probability for the entire model, regardless of the domain
- C
A probability for each value in that variable's domain
- D
A probability for every assignment to all variables in the model
Correct answer
CA probability for each value in that variable's domain
Explanation
A distribution over one variable assigns a probability to each possible value of that variable.
- A
- 17
How does the notation P(W) differ from P(W = rain) in the stated convention?
- A
Both notations denote the same single probability
- B
P(W) denotes a distribution over W, while P(W = rain) denotes one scalar probability
- C
P(W) denotes observed evidence, while P(W = rain) denotes a random variable
- D
P(W) denotes one scalar probability, while P(W = rain) denotes a distribution
Correct answer
BP(W) denotes a distribution over W, while P(W = rain) denotes one scalar probability
Explanation
A capital variable inside the probability notation indicates a distribution over its values. Specifying one value gives a single probability.
- A
- 18
Which condition must a legal probability distribution satisfy?
- A
Its entries must all be strictly positive and sum to zero
- B
Its entries must be equal and sum to one
- C
Its entries must be nonnegative and sum to the number of domain values
- D
Its entries must be nonnegative and sum to one
Correct answer
DIts entries must be nonnegative and sum to one
Explanation
A probability distribution has nonnegative entries that sum to one. Zero is mathematically permitted, though often discouraged in practical models.
- A
- 19
Why are exact zero probabilities often discouraged in practical models?
- A
A zero means the random variable no longer has a domain
- B
A zero forces all other outcomes to have equal probabilities
- C
A zero can prevent the model from assigning probability to an outcome even if later evidence strongly supports it
- D
A zero makes the entries of every distribution sum to more than one
Correct answer
CA zero can prevent the model from assigning probability to an outcome even if later evidence strongly supports it
Explanation
If an outcome is assigned zero probability, later evidence cannot make it plausible under the model. A small probability may be preferable when an outcome is very unlikely but not impossible.
- A
- 20
When is it appropriate to use the shorthand P(hot) instead of naming the variable?
- A
When it is unambiguous which variable can take the value hot
- B
Whenever any variable in the model has a probability distribution
- C
Whenever the value hot has been observed for two variables
- D
Only when hot has probability one
Correct answer
AWhen it is unambiguous which variable can take the value hot
Explanation
A value-only shorthand is useful when the variable is clear from context. If multiple variables can take that value, the variable name should be included.
- A
- 21
What does a joint distribution over several random variables specify?
- A
The probability of each variable's most likely value
- B
A separate probability for each variable without representing their combinations
- C
Only the assignments that satisfy deterministic constraints
- D
A probability for every complete assignment of values to those variables
Correct answer
DA probability for every complete assignment of values to those variables
Explanation
A joint distribution assigns a probability to every outcome, where an outcome is a complete assignment to the variables.
- A
- 22
Why can a joint distribution over many variables become impractical to write down?
- A
Its size depends only on the number of observed variables
- B
It requires one entry only for each variable's most likely value
- C
With N variables having D values each, it has DN entries
- D
With N variables having D values each, it has only N+D entries
Correct answer
CWith N variables having D values each, it has DN entries
Explanation
A joint table needs one entry for every combination of variable values. With D values for each of N variables, there are DN assignments.
- A
- 23
What is a probabilistic model in the basic formulation described?
- A
A joint distribution over a collection of random variables
- B
A single conditional probability with no other variables
- C
A list containing only the model's observed variables
- D
A set of constraints that marks every assignment as either legal or illegal
Correct answer
AA joint distribution over a collection of random variables
Explanation
In the basic formulation, a probabilistic model is a joint distribution over random variables.
- A
- 24
How does a probabilistic model differ from a constraint satisfaction problem over the same variables?
- A
A probabilistic model requires Boolean variables, while a CSP requires continuous variables
- B
A probabilistic model lists only legal outcomes, while a CSP assigns probabilities to all outcomes
- C
A probabilistic model has no complete assignments, while a CSP has one for each outcome
- D
A probabilistic model assigns likelihoods to outcomes, while a CSP distinguishes satisfying from unsatisfying assignments
Correct answer
DA probabilistic model assigns likelihoods to outcomes, while a CSP distinguishes satisfying from unsatisfying assignments
Explanation
A CSP indicates whether assignments satisfy constraints. A probabilistic model assigns probabilities that indicate how likely assignments are.
- A
- 25
In the example where hot-and-sunny has probability 0.4 and cold-and-sunny has probability 0.2, what is the probability of sun?
- A
0.8
- B
0.4
- C
0.2
- D
0.6
Correct answer
D0.6
Explanation
The event that it is sunny includes both hot-and-sunny and cold-and-sunny outcomes, so their probabilities are added: 0.4 + 0.2 = 0.6.
- A
- 26
What is an event in the terminology of joint distributions?
- A
A probability distribution over only observed variables
- B
A single variable's domain, regardless of its assigned values
- C
A rule that specifies which variables are hidden
- D
A set of outcomes, each of which is a complete assignment to the variables
Correct answer
DA set of outcomes, each of which is a complete assignment to the variables
Explanation
An event is a set of outcomes. Each outcome is a complete assignment of values to all variables in the model.
- A
- 27
How is the probability of an event containing several outcomes computed from a joint distribution?
- A
By multiplying the probabilities of all outcomes in the event
- B
By selecting the largest probability in the event
- C
By adding the probabilities of the outcomes in the event
- D
By dividing each outcome's probability by the number of variables
Correct answer
CBy adding the probabilities of the outcomes in the event
Explanation
When an event groups multiple possible outcomes, its probability is the sum of the probabilities of those outcomes.
- A
- 28
What does it mean for a row in a joint table to be consistent with a partial assignment?
- A
The row's values match every variable value specified by the partial assignment
- B
The row includes every value in every variable's domain
- C
The row contains no values for variables outside the partial assignment
- D
The row has a probability greater than every other row
Correct answer
AThe row's values match every variable value specified by the partial assignment
Explanation
A row is consistent with a partial assignment when it matches the values specified for the variables in that assignment.
- A
- 29
In the example with hot-and-sunny probability 0.4 and hot-and-rainy probability 0.1, what is the probability that it is hot?
- A
0.1
- B
0.4
- C
0.5
- D
0.9
Correct answer
C0.5
Explanation
Both hot-and-sunny and hot-and-rainy outcomes match the event that it is hot. Their probabilities add to 0.5.
- A
- 30
What happens when a variable is eliminated from a joint distribution to form a marginal distribution?
- A
All entries involving the eliminated variable are set to zero
- B
The variable's values are replaced by their most likely value
- C
The probabilities are divided equally among the remaining variables
- D
Entries that differ only in the eliminated variable are combined by summing their probabilities
Correct answer
DEntries that differ only in the eliminated variable are combined by summing their probabilities
Explanation
Marginalization, also called summing out, removes a variable's distinction by adding together entries that differ only in that variable.
- A
- 31
Which operation produces the marginal probability of hot from a joint distribution over temperature and weather?
- A
Add the probabilities of hot paired with every possible weather value
- B
Add the probabilities of every outcome that is not hot
- C
Keep only the probability of hot paired with the most likely weather value
- D
Divide the probability of hot-and-sunny by the probability of sunny
Correct answer
AAdd the probabilities of hot paired with every possible weather value
Explanation
To obtain the marginal probability of hot, sum the joint probabilities for hot across all weather values.
- A
- 32
What is the defining computation for the conditional probability of event A given event B?
- A
The probability of A plus the probability of B
- B
The probability of both A and B divided by the probability of B
- C
The probability of B divided by the probability of A
- D
The probability of A divided by the probability of both A and B
Correct answer
BThe probability of both A and B divided by the probability of B
Explanation
The conditional probability of A given B is the joint probability of A and B divided by the probability of the conditioning event B.
- A
- 33
How can the conditional probability of A given B be interpreted in terms of outcomes?
- A
As the total probability of all outcomes outside B
- B
As the proportion of A's probability that belongs to outcomes where B does not occur
- C
As the probability that either A or B occurs without overlap
- D
As the proportion of B's probability that belongs to outcomes where A also occurs
Correct answer
DAs the proportion of B's probability that belongs to outcomes where A also occurs
Explanation
Conditioning on B restricts attention to outcomes where B occurs. The conditional probability measures how much of that probability also satisfies A.
- A
- 34
In the example where cold-and-sunny has probability 0.2 and cold has probability 0.5, what is the probability of sun given cold?
- A
0.4
- B
0.5
- C
0.2
- D
0.7
Correct answer
A0.4
Explanation
The conditional probability is the probability of cold and sun divided by the probability of cold: 0.2 divided by 0.5 equals 0.4.
- A
- 35
For the joint distribution where the probabilities of (+X, +Y), (+X, -Y), (-X, +Y), and (-X, -Y) are 0.2, 0.3, 0.4, and 0.1, what is the probability of +X given +Y?
- A
One-third
- B
Two-thirds
- C
One-half
- D
Four-fifths
Correct answer
AOne-third
Explanation
The probability of +Y is 0.2 + 0.4 = 0.6. The joint probability of +X and +Y is 0.2, so the conditional probability is 0.2 divided by 0.6, or one-third.
- A
- 36
In the same joint distribution, what is the probability of -X given +Y?
- A
One-half
- B
Two-thirds
- C
One-third
- D
Four-fifths
Correct answer
BTwo-thirds
Explanation
The joint probability of -X and +Y is 0.4, and the total probability of +Y is 0.6. Thus, 0.4 divided by 0.6 is two-thirds.
- A
- 37
What is a conditional distribution over W given evidence that T is hot?
- A
A single probability that T is hot, with no entries for W
- B
The marginal distribution over T after removing W
- C
The joint distribution over all variables, without any evidence applied
- D
A distribution with an entry for each value of W, computed while conditioning on T being hot
Correct answer
DA distribution with an entry for each value of W, computed while conditioning on T being hot
Explanation
A conditional distribution over W has one entry for each value of W, with each entry conditioned on the specified evidence about T.
- A
- 38
If the probabilities of hot-and-sunny and hot-and-rainy are 0.4 and 0.1, what is the probability of sun given hot?
- A
0.8
- B
0.5
- C
0.4
- D
0.2
Correct answer
A0.8
Explanation
The probability of hot is 0.4 + 0.1 = 0.5. The probability of hot and sunny is 0.4, so sun given hot has probability 0.4 divided by 0.5, or 0.8.
- A
- 39
What is the key difference between a marginal distribution over W and a conditional distribution over W given evidence?
- A
The marginal is a scalar, while the conditional distribution cannot be represented as a table
- B
The marginal uses no specified evidence, while the conditional distribution incorporates the specified evidence
- C
The marginal contains only observed values, while the conditional distribution contains only hidden values
- D
The marginal must sum to zero, while the conditional distribution must sum to one
Correct answer
BThe marginal uses no specified evidence, while the conditional distribution incorporates the specified evidence
Explanation
Both are distributions over W, but the conditional distribution reflects particular evidence, whereas the marginal distribution does not condition on that evidence.
- A
- 40
What is the select-and-normalize procedure for computing a conditional distribution from a joint table?
- A
Remove rows matching the evidence, then add the remaining probabilities to one
- B
Keep rows matching the evidence, then divide the remaining probabilities by their sum
- C
Keep only the most probable row, then assign it probability one
- D
Keep rows matching the query, then multiply the remaining probabilities by their sum
Correct answer
BKeep rows matching the evidence, then divide the remaining probabilities by their sum
Explanation
Selecting leaves the entries consistent with the evidence. Normalizing divides them by their total so the resulting conditional distribution sums to one.
- A
- 41
Why does normalizing the selected rows produce the correct conditional probabilities?
- A
The selected entries are already the conditional probabilities, so normalization removes the query variable
- B
The selected entries are the marginal probabilities, so normalization restores the joint table
- C
The selected entries provide the evidence probabilities, and their sum is always one
- D
The selected entries provide the joint numerators, and their sum is the probability of the evidence
Correct answer
DThe selected entries provide the joint numerators, and their sum is the probability of the evidence
Explanation
Each selected entry supplies the joint probability for a query value together with the evidence. The sum of the selected entries is the probability of the evidence, which is the conditional denominator.
- A
- 42
In inference, what is a query variable?
- A
A variable that cannot appear in the joint distribution
- B
A variable that must be removed before the model is built
- C
A variable whose value is already known as evidence
- D
A variable whose probability distribution the agent wants to compute
Correct answer
DA variable whose probability distribution the agent wants to compute
Explanation
The query variable is the variable about which the agent wants an answer, typically a distribution conditioned on evidence.
- A
- 43
How is a hidden variable defined in a probabilistic inference query?
- A
It is a variable that has no relationship to any other variable
- B
It is observed and included as the main variable of interest
- C
It is a variable whose value has probability zero
- D
It is neither observed as evidence nor included among the query variables
Correct answer
DIt is neither observed as evidence nor included among the query variables
Explanation
Hidden variables are not known from evidence and are not the variables being queried. They must be handled during inference, often by summing them out.
- A
- 44
Which sequence describes inference by enumeration from a joint distribution?
- A
Select rows matching evidence, sum out hidden variables, and normalize the remaining query distribution
- B
Sum out the query variable, select the hidden variables, and normalize the evidence
- C
Select rows matching the query, sum out evidence variables, and retain every hidden variable
- D
Normalize the full table, remove evidence rows, and multiply the hidden-variable values
Correct answer
ASelect rows matching evidence, sum out hidden variables, and normalize the remaining query distribution
Explanation
Inference by enumeration selects assignments consistent with the evidence, sums out variables that are hidden, and normalizes the remaining distribution over the query variable.
- A
- 45
What does summing out a hidden variable accomplish during inference?
- A
It makes every remaining assignment equally likely
- B
It combines probabilities across that variable's possible values, removing that dimension from the result
- C
It selects the most likely value of that variable and discards all others
- D
It turns the hidden variable into observed evidence
Correct answer
BIt combines probabilities across that variable's possible values, removing that dimension from the result
Explanation
Summing out combines entries that differ only in the hidden variable, so the result no longer distinguishes its possible values.
- A
- 46
In the weather example, what is the distribution over weather after observing winter but before conditioning on temperature?
- A
Sunny and rainy each have probability 0.5
- B
Sunny has probability two-thirds and rainy has probability one-third
- C
Sunny has probability 0.4 and rainy has probability 0.6
- D
Sunny has probability 0.65 and rainy has probability 0.35
Correct answer
ASunny and rainy each have probability 0.5
Explanation
Selecting the winter rows and summing out temperature gives equal unnormalized totals for sun and rain. Normalizing produces probabilities of 0.5 for each.
- A
- 47
In the weather example, what is the probability of sun after observing both winter and hot?
- A
One-third
- B
One-half
- C
Two-thirds
- D
0.8
Correct answer
CTwo-thirds
Explanation
After selecting the winter-and-hot rows, the sun and rain entries are 0.1 and 0.05. Normalizing gives a sun probability of two-thirds.
- A
- 48
How does receiving additional evidence generally affect inference by enumeration?
- A
It removes more assignments that do not match the evidence and may leave fewer variables to sum out
- B
It requires the model to add a new probability entry for every existing assignment
- C
It changes hidden variables into query variables automatically
- D
It makes the joint distribution uniform over the remaining assignments
Correct answer
AIt removes more assignments that do not match the evidence and may leave fewer variables to sum out
Explanation
New evidence allows more rows to be rejected during selection. Variables whose values become known are no longer hidden and do not need to be summed out.
- A
- 49
Why is direct inference by enumeration often impractical for large models?
- A
It produces probabilities that cannot be normalized
- B
It cannot represent evidence or conditional probabilities
- C
The joint table and the computations over it can grow exponentially with the number of variables
- D
It requires every variable to be continuous
Correct answer
CThe joint table and the computations over it can grow exponentially with the number of variables
Explanation
A full joint distribution has exponentially many entries, and enumeration can require extensive computation over those entries.
- A
- 50
Why does learning every entry of a large joint distribution also create a data problem?
- A
A joint distribution cannot be learned from any observations
- B
Each entry needs evidence about its corresponding assignment, so learning the full table can require exponentially much data
- C
Every observation must contain a continuous value for each variable
- D
Observed data can determine only marginal distributions, never joint probabilities
Correct answer
BEach entry needs evidence about its corresponding assignment, so learning the full table can require exponentially much data
Explanation
Because the table has exponentially many assignments, learning its entries directly can require an exponential amount of evidence.
- A
- 51
What does a rational agent's belief about a query variable correspond to in this framework?
- A
The conditional probability distribution over that variable given the agent's evidence
- B
The unconditional probability of the most recent sensor reading
- C
The probability distribution over hidden variables only
- D
The utility of the most likely complete assignment
Correct answer
AThe conditional probability distribution over that variable given the agent's evidence
Explanation
The agent's beliefs are represented by conditional probabilities over variables of interest given the evidence currently available.
- A
- 52
How should an agent's beliefs respond when new evidence arrives?
- A
They should become uniform over all possible outcomes
- B
They should be replaced by the utility of the new evidence
- C
They should remain fixed at their prior values
- D
They should be updated to reflect the new evidence
Correct answer
DThey should be updated to reflect the new evidence
Explanation
A central role of probabilistic inference is to update beliefs as new evidence is observed.
- A
- 53
What does the product rule allow an agent to compute?
- A
A joint distribution from a marginal distribution and a conditional distribution
- B
A marginal distribution from a single observed outcome without a model
- C
A hidden-variable assignment from a query variable alone
- D
A conditional distribution from two unrelated utility values
Correct answer
AA joint distribution from a marginal distribution and a conditional distribution
Explanation
The product rule combines a distribution over one variable with a conditional distribution over another given the first to form their joint distribution.
- A
- 54
What does a table of probabilities for D given each possible value of W represent?
- A
A marginal distribution over D that ignores W
- B
A family of conditional distributions, one for each value of W
- C
One joint distribution that must sum to one across every row and column together
- D
A probability distribution over values of W only
Correct answer
BA family of conditional distributions, one for each value of W
Explanation
Each setting of W has its own distribution over D. These distributions can be stored together, but the combined table is a family of distributions rather than one distribution that sums to one overall.
- A
- 55
If sun has probability 0.8 and wet given sun has probability 0.1, what is the joint probability of wet and sun?
- A
0.08
- B
0.9
- C
0.1
- D
0.7
Correct answer
A0.08
Explanation
By the product rule, the probability of wet and sun is the probability of sun multiplied by the probability of wet given sun: 0.8 times 0.1 equals 0.08.
- A
- 56
Which expression describes the chain rule for a joint distribution over several variables?
- A
Multiply each variable's marginal distribution without conditioning on any other variable
- B
Condition every variable only on the final variable in the sequence
- C
Multiply the first variable's distribution by each later variable conditioned on all variables before it
- D
Add each variable's conditional distribution to the preceding joint distribution
Correct answer
CMultiply the first variable's distribution by each later variable conditioned on all variables before it
Explanation
The chain rule builds a joint distribution from the first variable and successive conditional distributions, each conditioned on all earlier variables.
- A
- 57
Why do the factors in the chain rule combine to form the joint distribution?
- A
Each new conditional contains the joint probability so far in its numerator, allowing it to cancel with the preceding denominator
- B
Each conditional distribution is uniform, so multiplying them leaves the joint unchanged
- C
The factors sum to one individually, so their product must be the joint distribution
- D
The first variable's marginal cancels every later variable from the model
Correct answer
AEach new conditional contains the joint probability so far in its numerator, allowing it to cancel with the preceding denominator
Explanation
Using the definition of conditional probability, each new factor contributes the expanded joint in its numerator and the previous joint in its denominator. Those previous terms cancel as the chain is multiplied.
- A
- 58
What does Bayes' rule make possible when the desired conditional probability is difficult to model directly?
- A
It can derive that conditional probability from the reverse conditional and appropriate marginal probabilities
- B
It can turn every low probability into a probability of one
- C
It can compute a utility directly from a joint distribution
- D
It can replace the need for any probability distributions with deterministic rules
Correct answer
AIt can derive that conditional probability from the reverse conditional and appropriate marginal probabilities
Explanation
Bayes' rule reverses the direction of a conditional probability using the reverse conditional and marginal probabilities.
- A
- 59
Why can Bayes' rule be derived from the product rule?
- A
The same joint distribution can be factored in either variable order, and equating the factorizations yields Bayes' rule
- B
The product rule states that all conditional probabilities are equal
- C
The product rule applies only when two variables are independent
- D
Bayes' rule is the normalization step for any joint distribution
Correct answer
AThe same joint distribution can be factored in either variable order, and equating the factorizations yields Bayes' rule
Explanation
The joint distribution of two variables can be written using either variable's conditional distribution and the other variable's marginal. Equating the two forms and rearranging gives Bayes' rule.
- A
- 60
In medical diagnosis, why might Bayes' rule be useful for inferring a cause from a symptom?
- A
A symptom can be used only as a query, never as evidence
- B
Symptoms always determine their causes with certainty
- C
The probability of the symptom given the cause may be easier to model than the probability of the cause given the symptom
- D
The probability of a cause given a symptom never depends on the cause's base rate
Correct answer
CThe probability of the symptom given the cause may be easier to model than the probability of the cause given the symptom
Explanation
Models often describe how causes produce observable effects more naturally. Bayes' rule can use those cause-to-effect probabilities to compute the desired effect-to-cause probability.
- A
- 61
Which probability would a patient with a stiff neck typically want to know in the meningitis example?
- A
The probability that a stiff neck occurs in every disease
- B
The probability of meningitis given a stiff neck
- C
The probability of a stiff neck given meningitis
- D
The probability of meningitis in people without any symptoms
Correct answer
BThe probability of meningitis given a stiff neck
Explanation
The diagnostic question is the probability of the cause, meningitis, given the observed effect, a stiff neck.
- A
- 62
Why can a symptom increase the probability of a disease without making the disease likely overall?
- A
A disease's base rate is irrelevant whenever any symptom is observed
- B
The probability of a symptom given a disease must equal the probability of the disease
- C
A symptom always lowers the probability of a rare disease
- D
The disease may have a low base rate, so an informative symptom can raise its probability while it remains uncommon
Correct answer
DThe disease may have a low base rate, so an informative symptom can raise its probability while it remains uncommon
Explanation
Bayesian diagnosis incorporates both symptom likelihoods and the disease's base rate. A symptom can raise the posterior above the prior without making the disease more likely than not.
- A
- 63
Why might it be rational to seek medical evaluation even when a serious condition remains unlikely?
- A
The most likely outcome must always be chosen regardless of its consequences
- B
The possible harm of failing to treat the condition can make evaluation worthwhile despite its low probability
- C
A low probability always means the condition has high utility
- D
Seeking evaluation proves that the condition is the most likely outcome
Correct answer
BThe possible harm of failing to treat the condition can make evaluation worthwhile despite its low probability
Explanation
Decisions depend on both probabilities and utilities. A low-probability outcome can still justify action if its consequences would be very harmful.
- A

Ask anything
We've read this whole study set, so questions about it get the best answers.