1. Home
  2. Explore
  3. Mathematics
  4. Introduction to Probability

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Introduction to Probability

  • 63Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Probability Foundations

Why is probability needed in reasoning about the real world?

63 questions

  1. 1

    Why is probability needed in reasoning about the real world?

    1. A

      The real world contains uncertainty that cannot always be resolved by deduction

    2. B

      The real world contains no regularities that logical systems can represent

    3. C

      Logical reasoning can only be applied to mathematical objects and not physical events

    4. D

      Probability replaces all forms of reasoning whenever observations are available

    Correct answer
    A

    The real world contains uncertainty that cannot always be resolved by deduction

    Explanation

    Many real-world outcomes, such as arriving at an airport on time, cannot be deduced with certainty from the available facts. Probability provides a way to quantify this uncertainty.

  2. 2

    What does the complete state of the world contain?

    1. A

      Only the facts directly observed by the reasoning agent

    2. B

      A list of the possible actions available to the reasoning agent

    3. C

      Only the facts relevant to the agent's immediate decision

    4. D

      Every fact about the world, including facts that may not be observed

    Correct answer
    D

    Every fact about the world, including facts that may not be observed

    Explanation

    The state of the world is defined as containing every single fact about the world, although an agent generally does not know all of those facts.

  3. 3

    What is partial observability?

    1. A

      Observing the entire world but assigning different probabilities to its facts

    2. B

      Observing some parts of the world while remaining uncertain about other parts

    3. C

      Observing one possible world and eliminating all other possible worlds

    4. D

      Observing only future events while ignoring the current state of the world

    Correct answer
    B

    Observing some parts of the world while remaining uncertain about other parts

    Explanation

    Partial observability occurs when an agent observes some pieces of the world but is uncertain about the rest.

  4. 4

    Why do noisy sensors create a need for probabilistic reasoning?

    1. A

      Sensors prevent an agent from representing any possible world explicitly

    2. B

      Sensors always report several mutually exclusive states simultaneously

    3. C

      Sensor observations may be incomplete or inaccurate representations of the world

    4. D

      Sensor observations are independent of the events they are intended to measure

    Correct answer
    C

    Sensor observations may be incomplete or inaccurate representations of the world

    Explanation

    Vision, hearing, and reports about traffic may provide imperfect or time-mismatched information, so the agent must manage uncertainty about what was observed.

  5. 5

    Which practical limitation motivates the use of probability even if all relevant data could theoretically be obtained?

    1. A

      An agent can only reason about events that have already occurred

    2. B

      An agent cannot process the enormous amount of information describing the world

    3. C

      An agent must treat every observation as equally reliable

    4. D

      An agent cannot assign any numerical values to observations

    Correct answer
    B

    An agent cannot process the enormous amount of information describing the world

    Explanation

    Even if all data were available, the amount of information could be too large for an agent to process. Probability summarizes the effects of limited computational capacity.

  6. 6

    Why can probability be useful even when the world itself is deterministic?

    1. A

      Deterministic processes always produce several outcomes at once

    2. B

      A deterministic world contains no causal relationships that can be modeled

    3. C

      An agent may not know all the details governing how the world evolves

    4. D

      Probability changes deterministic laws into random physical processes

    Correct answer
    C

    An agent may not know all the details governing how the world evolves

    Explanation

    An agent may lack a complete model of how events evolve, such as how driving over a nail will affect a tire. Probability can represent this limited understanding.

  7. 7

    What does a probabilistic assertion often summarize?

    1. A

      A complete causal explanation of every event in the world

    2. B

      A proof that the asserted outcome must occur

    3. C

      The effects of the agent's ignorance and limited effort to model every detail

    4. D

      A guarantee that all possible observations have been collected

    Correct answer
    C

    The effects of the agent's ignorance and limited effort to model every detail

    Explanation

    Probabilistic assertions summarize both genuine uncertainty in the world and the agent's limited ability or willingness to represent every relevant detail.

  8. 8

    What quantity is maximized in the described decision-theoretic framework?

    1. A

      The utility of the worst possible state, regardless of its probability

    2. B

      The probability of the most likely state, regardless of its utility

    3. C

      Expected utility, obtained by weighting utility by the probability of each state

    4. D

      The number of possible actions available to the agent

    Correct answer
    C

    Expected utility, obtained by weighting utility by the probability of each state

    Explanation

    Expected utility combines the utility of each possible state with the probability of reaching that state, and the agent chooses the action that optimizes this weighted quantity.

  9. 9

    What is the outcome space, denoted by Ω\OmegaΩ?

    1. A

      The probability assigned to the most likely outcome

    2. B

      The collection of all random variables in a model

    3. C

      The set of all possible worlds or outcomes

    4. D

      The set of observations currently available to an agent

    Correct answer
    C

    The set of all possible worlds or outcomes

    Explanation

    The outcome space Ω\OmegaΩ is the set of possible worlds. For a single die roll, it contains the six outcomes corresponding to rolls from 111 through 666.

  10. 10

    What does a probability model assign to each possible world ω\omegaω?

    1. A

      A numerical probability

    2. B

      A unique action

    3. C

      A sensor measurement

    4. D

      A causal explanation

    Correct answer
    A

    A numerical probability

    Explanation

    A probability model assigns a number to each possible world or outcome in the outcome space.

  11. 11

    Which conditions must probabilities assigned to all possible worlds satisfy?

    1. A

      They must all be equal and sum to 000

    2. B

      They must be negative for impossible outcomes and sum to 111

    3. C

      They must be non-negative and sum to 111

    4. D

      They must be greater than 111 and sum to the number of outcomes

    Correct answer
    C

    They must be non-negative and sum to 111

    Explanation

    Probabilities cannot be negative, and the probabilities of all mutually exclusive and exhaustive outcomes must sum to 111. Therefore, no individual probability can exceed 111.

  12. 12

    What is an atomic outcome?

    1. A

      A possible outcome that cannot be divided into smaller outcomes in the model

    2. B

      An observation that has been corrupted by sensor noise

    3. C

      An event containing every possible outcome in the model

    4. D

      A probability distribution containing several related events

    Correct answer
    A

    A possible outcome that cannot be divided into smaller outcomes in the model

    Explanation

    Atomic outcomes are the basic possibilities in the outcome space; they cannot be divided further within the model.

  13. 13

    What is an event in a probability model?

    1. A

      A subset of the outcome space

    2. B

      A complete assignment of probabilities to all variables

    3. C

      A single numerical probability

    4. D

      A function that maps outcomes to values

    Correct answer
    A

    A subset of the outcome space

    Explanation

    An event is a set of outcomes, so it is a subset of the complete outcome space.

  14. 14

    For a fair die, what is the probability of the event that the roll is less than 444?

    1. A

      12\frac{1}{2}21​

    2. B

      16\frac{1}{6}61​

    3. C

      13\frac{1}{3}31​

    4. D

      23\frac{2}{3}32​

    Correct answer
    A

    12\frac{1}{2}21​

    Explanation

    The event consists of outcomes 111, 222, and 333. Each has probability 16\frac{1}{6}61​, so the event probability is 16+16+16=12\frac{1}{6}+\frac{1}{6}+\frac{1}{6}=\frac{1}{2}61​+61​+61​=21​.

  15. 15

    How is the probability of an event calculated from its atomic outcomes?

    1. A

      By dividing the event size by the total number of random variables

    2. B

      By multiplying the probabilities of all outcomes contained in the event

    3. C

      By selecting only the most probable outcome in the event

    4. D

      By summing the probabilities of all outcomes contained in the event

    Correct answer
    D

    By summing the probabilities of all outcomes contained in the event

    Explanation

    The probability of an event is the sum of the probabilities of the possible worlds or outcomes in which that event is true.

  16. 16

    What can happen if an agent's probability assignments violate the probability laws?

    1. A

      The agent is guaranteed to make a profit over repeated bets

    2. B

      The assignments become valid as long as each individual value is below 111

    3. C

      A sequence of bets can be constructed that guarantees the agent loses money

    4. D

      The assignments remain valid because events need not be additive

    Correct answer
    C

    A sequence of bets can be constructed that guarantees the agent loses money

    Explanation

    Probability assignments that violate non-negativity or additivity can expose the agent to a set of bets producing a guaranteed loss, a consequence sometimes called a Dutch book.

  17. 17

    What is a random variable formally?

    1. A

      A deterministic function that maps each possible world to a value

    2. B

      A set containing every possible value of every variable

    3. C

      A probability assigned directly to one atomic outcome

    4. D

      A physical object whose behavior cannot be described mathematically

    Correct answer
    A

    A deterministic function that maps each possible world to a value

    Explanation

    A random variable is formally a deterministic function from the outcome space to a range of values. Its output appears random because its input outcome is selected probabilistically.

  18. 18

    Why can a random variable appear random even though its mapping is deterministic?

    1. A

      Its range contains values that have no fixed meaning

    2. B

      Its function changes whenever a new outcome is observed

    3. C

      Its mapping is chosen after the outcome has been observed

    4. D

      Its input outcome is selected randomly according to the probability model

    Correct answer
    D

    Its input outcome is selected randomly according to the probability model

    Explanation

    The function itself is fixed, but the outcome supplied to it is randomly selected. The random input therefore produces a random-looking output.

  19. 19

    For the Boolean random variable odd applied to a die roll, what value does it return for the outcome 666?

    1. A

      true

    2. B

      6

    3. C

      undefined

    4. D

      false

    Correct answer
    D

    false

    Explanation

    The random variable odd returns true for odd die outcomes such as 111, 333, and 555, and returns false for 666.

  20. 20

    What is the domain of a random variable in this framework?

    1. A

      The outcome space Ω\OmegaΩ

    2. B

      The set of all possible probability distributions

    3. C

      The set of variables observed as evidence

    4. D

      The set of probabilities assigned to its values

    Correct answer
    A

    The outcome space Ω\OmegaΩ

    Explanation

    A random variable takes a possible world from Ω\OmegaΩ as input, so its domain is the outcome space.

  21. 21

    What is the range of a random variable?

    1. A

      The set of probabilities assigned to all atomic outcomes

    2. B

      The set of values that the random variable can output

    3. C

      The set of variables that are conditionally independent of it

    4. D

      The set of possible worlds that supply its inputs

    Correct answer
    B

    The set of values that the random variable can output

    Explanation

    The range consists of the possible output values of the random variable, such as hot and cold for a temperature variable.

  22. 22

    Which statement correctly describes possible ranges of random variables?

    1. A

      A range must always be the same as the outcome space

    2. B

      A range may be finite or infinite

    3. C

      A range must always contain exactly two values

    4. D

      A range can contain only numerical values

    Correct answer
    B

    A range may be finite or infinite

    Explanation

    A random variable may have a finite range, such as hot and cold, or an infinite range, such as travel times from 000 to infinity.

  23. 23

    What does the probability distribution of a random variable specify?

    1. A

      The causal relationship between the variable and every other variable

    2. B

      The mapping from every value in the range back to an outcome

    3. C

      The probability of each possible action in the world

    4. D

      The probability of each value in the variable's range

    Correct answer
    D

    The probability of each value in the variable's range

    Explanation

    A random variable's probability distribution gives the probability that the variable takes each possible value in its range.

  24. 24

    How is P(X=x)P(X=x)P(X=x) computed from the outcome-space distribution?

    1. A

      By assigning xxx the probability of the most likely outcome

    2. B

      By dividing the probability of xxx by the number of outcomes in Ω\OmegaΩ

    3. C

      By summing probabilities of all outcomes that map to xxx

    4. D

      By multiplying the probabilities of all outcomes that map to xxx

    Correct answer
    C

    By summing probabilities of all outcomes that map to xxx

    Explanation

    The probability that X=xX=xX=x is the sum of the probabilities of all possible worlds for which the deterministic function XXX outputs xxx.

  25. 25

    For a fair die, what is the probability that the random variable odd equals true?

    1. A

      23\frac{2}{3}32​

    2. B

      12\frac{1}{2}21​

    3. C

      56\frac{5}{6}65​

    4. D

      16\frac{1}{6}61​

    Correct answer
    B

    12\frac{1}{2}21​

    Explanation

    The outcomes producing odd = true are 111, 333, and 555. Their total probability is 3⋅16=123\cdot\frac{1}{6}=\frac{1}{2}3⋅61​=21​.

  26. 26

    What is a joint distribution?

    1. A

      A list of all variables that are independent of one another

    2. B

      A separate probability distribution for each individual random variable

    3. C

      A probability assignment only to values that have already been observed

    4. D

      A probability assignment to combinations of values of multiple random variables

    Correct answer
    D

    A probability assignment to combinations of values of multiple random variables

    Explanation

    A joint distribution assigns probabilities to combinations such as sunny and hot, rainy and cold, or foggy and hot.

  27. 27

    What are marginal distributions in relation to a joint distribution?

    1. A

      The distributions that describe causal direction between variables

    2. B

      The distributions obtained by multiplying all joint probabilities together

    3. C

      The distributions over only hidden variables in the model

    4. D

      The distributions of the individual variables that compose the joint distribution

    Correct answer
    D

    The distributions of the individual variables that compose the joint distribution

    Explanation

    The individual distributions for variables such as temperature and weather are marginal distributions of their joint distribution.

  28. 28

    Which relationship between joint and marginal distributions is correct?

    1. A

      A joint distribution can always be reconstructed uniquely from its marginals

    2. B

      Marginals and joint distributions contain exactly the same information in every case

    3. C

      A joint distribution cannot be used to calculate any individual-variable probability

    4. D

      Marginals can be computed from a joint distribution, but marginals alone generally do not determine the joint

    Correct answer
    D

    Marginals can be computed from a joint distribution, but marginals alone generally do not determine the joint

    Explanation

    Summing a joint distribution over variables produces marginals. However, the marginals do not generally reveal how the variables are related, so they do not determine the joint distribution.

  29. 29

    How are possible worlds commonly constructed from random variables?

    1. A

      As probability values assigned to only the observed variables

    2. B

      As subsets containing only the most likely variable values

    3. C

      As assignments of values to all random variables

    4. D

      As functions that map probabilities to random variables

    Correct answer
    C

    As assignments of values to all random variables

    Explanation

    Given random variables and their ranges, each possible world can be represented as one assignment of a value to every variable.

  30. 30

    How many possible worlds are there for two independent six-sided die rolls?

    1. A

      363636

    2. B

      136\frac{1}{36}361​

    3. C

      121212

    4. D

      666

    Correct answer
    A

    363636

    Explanation

    There are 666 possibilities for the first die and 666 for the second, giving 6×6=62=366\times6=6^2=366×6=62=36 possible ordered outcomes.

  31. 31

    If two fair dice are rolled, what is the probability of one particular ordered pair of outcomes?

    1. A

      1조\frac{1}{ 조}조1​

    2. B

      136\frac{1}{36}361​

    3. C

      112\frac{1}{12}121​

    4. D

      16\frac{1}{6}61​

    Correct answer
    B

    136\frac{1}{36}361​

    Explanation

    Each die outcome has probability 16\frac{1}{6}61​, so one particular ordered pair has probability 16×16=136\frac{1}{6}\times\frac{1}{6}=\frac{1}{36}61​×61​=361​.

  32. 32

    If there are nnn variables and each has ddd possible values, how many entries may a full joint distribution require?

    1. A

      d+nd+nd+n

    2. B

      d⋅nd\cdot nd⋅n

    3. C

      ndn^dnd

    4. D

      dnd^ndn

    Correct answer
    D

    dnd^ndn

    Explanation

    Each possible world selects one of ddd values for each of nnn variables, producing dnd^ndn combinations.

  33. 33

    Why is explicitly storing a full joint distribution often infeasible?

    1. A

      Its probabilities cannot be normalized when variables have different ranges

    2. B

      Its number of entries grows exponentially with the number of variables

    3. C

      Its entries are always unknown because random variables are deterministic

    4. D

      Its size grows only linearly, but each entry requires a separate sensor

    Correct answer
    B

    Its number of entries grows exponentially with the number of variables

    Explanation

    A full joint distribution over nnn variables with range size ddd can have dnd^ndn entries, which becomes enormous quickly.

  34. 34

    How are marginal probabilities obtained from a joint-probability table?

    1. A

      By multiplying the entries in the relevant row or column

    2. B

      By dividing every entry by the number of variables

    3. C

      By summing over the values of the variables being ignored

    4. D

      By selecting the largest entry in the relevant row or column

    Correct answer
    C

    By summing over the values of the variables being ignored

    Explanation

    To obtain a marginal, one sums out the variables that are not of interest. For example, the probability of sunny is found by summing over all temperature values paired with sunny.

  35. 35

    What is the conditional probability P(A∣B)P(A\mid B)P(A∣B)?

    1. A

      P(A∩B)P(B)P(A\cap B)P(B)P(A∩B)P(B)

    2. B

      P(A)P(B)\frac{P(A)}{P(B)}P(B)P(A)​

    3. C

      P(A)+P(B)P(A)+P(B)P(A)+P(B)

    4. D

      P(A∩B)P(B)\frac{P(A\cap B)}{P(B)}P(B)P(A∩B)​

    Correct answer
    D

    P(A∩B)P(B)\frac{P(A\cap B)}{P(B)}P(B)P(A∩B)​

    Explanation

    Conditional probability is defined as P(A∣B)=P(A∩B)P(B)P(A\mid B)=\frac{P(A\cap B)}{P(B)}P(A∣B)=P(B)P(A∩B)​, assuming P(B)>0P(B)>0P(B)>0.

  36. 36

    Why does calculating P(A∣B)P(A\mid B)P(A∣B) involve dividing by P(B)P(B)P(B)?

    1. A

      The possible outcomes are restricted to those consistent with BBB, which must be renormalized

    2. B

      The probability of AAA is always smaller than the probability of BBB

    3. C

      The event BBB is removed from the model before evaluating AAA

    4. D

      Division converts a joint distribution into an independent distribution

    Correct answer
    A

    The possible outcomes are restricted to those consistent with BBB, which must be renormalized

    Explanation

    Conditioning focuses attention on the outcomes in which BBB occurs. Dividing by P(B)P(B)P(B) rescales their probabilities so that the restricted set totals 111.

  37. 37

    If P(sunny and cold)=0.15P(\text{sunny and cold})=0.15P(sunny and cold)=0.15 and P(cold)=0.5P(\text{cold})=0.5P(cold)=0.5, what is P(sunny∣cold)P(\text{sunny}\mid\text{cold})P(sunny∣cold)?

    1. A

      0.30.30.3

    2. B

      0.150.150.15

    3. C

      0.350.350.35

    4. D

      0.650.650.65

    Correct answer
    A

    0.30.30.3

    Explanation

    Using P(sunny∣cold)=P(sunny and cold)P(cold)P(\text{sunny}\mid\text{cold})=\frac{P(\text{sunny and cold})}{P(\text{cold})}P(sunny∣cold)=P(cold)P(sunny and cold)​ gives 0.150.5=0.3\frac{0.15}{0.5}=0.30.50.15​=0.3.

  38. 38

    How is a conditional distribution obtained from a portion of a joint distribution?

    1. A

      By discarding the entries associated with the conditioning variable

    2. B

      By normalizing the relevant portion so that its entries sum to 111

    3. C

      By leaving the relevant entries unchanged even if they sum to less than 111

    4. D

      By multiplying the relevant entries by the number of hidden variables

    Correct answer
    B

    By normalizing the relevant portion so that its entries sum to 111

    Explanation

    A slice of a joint distribution usually sums to the probability of the conditioning event rather than 111. Dividing by that sum, or multiplying by its reciprocal, normalizes it.

  39. 39

    What is the product rule for two events?

    1. A

      P(A∩B)=P(A∣B)P(B)P(A\cap B)=\frac{P(A\mid B)}{P(B)}P(A∩B)=P(B)P(A∣B)​

    2. B

      P(A∩B)=P(A)P(B)P(A\cap B)=P(A)P(B)P(A∩B)=P(A)P(B) in every case

    3. C

      P(A∩B)=P(A)+P(B)P(A\cap B)=P(A)+P(B)P(A∩B)=P(A)+P(B)

    4. D

      P(A∩B)=P(B)P(A∣B)P(A\cap B)=P(B)P(A\mid B)P(A∩B)=P(B)P(A∣B)

    Correct answer
    D

    P(A∩B)=P(B)P(A∣B)P(A\cap B)=P(B)P(A\mid B)P(A∩B)=P(B)P(A∣B)

    Explanation

    Rearranging the definition of conditional probability gives P(A∩B)=P(B)P(A∣B)P(A\cap B)=P(B)P(A\mid B)P(A∩B)=P(B)P(A∣B). The unconditional product P(A)P(B)P(A)P(B)P(A)P(B) applies only when the events are independent.

  40. 40

    What happens to an agent's beliefs when new evidence is observed?

    1. A

      The beliefs must remain unchanged because probabilities describe fixed facts

    2. B

      The beliefs are updated by conditioning on the observed evidence

    3. C

      The beliefs become certain regardless of how informative the evidence is

    4. D

      The beliefs are replaced by the probability of the evidence alone

    Correct answer
    B

    The beliefs are updated by conditioning on the observed evidence

    Explanation

    Observing evidence restricts attention to outcomes consistent with that evidence, so beliefs about query variables are updated through conditioning.

  41. 41

    Which sequence correctly describes inference by enumeration from a full joint distribution?

    1. A

      Select evidence-consistent entries, sum out hidden variables, and normalize

    2. B

      Multiply all entries, retain hidden variables, and then select evidence

    3. C

      Normalize first, discard query variables, and multiply the evidence entries

    4. D

      Select the most likely world, sum query variables, and remove evidence

    Correct answer
    A

    Select evidence-consistent entries, sum out hidden variables, and normalize

    Explanation

    Inference by enumeration first retains worlds consistent with the evidence, then sums out hidden variables, and finally normalizes the remaining query probabilities.

  42. 42

    Why must the result be normalized after entries inconsistent with evidence are removed?

    1. A

      Normalization restores the discarded hidden variables explicitly

    2. B

      The remaining probabilities generally sum to less than 111

    3. C

      The remaining probabilities are always negative

    4. D

      Evidence makes all query variables independent

    Correct answer
    B

    The remaining probabilities generally sum to less than 111

    Explanation

    Removing worlds inconsistent with the evidence leaves only a partial distribution. Dividing by its total probability makes the remaining values sum to 111.

  43. 43

    In inference by enumeration, what is done with hidden variables that are neither evidence nor query variables?

    1. A

      Their possible values are summed out

    2. B

      They are assigned their most likely values

    3. C

      They are copied into the final normalized distribution

    4. D

      They are treated as additional evidence

    Correct answer
    A

    Their possible values are summed out

    Explanation

    Hidden variables are relevant to the joint probabilities but are not of direct interest, so inference sums over all their possible values.

  44. 44

    What is the worst-case time complexity of inference by enumeration with respect to hidden variables?

    1. A

      Independent of the ranges of the hidden variables

    2. B

      Constant in the number of hidden variables

    3. C

      Exponential in the number of hidden variables

    4. D

      Linear in the number of hidden variables

    Correct answer
    C

    Exponential in the number of hidden variables

    Explanation

    Enumeration considers combinations of all possible hidden-variable values, so its worst-case computation grows exponentially.

  45. 45

    Why can learning a full joint distribution from data be impractical?

    1. A

      A joint distribution cannot contain probabilities for unobserved combinations

    2. B

      An exponential number of table entries may require an exponential amount of data

    3. C

      Observed data cannot provide evidence about probabilities

    4. D

      The number of required data points decreases as variables are added

    Correct answer
    B

    An exponential number of table entries may require an exponential amount of data

    Explanation

    If the joint table has exponentially many entries, estimating each entry reliably may require exponentially many observations, making data collection infeasible.

  46. 46

    What is Bayes' rule?

    1. A

      P(A∣B)=P(A)P(B)P(A∩B)P(A\mid B)=\frac{P(A)P(B)}{P(A\cap B)}P(A∣B)=P(A∩B)P(A)P(B)​

    2. B

      P(A∣B)=P(A)+P(B)−P(A∩B)P(A\mid B)=P(A)+P(B)-P(A\cap B)P(A∣B)=P(A)+P(B)−P(A∩B)

    3. C

      P(A∣B)=P(B∣A)P(B)P(A\mid B)=P(B\mid A)P(B)P(A∣B)=P(B∣A)P(B)

    4. D

      P(A∣B)=P(B∣A)P(A)P(B)P(A\mid B)=\frac{P(B\mid A)P(A)}{P(B)}P(A∣B)=P(B)P(B∣A)P(A)​

    Correct answer
    D

    P(A∣B)=P(B∣A)P(A)P(B)P(A\mid B)=\frac{P(B\mid A)P(A)}{P(B)}P(A∣B)=P(B)P(B∣A)P(A)​

    Explanation

    Bayes' rule follows from applying the product rule in two directions: P(A∩B)=P(A∣B)P(B)=P(B∣A)P(A)P(A\cap B)=P(A\mid B)P(B)=P(B\mid A)P(A)P(A∩B)=P(A∣B)P(B)=P(B∣A)P(A).

  47. 47

    Why is Bayes' rule useful in practice?

    1. A

      It guarantees that the observed evidence is caused by the hypothesis

    2. B

      It converts an easier conditional probability into a harder one of interest

    3. C

      It eliminates the need to specify prior probabilities

    4. D

      It makes all variables in a model independent

    Correct answer
    B

    It converts an easier conditional probability into a harder one of interest

    Explanation

    Often, P(B∣A)P(B\mid A)P(B∣A) is easier to learn or model than P(A∣B)P(A\mid B)P(A∣B). Bayes' rule uses the former, along with the prior P(A)P(A)P(A) and evidence probability P(B)P(B)P(B), to calculate the latter.

  48. 48

    In Bayes' rule, what does the prior probability P(H)P(H)P(H) represent?

    1. A

      The probability of the data assuming the hypothesis is false

    2. B

      The probability that the hypothesis caused every possible observation

    3. C

      The probability of the hypothesis after all evidence has been incorporated

    4. D

      Belief in the hypothesis before observing the new data

    Correct answer
    D

    Belief in the hypothesis before observing the new data

    Explanation

    The prior probability represents how plausible the hypothesis is before the current evidence is observed.

  49. 49

    In the notation P(D∣H)P(D\mid H)P(D∣H), what does the expression represent?

    1. A

      The prior probability that data DDD will ever be collected

    2. B

      The probability of observing data DDD if hypothesis HHH is true

    3. C

      The probability that DDD and HHH are independent

    4. D

      The probability that hypothesis HHH is true after observing data DDD

    Correct answer
    B

    The probability of observing data DDD if hypothesis HHH is true

    Explanation

    P(D∣H)P(D\mid H)P(D∣H) is the likelihood: the probability of the observed data under the assumption that the hypothesis is true.

  50. 50

    Why must base rates be considered when interpreting evidence?

    1. A

      The likelihood automatically includes the prior probability

    2. B

      A rare hypothesis may remain unlikely even when the evidence is typical under that hypothesis

    3. C

      A common hypothesis always makes every observed outcome more probable

    4. D

      Evidence is irrelevant whenever the prior probability is nonzero

    Correct answer
    B

    A rare hypothesis may remain unlikely even when the evidence is typical under that hypothesis

    Explanation

    Posterior belief depends on both the likelihood and the prior. A rare condition can have a high symptom likelihood while still having a low probability after the symptom is observed.

  51. 51

    Why does a stiff neck not necessarily imply a high probability of meningitis?

    1. A

      Stiff necks never occur in people with meningitis

    2. B

      Meningitis is rare, even though stiff necks are common among people with meningitis

    3. C

      Meningitis is common, but stiff necks are rare among people with meningitis

    4. D

      The probability of meningitis cannot be updated using medical evidence

    Correct answer
    B

    Meningitis is rare, even though stiff necks are common among people with meningitis

    Explanation

    The example gives a very low prior probability for meningitis. Although a stiff neck is likely given meningitis, many more people have stiff necks without meningitis, producing a low posterior probability.

  52. 52

    In the meningitis example, what effect does observing a stiff neck have on the probability of meningitis?

    1. A

      It reduces the probability below its already small prior value

    2. B

      It raises the probability from its prior value but leaves it relatively small

    3. C

      It makes meningitis certain because the symptom is typical of it

    4. D

      It makes the probability equal to the probability of a stiff neck

    Correct answer
    B

    It raises the probability from its prior value but leaves it relatively small

    Explanation

    The example states that the posterior probability is 0.0080.0080.008, which is 808080 times larger than the prior probability of 110,000\frac{1}{10{,}000}10,0001​, but it is still small.

  53. 53

    What is the main error in ignoring base rates when evaluating a hypothesis?

    1. A

      It replaces conditional probabilities with joint probabilities in every calculation

    2. B

      It focuses on how typical the evidence is under a hypothesis while ignoring how common the hypothesis is

    3. C

      It assumes that evidence cannot occur under more than one hypothesis

    4. D

      It treats all hypotheses as impossible before evidence is observed

    Correct answer
    B

    It focuses on how typical the evidence is under a hypothesis while ignoring how common the hypothesis is

    Explanation

    Ignoring base rates means considering only the likelihood of the evidence under a hypothesis and failing to account for the hypothesis's prior probability.

  54. 54

    What does it mean for two variables XXX and YYY to be independent?

    1. A

      P(X∣Y)=P(Y∣X)P(X\mid Y)=P(Y\mid X)P(X∣Y)=P(Y∣X) for all values of XXX and YYY

    2. B

      P(X,Y)=P(X)+P(Y)P(X,Y)=P(X)+P(Y)P(X,Y)=P(X)+P(Y) for all values of XXX and YYY

    3. C

      P(X)=P(Y)P(X)=P(Y)P(X)=P(Y) for all values of XXX and YYY

    4. D

      P(X,Y)=P(X)P(Y)P(X,Y)=P(X)P(Y)P(X,Y)=P(X)P(Y) for all values of XXX and YYY

    Correct answer
    D

    P(X,Y)=P(X)P(Y)P(X,Y)=P(X)P(Y)P(X,Y)=P(X)P(Y) for all values of XXX and YYY

    Explanation

    Independence means that the joint distribution factors into the product of the two marginal distributions: P(X,Y)=P(X)P(Y)P(X,Y)=P(X)P(Y)P(X,Y)=P(X)P(Y).

  55. 55

    Which conditional-probability statement is equivalent to independence of XXX and YYY?

    1. A

      P(X∣Y)=1−P(X)P(X\mid Y)=1-P(X)P(X∣Y)=1−P(X)

    2. B

      P(X∣Y)=P(Y)P(X\mid Y)=P(Y)P(X∣Y)=P(Y)

    3. C

      P(X∣Y)=P(X)P(X\mid Y)=P(X)P(X∣Y)=P(X)

    4. D

      P(X∣Y)=P(X,Y)P(X\mid Y)=P(X,Y)P(X∣Y)=P(X,Y)

    Correct answer
    C

    P(X∣Y)=P(X)P(X\mid Y)=P(X)P(X∣Y)=P(X)

    Explanation

    If observing YYY does not change the probability of XXX, then P(X∣Y)=P(X)P(X\mid Y)=P(X)P(X∣Y)=P(X). This is equivalent to the product definition of independence.

  56. 56

    Why are two successive fair die rolls independent?

    1. A

      The first roll determines the value of the second roll

    2. B

      The two rolls must produce different values

    3. C

      The joint distribution contains only six possible ordered outcomes

    4. D

      The result of the first roll does not change the probability distribution of the second roll

    Correct answer
    D

    The result of the first roll does not change the probability distribution of the second roll

    Explanation

    For independent rolls, observing the first result does not alter the second roll's probability of 16\frac{1}{6}61​ for each face.

  57. 57

    What is the probability of rolling a 555 on the first fair die and a 333 on the second fair die?

    1. A

      112\frac{1}{12}121​

    2. B

      136\frac{1}{36}361​

    3. C

      13\frac{1}{3}31​

    4. D

      16\frac{1}{6}61​

    Correct answer
    B

    136\frac{1}{36}361​

    Explanation

    The rolls are independent, so the joint probability is 16×16=136\frac{1}{6}\times\frac{1}{6}=\frac{1}{36}61​×61​=361​.

  58. 58

    How does independence simplify representation of many random variables?

    1. A

      The joint distribution can be represented using the individual distributions instead of every combination

    2. B

      All variables can be removed because their probabilities are identical

    3. C

      The number of possible values for each variable becomes equal to 111

    4. D

      The joint distribution no longer needs to assign probabilities to any outcomes

    Correct answer
    A

    The joint distribution can be represented using the individual distributions instead of every combination

    Explanation

    For independent variables, the joint distribution factors into individual distributions, avoiding the need to list all combinations explicitly.

  59. 59

    Why is independence especially powerful for representing many coin flips?

    1. A

      The outcome of each flip can be inferred from the previous flip

    2. B

      Every sequence of flips has probability 111

    3. C

      The individual flip distributions replace a table with 2n2^n2n sequence entries

    4. D

      Independence ensures that only one sequence can occur

    Correct answer
    C

    The individual flip distributions replace a table with 2n2^n2n sequence entries

    Explanation

    For nnn independent coin flips, a full table would contain 2n2^n2n sequences, but the joint distribution can instead be specified using the distribution of an individual flip.

  60. 60

    What is conditional independence?

    1. A

      Two variables have identical marginal distributions before any evidence is observed

    2. B

      Two variables are independent only when their joint distribution is uniform

    3. C

      A variable has probability 111 after being conditioned on any event

    4. D

      Two variables become independent after conditioning on a third variable

    Correct answer
    D

    Two variables become independent after conditioning on a third variable

    Explanation

    Conditional independence occurs when knowing one variable provides no additional information about another once a third variable has already been observed.

  61. 61

    In the traffic, rain, and umbrella example, which conditional independence relationship is described?

    1. A

      Traffic and rain are conditionally independent given whether someone has an umbrella

    2. B

      Traffic and umbrella status are conditionally independent given whether it is raining

    3. C

      Rain and umbrella status are unconditionally independent given traffic is unknown

    4. D

      All three variables are mutually independent without conditioning

    Correct answer
    B

    Traffic and umbrella status are conditionally independent given whether it is raining

    Explanation

    Once the rain status is known, observing traffic should not provide additional information about whether someone carries an umbrella, and vice versa.

  62. 62

    Why are the traffic, rain, and umbrella variables not generally independent without conditioning?

    1. A

      Observing one variable can change beliefs about another through their relationships

    2. B

      Independence requires every variable to have a binary range

    3. C

      The variables are all deterministic functions of the same die roll

    4. D

      Each variable has exactly the same probability distribution

    Correct answer
    A

    Observing one variable can change beliefs about another through their relationships

    Explanation

    Rain can influence expectations about traffic and umbrella use, and observing an umbrella can provide evidence about rain. Thus, the variables are generally dependent without conditioning.

  63. 63

    Why is conditional independence important for probabilistic modeling?

    1. A

      It allows complex relationships among many variables to be represented more tractably

    2. B

      It makes every possible world equally likely

    3. C

      It guarantees that all variables can be modeled without any probability values

    4. D

      It eliminates the need to observe evidence variables

    Correct answer
    A

    It allows complex relationships among many variables to be represented more tractably

    Explanation

    Conditional independence allows a large probability model to factor into smaller components, making inference and representation tractable even when many variables are connected.

Question 1 of 63
Question 1 of 63

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent