1. Home
  2. Explore
  3. Statistics
  4. Probabilistic Modeling

Study methods

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

Probabilistic Modeling

  • 60Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Joint Distributions
A joint distribution assigns a probability to every possible
of all the random variables in a model.

60 questions

  1. 1
    A joint distribution assigns a probability to every possible
    _____
    of all the random variables in a model.
    Hint

    Think of specifying a value for every variable at once.

    Answer

    joint assignment

  2. 2
    Knowing the
    _____
    gives complete probabilistic information about the model and allows any inference question to be answered.
    Hint

    It is the distribution over all variables considered together.

    Answer

    joint distribution

  3. 3
    In probabilistic inference, observing some variables can change your belief about
    _____
    .
    Hint

    Evidence updates beliefs about variables that were not observed.

    Answer

    other random variables

  4. 4
    If a model provides the joint distribution, a conditional probability involving its variables can be calculated from the
    _____
    .
    Hint

    It is the complete probability representation needed to derive other probabilities.

    Answer

    joint distribution

  5. 5
    A joint table for nnn binary random variables has 2n2^n2n possible assignments, so its size grows
    _____
    with the number of variables.
    Hint

    Each additional binary variable doubles the number of assignments.

    Answer

    exponentially

  6. 6
    Because all probabilities in a joint distribution sum to one, one entry in a complete joint table can be
    _____
    from the others.
    Hint

    The total probability is fixed at one.

    Answer

    inferred

  7. 7
    A joint table becomes impractical for many variables because the number of entries increases
    _____
    .
    Hint

    The table size is proportional to 2n2^n2n for nnn binary variables.

    Answer

    exponentially

  8. 8
    A Bernoulli random variable has only
    _____
    possible values, whereas visual acuity can be represented with many values.
    Hint

    In the examples, the Bernoulli variable represented a binary outcome.

    Answer

    two

  9. 9
    A dictionary representation of a discrete random variable can map each possible
    _____
    to its probability.
    Hint

    Think of the dictionary key that is used to look up a probability.

    Answer

    assignment

  10. 10
    For a multivalued random variable, inference may require applying Bayes' theorem once for
    _____
    possible values.
    Hint

    The update must account for every state the variable could take.

    Answer

    each

  11. 11
    In Bayes' theorem, the belief before observing evidence is called the
    _____
    .
    Hint

    It is the starting belief before the observation is incorporated.

    Answer

    prior

  12. 12
    In Bayes' theorem, the probability of an observation given a true state is called the
    _____
    .
    Hint

    It describes how compatible the observation is with a particular state.

    Answer

    likelihood

  13. 13
    The belief about a state after incorporating evidence is called the
    _____
    .
    Hint

    It is the updated belief produced by inference.

    Answer

    posterior

  14. 14
    For a multivalued state AAA, Bayes' theorem calculates the posterior by multiplying the likelihood by the
    _____
    and dividing by the evidence probability.
    Hint

    This is the belief about the state before observing evidence.

    Answer

    prior

  15. 15
    A common implementation of multivalued Bayesian updating calculates each unnormalized
    _____
    and then normalizes them.
    Hint

    These are the likelihood-times-prior quantities before division by the shared denominator.

    Answer

    numerator

  16. 16
    Normalizing all Bayesian numerators divides each one by their
    _____
    .
    Hint

    The common denominator is obtained by adding the unnormalized values.

    Answer

    sum

  17. 17
    The normalization shortcut works because its sum over possible states implicitly calculates the denominator using the
    _____
    .
    Hint

    This law adds probabilities over all possible values of the hidden state.

    Answer

    law of total probability

  18. 18
    A Bayesian network represents relationships among random variables using a directed graph based on hypothesized
    _____
    .
    Hint

    The arrows express a proposed direction of influence in how the world works.

    Answer

    causality

  19. 19
    In the example network, the flu was proposed to cause
    _____
    and tiredness.
    Hint

    It is the other symptom shown as an effect of flu.

    Answer

    fever

  20. 20
    In the example network, undergraduate status was proposed as another cause of
    _____
    .
    Hint

    It is the symptom that had both flu and undergraduate status as parents.

    Answer

    tiredness

  21. 21
    Observing a fever can change your belief about having the flu, but the proposed causal direction is from
    _____
    to fever.
    Hint

    The cause in the example is the disease, not the symptom.

    Answer

    flu

  22. 22
    A variable with no incoming arrows has no parents, so its probability is specified without conditioning on other
    _____
    .
    Hint

    A root node's probability is not conditioned on its graphical parents.

    Answer

    variables

  23. 23
    For a node with parents, a Bayesian network specifies the probability of the node's value given the values of its immediate
    _____
    .
    Hint

    These are the nodes with arrows pointing directly into the node.

    Answer

    parents

  24. 24
    For a binary node, specifying the probability that it equals one for a parent assignment is enough, because the probability it equals zero is
    _____
    .
    Hint

    The two possible outcomes' probabilities must add to one.

    Answer

    one minus that probability

  25. 25
    If a binary node has two binary parents, its conditional probability table needs an entry for each of the
    _____
    parent assignments.
    Hint

    Each parent has two possible values, so consider all combinations.

    Answer

    four

  26. 26
    A Bayesian network must be
    _____
    ; a cycle such as undergraduate status causing tiredness and tiredness causing undergraduate status breaks the model structure.
    Hint

    The directed graph must not contain a directed loop.

    Answer

    acyclic

  27. 27
    In the example graph, flu and undergraduate status are treated as
    _____
    because neither has an arrow from the other.
    Hint

    The graph assumes that changing belief about one does not directly change belief about the other.

    Answer

    independent

  28. 28
    Adding more arrows can make a Bayesian network require more probabilities, especially when a node has many
    _____
    .
    Hint

    The number of parent assignments determines the size of that node's conditional table.

    Answer

    parents

  29. 29
    A good causal structure can compress a joint distribution by using the
    _____
    implied by the graph.
    Hint

    These assumptions say that some variables do not directly provide information about others.

    Answer

    independencies

  30. 30
    Adding arrows may improve a model's ability to capture relationships, but too many arrows can make probability estimation harder and may reduce
    _____
    .
    Hint

    The model can perform worse if its many probabilities are difficult to estimate reliably.

    Answer

    accuracy

  31. 31
    A Bayesian network is not limited to binary variables: a variable such as fever or weight can take multiple values or even be
    _____
    .
    Hint

    A continuous variable can take values along a numerical scale.

    Answer

    continuous

  32. 32
    Probabilities in a model can be estimated from collected
    _____
    or supplied as reasonable estimates by experts.
    Hint

    One approach uses observations of people or outcomes to calculate frequencies.

    Answer

    data

  33. 33
    A Bayesian network expresses the joint probability as the product of each variable's probability conditioned on its
    _____
    .
    Hint

    Each factor conditions a node on the values of the nodes with arrows into it.

    Answer

    parents

  34. 34
    To sample from a Bayesian network, first sample the nodes without parents, then sample later nodes conditional on their
    _____
    .
    Hint

    A node's probability depends on the values already assigned to its incoming neighbors.

    Answer

    parents

  35. 35
    A generated sample from the full joint distribution contains a value for
    _____
    random variable in the network.
    Hint

    A joint assignment is complete rather than a value for just one node.

    Answer

    every

  36. 36
    Generating a fake person by sampling all variables from the network is sampling from the joint, not performing
    _____
    .
    Hint

    Inference starts with evidence and updates beliefs about other variables.

    Answer

    inference

  37. 37
    A node with two binary parents needs conditional probabilities for
    _____
    combinations of those parents.
    Hint

    Count every pairing of the two possible values of each parent.

    Answer

    four

  38. 38
    In each row of a conditional probability table for a binary node, the probabilities of the two possible child values must
    _____
    .
    Hint

    The child must take one of its possible values.

    Answer

    sum to one

  39. 39
    In the four-node example, the network was described using
    _____
    probabilities rather than all 161616 entries of the binary joint table.
    Hint

    Count the root probabilities and the conditional entries for their children.

    Answer

    eight

  40. 40
    The number of probabilities needed for a Bayesian network depends strongly on the node with the largest number of
    _____
    .
    Hint

    A node's conditional table grows with the number of variables it conditions on.

    Answer

    parents

  41. 41
    The probability of an assignment to every variable can be obtained by multiplying the probability factors specified by the
    _____
    .
    Hint

    Use the graph's local probabilities conditioned on each node's parents.

    Answer

    Bayesian network

  42. 42
    A conditional probability can be computed as a joint probability in the numerator divided by the probability of the
    _____
    in the condition.
    Hint

    This is the denominator in the definition of conditional probability.

    Answer

    evidence

  43. 43
    When a variable is not specified in the desired probability, its possible values can be summed over using
    _____
    .
    Hint

    This operation removes an unneeded variable by adding over its possible states.

    Answer

    marginalization

  44. 44
    To find the probability of evidence that does not specify whether flu is present, add the joint probabilities for the cases flu equals one and flu equals
    _____
    .
    Hint

    A binary flu variable has two possible values.

    Answer

    zero

  45. 45
    The law of total probability obtains a probability by adding probabilities over
    _____
    cases of a hidden variable.
    Hint

    The cases cannot occur together and collectively cover the possibilities.

    Answer

    mutually exclusive

  46. 46
    If the joint distribution is available, both the numerator and denominator of a conditional inference query can be calculated through joint probabilities and
    _____
    .
    Hint

    Use sums over values that are not fixed in the requested event.

    Answer

    marginalization

  47. 47
    Given nausea and tiredness as evidence, a symptom-checker query could ask for the probability of having the
    _____
    .
    Hint

    This is the disease variable in the example.

    Answer

    flu

  48. 48
    In the dice example, the events that the first die equals one and that the sum equals seven are
    _____
    .
    Hint

    Each possible first-die value has exactly one matching value of the second die that makes the sum seven.

    Answer

    independent

  49. 49
    For two events to be independent, the probability that both occur must equal the product of their
    _____
    probabilities.
    Hint

    Compare the joint probability with the probability of each event separately.

    Answer

    individual

  50. 50
    Two random variables are independent only if the independence equation holds for
    _____
    assignments to their values.
    Hint

    Independence of random variables makes a claim about every possible pair of values.

    Answer

    all

  51. 51
    In the dice example, the events that the first die equals one and the sum equals five are
    _____
    because learning the first die changes the possible sums.
    Hint

    If the first die is known, some totals become more or less plausible.

    Answer

    dependent

  52. 52
    The covariance measures how much two random variables
    _____
    together.
    Hint

    It describes whether changes in one variable tend to accompany changes in the other.

    Answer

    vary

  53. 53
    One definition of covariance uses the expected value of the product of each variable's deviation from its
    _____
    .
    Hint

    The deviation is the value minus its expected value.

    Answer

    mean

  54. 54
    When both variables are above their means, or both are below their means, the product of their deviations is
    _____
    .
    Hint

    The two deviations have the same sign.

    Answer

    positive

  55. 55
    When one variable is above its mean and the other is below its mean, the product of their deviations is
    _____
    .
    Hint

    The two deviations have opposite signs.

    Answer

    negative

  56. 56
    The covariance is the expected value of the products of deviations, so positive and negative contributions can
    _____
    when averaged.
    Hint

    Opposing signs can offset one another.

    Answer

    cancel out

  57. 57
    An equivalent way to calculate covariance is the expected product minus the product of the two
    _____
    .
    Hint

    Each variable contributes its own expected value to the second term.

    Answer

    expectations

  58. 58
    The covariance between liking punk and liking rock in the music example was
    _____
    .
    Hint

    The two tastes tended to vary in the same direction.

    Answer

    positive

  59. 59
    The covariance between liking metal or hard rock and liking pop in the music example was
    _____
    .
    Hint

    A stronger preference for one was associated with a tendency toward a weaker preference for the other.

    Answer

    negative

  60. 60
    Covariance can help suggest structure when designing a Bayesian network from data, but it does not by itself establish a complete
    _____
    story.
    Hint

    Co-variation is not the same as identifying which variable causes another.

    Answer

    causal

1 of 60
Question 1 of 60

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent