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

  • 95Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Probability Foundations
Probability is needed in artificial intelligence because the real world is full of
that cannot always be deduced using logic alone.

95 questions

  1. 1
    Probability is needed in artificial intelligence because the real world is full of
    _____
    that cannot always be deduced using logic alone.
    Hint

    Think about situations in which multiple outcomes are possible.

    Answer

    uncertainty

  2. 2
    The complete collection of every fact about the world is called the
    _____
    of the world.
    Hint

    Search problems assumed that the agent knew its complete current condition.

    Answer

    state

  3. 3
    When an agent observes only some aspects of the world and remains uncertain about the rest, it faces
    _____
    .
    Hint

    The agent has incomplete information about the current state.

    Answer

    partial observability

  4. 4
    A sensor whose observations are not perfectly accurate is described as a
    _____
    sensor.
    Hint

    Radio traffic reports may describe traffic at a different time from the one of interest.

    Answer

    noisy

  5. 5
    Even if all information about the world were available, an agent might be unable to process it because of the practical limitation of
    _____
    .
    Hint

    The problem concerns the enormous amount of data that must be handled.

    Answer

    limited computational resources

  6. 6
    Uncertainty can model not only uncertainty in the world but also an agent's limited ability to
    _____
    the world.
    Hint

    The lecture described probability as summarizing the effects of ignorance and laziness.

    Answer

    comprehend

  7. 7
    An agent's uncertainty about how the world changes over time is illustrated by not knowing exactly whether driving over a nail will cause a tire to
    _____
    .
    Hint

    The example concerned damage to a tire.

    Answer

    puncture

  8. 8
    An agent that chooses the action maximizing utility weighted by the probability of reaching each state is maximizing
    _____
    utility.
    Hint

    The quantity combines utility with probabilities.

    Answer

    expected

  9. 9
    Probabilistic assertions summarize the effects of an agent's
    _____
    and laziness.
    Hint

    One term refers to not knowing everything.

    Answer

    ignorance

  10. 10
    In a decision-making system, probabilities are combined with
    _____
    theory to choose useful actions.
    Hint

    The relevant framework evaluates how desirable outcomes are.

    Answer

    utility

  11. 11
    The set of all possible worlds is denoted by the uppercase Greek letter
    _____
    .
    Hint

    It is commonly used for the outcome space.

    Answer

    Ω\OmegaΩ

  12. 12
    A probability model assigns a numerical
    _____
    to every possible world.
    Hint

    This number represents how likely the world is.

    Answer

    probability

  13. 13
    Every probability assigned to an outcome must be
    _____
    .
    Hint

    Probabilities cannot be less than zero.

    Answer

    non-negative

  14. 14
    The probabilities assigned to all mutually exclusive outcomes must sum to
    _____
    .
    Hint

    The total probability of the entire outcome space represents certainty.

    Answer

    1

  15. 15
    Because probabilities are non-negative and sum to 1, no individual probability can be greater than
    _____
    .
    Hint

    An individual outcome cannot be more likely than certainty.

    Answer

    1

  16. 16
    An outcome is called an atomic possibility because it cannot be divided into
    _____
    outcomes.
    Hint

    Atomic means indivisible in the model.

    Answer

    further

  17. 17
    An event is a
    _____
    of the set of all outcomes.
    Hint

    An event collects one or more outcomes satisfying a condition.

    Answer

    subset

  18. 18
    For a die, the event that the roll is less than 4 contains the outcomes
    _____
    .
    Hint

    Select the die values strictly below 4.

    Answer

    {1, 2, 3}

  19. 19
    For a fair die, the probability of the event that the roll is odd is
    _____
    .
    Hint

    The odd outcomes are 1, 3, and 5.

    Answer

    12\frac{1}{2}21​

  20. 20
    The probability of an event is calculated by summing the probabilities of all
    _____
    belonging to that event.
    Hint

    An event is a set, so add the probabilities of its members.

    Answer

    outcomes

  21. 21
    A random variable is formally a deterministic
    _____
    from outcomes to values.
    Hint

    It takes an outcome as input and produces a value as output.

    Answer

    function

  22. 22
    Random variables are usually denoted using a
    _____
    letter.
    Hint

    Examples include XXX, TTT, and WWW.

    Answer

    capital

  23. 23
    A random variable represents some aspect of the world about which the agent may be
    _____
    .
    Hint

    Its value is not known before the outcome is selected.

    Answer

    uncertain

  24. 24
    The random variable representing whether a die roll is odd has the Boolean range
    _____
    .
    Hint

    A Boolean variable has two logical values.

    Answer

    {true, false}

  25. 25
    The domain of a random variable is always the outcome space, while its range contains the possible
    _____
    of the variable.
    Hint

    For temperature, the range might be hot and cold.

    Answer

    values

  26. 26
    A random variable representing travel time to an airport can have an infinite range such as all values from
    _____
    to infinity.
    Hint

    Travel time cannot be negative.

    Answer

    0

  27. 27
    A random variable representing a ghost's location could have a range consisting of ordered pairs of
    _____
    .
    Hint

    The pairs identify possible positions on a grid.

    Answer

    integers

  28. 28
    The probability distribution of a random variable gives the probability of each value in its
    _____
    .
    Hint

    It lists the possible outputs and their probabilities.

    Answer

    range

  29. 29
    The probability that XXX equals xxx is found by summing the probabilities of all outcomes that the random variable maps to
    _____
    .
    Hint

    Collect every world whose function output is the specified value.

    Answer

    xxx

  30. 30
    For a fair die, the probability that the oddness variable is true is
    _____
    .
    Hint

    Add the probabilities of outcomes 1, 3, and 5.

    Answer

    12\frac{1}{2}21​

  31. 31
    The shorthand P(x)P(x)P(x) can represent the probability associated with the random variable taking the value
    _____
    .
    Hint

    The lowercase symbol denotes a particular value of the uppercase variable.

    Answer

    xxx

  32. 32
    A distribution over two or more random variables that assigns probabilities to every combination of their values is called a
    _____
    distribution.
    Hint

    It describes variables occurring together.

    Answer

    joint

  33. 33
    If temperature has two values and weather has four values, their joint distribution contains
    _____
    possible combinations.
    Hint

    Multiply the number of values in the two ranges.

    Answer

    8

  34. 34
    The distributions of individual variables that make up a joint distribution are called
    _____
    distributions.
    Hint

    They describe one variable while ignoring the others.

    Answer

    marginal

  35. 35
    The marginal distributions can be derived from the
    _____
    distribution, but the joint distribution generally cannot be derived from the marginals alone.
    Hint

    The more complete representation contains the relationships needed to recover the simpler ones.

    Answer

    joint

  36. 36
    A possible world can be constructed as an assignment of a value to every
    _____
    variable.
    Hint

    Temperature and weather together specify one complete assignment.

    Answer

    random

  37. 37
    Two dice rolls produce 626^262 possible worlds, which equals
    _____
    .
    Hint

    There are six choices for each of two dice.

    Answer

    36

  38. 38
    Assuming two fair dice rolls, each of the 36 possible ordered outcomes has probability
    _____
    .
    Hint

    All ordered pairs are equally likely.

    Answer

    136\frac{1}{36}361​

  39. 39
    If there are nnn variables and each has ddd possible values, the number of possible worlds is
    _____
    .
    Hint

    Multiply the range size once for every variable.

    Answer

    dnd^ndn

  40. 40
    The number of possible worlds for a few hundred binary attendance variables is approximately
    _____
    .
    Hint

    Each person either attends or does not attend.

    Answer

    2n2^n2n

  41. 41
    To compute a marginal probability from a joint table, one must sum over the values of variables that are being
    _____
    .
    Hint

    Those variables do not appear in the marginal query.

    Answer

    ignored

  42. 42
    The probability of an event such as hot and sunny is obtained by summing the probabilities of all worlds in which that event is
    _____
    .
    Hint

    Only worlds satisfying the event contribute.

    Answer

    true

  43. 43
    If the joint table gives a probability of 0.45 for hot and sunny, then P(hot and sunny)P(\text{hot and sunny})P(hot and sunny) equals
    _____
    .
    Hint

    Use the table entry for that joint event.

    Answer

    0.45

  44. 44
    If the probability of an event is easier to obtain through its complement, the event probability can be calculated as
    _____
    minus the complement probability.
    Hint

    An event and its complement together cover the entire outcome space.

    Answer

    1

  45. 45
    The marginal probability of sunny is computed by summing all joint probabilities whose weather value is
    _____
    .
    Hint

    Temperature is summed out while the weather value remains fixed.

    Answer

    sunny

  46. 46
    A conditional probability measures the probability of one event given that another event is known to be
    _____
    .
    Hint

    The second event restricts the set of worlds being considered.

    Answer

    true

  47. 47
    The definition of conditional probability is P(a∣b)=P(a and b)/P(b)P(a \mid b)=P(a \text{ and } b)/P(b)P(a∣b)=P(a and b)/P(b), so the denominator is the probability of
    _____
    .
    Hint

    The condition defines the restricted reference set.

    Answer

    bbb

  48. 48
    The probability of cold given rainy is found by dividing the probability of cold and rainy by the probability of
    _____
    .
    Hint

    The denominator names the condition after the vertical bar.

    Answer

    rainy

  49. 49
    To compute P(sunny∣cold)P(\text{sunny} \mid \text{cold})P(sunny∣cold), the denominator is the marginal probability of
    _____
    .
    Hint

    The conditioning value appears after the vertical bar.

    Answer

    cold

  50. 50
    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, then P(sunny∣cold)P(\text{sunny} \mid \text{cold})P(sunny∣cold) equals
    _____
    .
    Hint

    Divide the joint probability by the conditioning probability.

    Answer

    0.3

  51. 51
    A conditional distribution must be normalized so that the probabilities for each fixed condition sum to
    _____
    .
    Hint

    It must satisfy the same total-probability rule as any distribution.

    Answer

    1

  52. 52
    The normalization constant used to rescale a set of values is often written as α=1/\alpha=1/α=1/ the
    _____
    of the entries.
    Hint

    The reciprocal of the total makes the rescaled values add to one.

    Answer

    sum

  53. 53
    The product rule can be written as P(a and b)=P(a∣b)P(b)P(a \text{ and } b)=P(a \mid b)P(b)P(a and b)=P(a∣b)P(b), so a joint probability equals a conditional probability multiplied by a
    _____
    probability.
    Hint

    The second factor is the probability of the condition before observing the first event.

    Answer

    prior

  54. 54
    The probability of hot and rainy can be computed by multiplying P(hot)P(\text{hot})P(hot) by the conditional probability of rainy given
    _____
    .
    Hint

    The condition in the second factor identifies the first event.

    Answer

    hot

  55. 55
    Bayes' rule is obtained by rearranging the definition of
    _____
    probability.
    Hint

    Begin with the quotient involving a joint probability.

    Answer

    conditional

  56. 56
    Bayes' rule is especially useful when the conditional probability in the desired direction is difficult, but the reverse-direction conditional is
    _____
    to obtain.
    Hint

    The rule reverses the direction of conditioning.

    Answer

    easier

  57. 57
    In Bayes' rule, the probability of a hypothesis before observing evidence is called the
    _____
    probability.
    Hint

    It represents the initial belief.

    Answer

    prior

  58. 58
    In the hypothesis-and-data formulation of Bayes' rule, P(data∣hypothesis)P(\text{data} \mid \text{hypothesis})P(data∣hypothesis) is the probability of the
    _____
    given the hypothesis.
    Hint

    This quantity describes how expected the observation would be under the hypothesis.

    Answer

    data

  59. 59
    The denominator in Bayes' rule can be obtained by summing over all possible
    _____
    that are being considered.
    Hint

    This is a marginalization step.

    Answer

    hypotheses

  60. 60
    A joint distribution over several variables can be factored into conditional distributions by repeatedly applying the
    _____
    rule.
    Hint

    This rule expresses a joint probability as a conditional times a marginal.

    Answer

    product

  61. 61
    For an ordered list of variables, each variable after the first is conditioned on all variables that came
    _____
    it.
    Hint

    The factorization follows the chosen ordering.

    Answer

    before

  62. 62
    In the chain-rule factorization, the first variable has an unconditional probability because there are no earlier variables to condition
    _____
    .
    Hint

    The conditioning set is empty for the first factor.

    Answer

    on

  63. 63
    The chain-rule factorization is valid for
    _____
    ordering of the variables.
    Hint

    The order can be selected for convenience.

    Answer

    any

  64. 64
    In probabilistic inference, variables whose values are observed are called
    _____
    variables.
    Hint

    They provide information used to update beliefs.

    Answer

    evidence

  65. 65
    Variables whose values are of interest but are not directly observed are called
    _____
    variables.
    Hint

    The agent is asking about their probabilities.

    Answer

    query

  66. 66
    Variables relevant to the relationships but neither observed nor directly queried are called
    _____
    variables.
    Hint

    They are summed out during inference.

    Answer

    hidden

  67. 67
    The first step of inference by enumeration is to select table entries that are consistent with the
    _____
    .
    Hint

    Discard worlds incompatible with what has been observed.

    Answer

    evidence

  68. 68
    The second step of inference by enumeration is to sum out all
    _____
    variables.
    Hint

    These variables are irrelevant to the final query but may still affect probabilities.

    Answer

    hidden

  69. 69
    After inconsistent worlds are removed and hidden variables are summed out, the remaining values may sum to less than 1 and therefore must be
    _____
    .
    Hint

    Rescale them so they form a valid probability distribution.

    Answer

    normalized

  70. 70
    The worst-case time complexity of inference by enumeration is exponential in the number of
    _____
    variables.
    Hint

    Enumeration considers every combination of their possible values.

    Answer

    hidden

  71. 71
    A full joint distribution over many binary variables requires a number of entries that grows as
    _____
    .
    Hint

    Each of nnn variables has two possible values.

    Answer

    2n2^n2n

  72. 72
    Inference by enumeration is impractical not only because tables are large, but also because filling their entries requires exponentially
    _____
    data.
    Hint

    Each possible outcome may require empirical observations.

    Answer

    many

  73. 73
    Observing new evidence causes an agent's beliefs to be
    _____
    .
    Hint

    Conditioning incorporates newly available information.

    Answer

    updated

  74. 74
    In the meningitis example, the prior probability of meningitis was
    _____
    .
    Hint

    Meningitis was described as very rare.

    Answer

    110000\frac{1}{10000}100001​

  75. 75
    In the same example, the probability of having a stiff neck was
    _____
    .
    Hint

    Stiff necks are much more common than meningitis.

    Answer

    1100\frac{1}{100}1001​

  76. 76
    The probability of a stiff neck given meningitis in the example was
    _____
    .
    Hint

    This was the likelihood of the symptom under the disease hypothesis.

    Answer

    80%

  77. 77
    Despite stiff neck being common among people with meningitis, the posterior probability of meningitis given a stiff neck was only
    _____
    .
    Hint

    Apply Bayes' rule using the stated prior and likelihood.

    Answer

    0.008

  78. 78
    The meningitis example demonstrates that posterior beliefs depend strongly on the prior probabilities, also called
    _____
    rates.
    Hint

    These describe how common an explanation is before observing the evidence.

    Answer

    base

  79. 79
    A symptom being typical of a disease does not by itself imply that the disease is likely, because the disease may have a very low
    _____
    probability.
    Hint

    Consider how common the disease was before observing the symptom.

    Answer

    prior

  80. 80
    The probability of hot given sunny and the probability of cold given sunny were both
    _____
    in the example.
    Hint

    The joint probabilities of hot and sunny and cold and sunny were equal.

    Answer

    50%

  81. 81
    The fact that sunny weather is more typical given hot than given cold does not determine P(hot∣sunny)P(\text{hot} \mid \text{sunny})P(hot∣sunny) without considering the
    _____
    probabilities of hot and cold.
    Hint

    One temperature may be much more common before observing sunshine.

    Answer

    prior

  82. 82
    Two variables are independent when their joint probability equals the
    _____
    of their individual probabilities.
    Hint

    The joint distribution factors into simpler distributions.

    Answer

    product

  83. 83
    An equivalent definition of independence is that observing yyy does not change the probability assigned to
    _____
    .
    Hint

    Use the relationship P(x∣y)=P(x)P(x \mid y)=P(x)P(x∣y)=P(x).

    Answer

    xxx

  84. 84
    For two independent die rolls, observing the first roll does not change the probability distribution of the
    _____
    roll.
    Hint

    The outcome of one roll gives no information about the other.

    Answer

    second

  85. 85
    For two independent fair dice, the probability that roll 1 is 5 and roll 2 is 3 is
    _____
    .
    Hint

    Multiply 1/61/61/6 by 1/61/61/6.

    Answer

    136\frac{1}{36}361​

  86. 86
    Independence makes a joint distribution more compact because it can be represented by the separate
    _____
    distributions.
    Hint

    The full table is replaced by one distribution per independent variable.

    Answer

    individual

  87. 87
    For nnn independent coin flips, it is unnecessary to list all
    _____
    possible sequences in the joint table.
    Hint

    Each flip has two outcomes.

    Answer

    2n2^n2n

  88. 88
    Independence can exponentially reduce the amount of space needed to represent a
    _____
    space.
    Hint

    The number of possible assignments can otherwise grow exponentially.

    Answer

    state

  89. 89
    Although independence is powerful, it is extremely
    _____
    for arbitrary real-world variables.
    Hint

    Many real-world quantities influence one another.

    Answer

    rare

  90. 90
    The more common and useful relationship in complex models is
    _____
    independence.
    Hint

    Variables may become unrelated after another variable is known.

    Answer

    conditional

  91. 91
    Traffic and umbrella status may become independent once the variable representing whether it is
    _____
    is known.
    Hint

    Rain can explain both traffic and umbrella use.

    Answer

    raining

  92. 92
    Conditional independence means that, after conditioning on a third variable, observing one variable does not change beliefs about the
    _____
    variable.
    Hint

    The third variable blocks the relevant informational connection.

    Answer

    other

  93. 93
    In the traffic-rain-umbrella example, no pair of the three variables is unconditionally
    _____
    .
    Hint

    Observing any one can change beliefs about another.

    Answer

    independent

  94. 94
    Conditional independence allows probabilistic models to factor beliefs about many connected variables while keeping inference
    _____
    .
    Hint

    The goal is to avoid exponential computation and storage.

    Answer

    tractable

  95. 95
    Bayesian networks use conditional independence to represent and reason about
    _____
    outcomes.
    Hint

    The networks are designed for probabilistic inference.

    Answer

    uncertain

1 of 95
Question 1 of 95

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent