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

  • 54Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Joint Distributions

What does a joint distribution provide for a set of random variables?

54 questions

  1. 1

    What does a joint distribution provide for a set of random variables?

    1. A

      The probability of only the assignments observed in a data set

    2. B

      The most likely value of each variable considered separately

    3. C

      The probability of every possible assignment to all the variables together

    4. D

      The causal direction between every pair of variables

    Correct answer
    C

    The probability of every possible assignment to all the variables together

    Explanation

    A joint distribution gives the probability of any specified joint assignment—that is, a choice of value for every random variable in the model.

  2. 2

    Why is a joint distribution described as complete information about a probabilistic model?

    1. A

      It guarantees that every probability in the model is estimated accurately.

    2. B

      It identifies the true causal relationships without any modeling assumptions.

    3. C

      It eliminates the need to specify the possible values of the variables.

    4. D

      It lets you derive probabilities and answer inference questions about the variables.

    Correct answer
    D

    It lets you derive probabilities and answer inference questions about the variables.

    Explanation

    Once the joint probabilities are known, they can be used to calculate other probabilities, including conditional probabilities needed for inference.

  3. 3

    In a probabilistic model, what does inference mean?

    1. A

      Assigning a causal parent to every variable in the model

    2. B

      Updating beliefs about some variables after observing information about others

    3. C

      Estimating each variable's prior probability from a table

    4. D

      Generating a random assignment without observing any evidence

    Correct answer
    B

    Updating beliefs about some variables after observing information about others

    Explanation

    Inference uses observed values of some variables to update beliefs about other variables in the model.

  4. 4

    A binary random variable can take the values zero or one. How many entries are needed to list every joint assignment for nnn such variables?

    1. A

      2n2n2n entries, one for each value of each variable

    2. B

      2n2^n2n entries, one for each joint assignment

    3. C

      n2n^2n2 entries, one for each pair of variables

    4. D

      nnn entries, one for each variable

    Correct answer
    B

    2n2^n2n entries, one for each joint assignment

    Explanation

    Each of the nnn binary variables has two possible values, so there are 2n2^n2n possible joint assignments. One probability can be inferred from the fact that all probabilities sum to one, but the table still has exponential size.

  5. 5

    Why does a joint probability table become impractical as the number of binary variables grows?

    1. A

      The table must include a separate causal diagram for each assignment.

    2. B

      The variables become continuous as soon as there are more than four.

    3. C

      The probabilities cannot be normalized when the variables are dependent.

    4. D

      The number of possible assignments grows exponentially with the number of variables.

    Correct answer
    D

    The number of possible assignments grows exponentially with the number of variables.

    Explanation

    A table for nnn binary variables has 2n2^n2n joint assignments, so its size increases exponentially.

  6. 6

    How can a random variable with many possible values be represented in a computer, as described in the lesson?

    1. A

      With a table containing only the variable's most likely value

    2. B

      With a list of causal parents but no probabilities

    3. C

      With a dictionary mapping each possible value to its probability

    4. D

      With a single Boolean flag indicating whether the variable is observed

    Correct answer
    C

    With a dictionary mapping each possible value to its probability

    Explanation

    A dictionary can map each possible assignment of a random variable to its corresponding probability.

  7. 7

    When updating beliefs about a variable with many possible values using Bayes' theorem, what computational pattern may be required?

    1. A

      Calculate only the likelihood for the most probable value.

    2. B

      Apply the update across the possible values, such as in a loop.

    3. C

      Skip the prior because the variable has more than two values.

    4. D

      Replace the variable with a binary variable before updating.

    Correct answer
    B

    Apply the update across the possible values, such as in a loop.

    Explanation

    When a variable can take many values, the posterior must be updated for each possible value; this can be implemented as a loop applying Bayes' theorem.

  8. 8

    What do the prior, likelihood, and posterior represent in the inference example?

    1. A

      The prior is the initial belief, the likelihood concerns the observation given a state, and the posterior is the updated belief.

    2. B

      The prior is the joint assignment, the likelihood is its normalization, and the posterior is the number of states.

    3. C

      The prior is the causal structure, the likelihood is the final belief, and the posterior is the observed data.

    4. D

      The prior is the observation, the likelihood is the updated belief, and the posterior is the causal structure.

    Correct answer
    A

    The prior is the initial belief, the likelihood concerns the observation given a state, and the posterior is the updated belief.

    Explanation

    Bayes' theorem combines a prior belief with the likelihood of the observation under each possible state to produce an updated posterior belief.

  9. 9

    Why can a program calculate all Bayes' theorem numerators and then normalize them instead of explicitly calculating the denominator for each value?

    1. A

      The denominator is always equal to one before the numerators are calculated.

    2. B

      Normalizing divides each numerator by their sum, which supplies the shared denominator.

    3. C

      The likelihoods already include the posterior probabilities for every value.

    4. D

      Normalization replaces the prior with an equal probability for every value.

    Correct answer
    B

    Normalizing divides each numerator by their sum, which supplies the shared denominator.

    Explanation

    The denominator in Bayes' theorem is the sum of the numerators over all possible states. Normalizing the numerators divides each by that sum, producing the posterior probabilities.

  10. 10

    What is the main purpose of a Bayesian network when modeling many random variables?

    1. A

      To represent only variables that have exactly two possible values

    2. B

      To guarantee that the causal structure is perfectly correct

    3. C

      To replace probabilities with a list of observed cases

    4. D

      To represent a joint distribution compactly using a graph and conditional probabilities

    Correct answer
    D

    To represent a joint distribution compactly using a graph and conditional probabilities

    Explanation

    A Bayesian network uses a graph and probabilities conditioned on parent variables to represent a joint distribution more compactly than a full table can.

  11. 11

    In the WebMD-style example, what is the intended distinction between flu and fever?

    1. A

      Flu and fever are the same variable represented at different levels of detail.

    2. B

      Flu is modeled as a disease that may cause fever, while fever is a symptom.

    3. C

      Fever is modeled as a disease that causes flu, while flu is a symptom.

    4. D

      Flu and fever are both modeled only as prior conditions.

    Correct answer
    B

    Flu is modeled as a disease that may cause fever, while fever is a symptom.

    Explanation

    The example treats flu as a disease and fever as a possible symptom caused by the flu.

  12. 12

    What does an arrow in the Bayesian network convention described in the lesson represent?

    1. A

      A requirement that the parent and child be independent

    2. B

      A hypothesized causal influence from one variable to another

    3. C

      A guarantee that the child variable always equals its parent

    4. D

      A symmetric relationship with no preferred direction

    Correct answer
    B

    A hypothesized causal influence from one variable to another

    Explanation

    An arrow represents a hypothesized causal direction. The associated probabilities may change in either inferential direction, but the causal interpretation of the arrow has a direction.

  13. 13

    Why can observing a fever change a person's probability of having the flu even when the model says flu causes fever?

    1. A

      A fever observation removes the need to use the model's probabilities.

    2. B

      Inference reverses the causal relationship and makes fever cause flu.

    3. C

      Evidence about an effect can update belief about its possible cause.

    4. D

      The arrow means fever and flu must have identical probabilities.

    Correct answer
    C

    Evidence about an effect can update belief about its possible cause.

    Explanation

    Causality is represented in one direction, but probabilistic inference can proceed in either direction: observing a symptom can provide evidence about its possible cause.

  14. 14

    What information must be specified for a node with no parents in a Bayesian network?

    1. A

      The probability that it causes each of its descendants

    2. B

      Its probability distribution without conditioning on other nodes

    3. C

      Only the probability of its least likely value

    4. D

      Its probability distribution conditioned on every node in the network

    Correct answer
    B

    Its probability distribution without conditioning on other nodes

    Explanation

    A node with no parents is specified by its own probability distribution, since there are no parent values on which to condition.

  15. 15

    What information must be specified for a node that has parents?

    1. A

      Only its overall probability, regardless of parent values

    2. B

      Its probability distribution for every possible assignment to its parents

    3. C

      One probability for each descendant in the graph

    4. D

      The probability distribution of its parents given its own value

    Correct answer
    B

    Its probability distribution for every possible assignment to its parents

    Explanation

    For each possible assignment to a node's parents, the network specifies the node's probability distribution conditional on that assignment.

  16. 16

    A binary child node has two binary parents. How many parent assignments must its conditional probability table cover?

    1. A

      Eight assignments, since there are three binary nodes

    2. B

      Four assignments, since the two parents have four joint value combinations

    3. C

      Two assignments, since the child has two possible values

    4. D

      Six assignments, one for each value of the three nodes

    Correct answer
    B

    Four assignments, since the two parents have four joint value combinations

    Explanation

    Two binary parents have 22=42^2=422=4 possible joint assignments. The conditional probability table must give the child’s distribution for each one.

  17. 17

    For a binary node, why is it enough to specify the probability that the node equals one for each parent assignment?

    1. A

      The probability of zero can be omitted because the parent assignments sum to one.

    2. B

      The probability that it equals zero is one minus the probability that it equals one.

    3. C

      A binary node can take only the value specified by its parents.

    4. D

      The probability that it equals zero is always equal to the probability that it equals one.

    Correct answer
    B

    The probability that it equals zero is one minus the probability that it equals one.

    Explanation

    For each fixed parent assignment, the probabilities of the two possible values sum to one. Thus, one of the two probabilities determines the other.

  18. 18

    Why does adding more parents to a node tend to increase the size of a Bayesian network's probability specification?

    1. A

      The network must list every possible joint assignment in a full table.

    2. B

      The network must specify the node's distribution for more parent-value combinations.

    3. C

      Each new parent adds a new possible value to every other node.

    4. D

      Each new parent requires the child to have a separate causal direction.

    Correct answer
    B

    The network must specify the node's distribution for more parent-value combinations.

    Explanation

    With binary parents, a node with kkk parents has 2k2^k2k possible parent assignments, so its conditional table grows exponentially in the number of parents.

  19. 19

    What trade-off arises when deciding whether to add more arrows to a Bayesian network?

    1. A

      Adding arrows changes the variables' possible values but not the model's size.

    2. B

      Fewer arrows require more probabilities but guarantee a better fit.

    3. C

      More arrows always make the model both simpler and more accurate.

    4. D

      More arrows can represent more relationships but require estimating more probabilities.

    Correct answer
    D

    More arrows can represent more relationships but require estimating more probabilities.

    Explanation

    Additional arrows allow the model to represent more dependencies, but they also increase the number of conditional probabilities to estimate. More complex models are not automatically more accurate.

  20. 20

    Why should a Bayesian network be acyclic?

    1. A

      Every node must have exactly one parent and one child.

    2. B

      The model's causal structure must not contain directed cycles.

    3. C

      A cycle would make all variables independent of one another.

    4. D

      Acyclic graphs are required only when variables are binary.

    Correct answer
    B

    The model's causal structure must not contain directed cycles.

    Explanation

    The described network structure must be acyclic; for example, it cannot have one variable cause a second variable that in turn causes the first.

  21. 21

    How do arrows in a Bayesian network allow a model to use fewer probabilities than a full joint table?

    1. A

      They remove the need to specify probabilities for variables with parents.

    2. B

      They ensure that the probabilities for all joint assignments are equal.

    3. C

      They replace every conditional probability with a deterministic rule.

    4. D

      They encode conditional independence assumptions that let the joint be factored.

    Correct answer
    D

    They encode conditional independence assumptions that let the joint be factored.

    Explanation

    The graph encodes assumptions about which variables do not directly affect one another. These implied independencies allow the joint distribution to be represented with fewer probabilities.

  22. 22

    In the example network, what independence is implied by having no arrow or modeled connection between flu and undergraduate status?

    1. A

      The model assumes that both variables are independent of every symptom.

    2. B

      The model assumes that flu status and undergraduate status always match.

    3. C

      The model assumes that undergraduate status determines whether someone has the flu.

    4. D

      The model assumes that knowing flu status does not change belief about undergraduate status.

    Correct answer
    D

    The model assumes that knowing flu status does not change belief about undergraduate status.

    Explanation

    The example uses the graph to encode the assumption that flu does not change belief about undergraduate status, and vice versa.

  23. 23

    Which statement best describes the role of causal structure in building a Bayesian network?

    1. A

      It eliminates the need to choose or estimate any probabilities.

    2. B

      It proves that all proposed causal relationships are universally correct.

    3. C

      It requires modeling every possible relationship between every pair of variables.

    4. D

      It provides a useful approximation of how variables relate, even though the real world may be more complex.

    Correct answer
    D

    It provides a useful approximation of how variables relate, even though the real world may be more complex.

    Explanation

    The lesson emphasizes modeling broad causal relationships rather than every possible connection. Such models can be useful even though their causal assumptions may not capture every detail.

  24. 24

    Can a Bayesian network include a variable that is not binary?

    1. A

      No; nonbinary variables can appear only in a full joint table.

    2. B

      No; every variable in a Bayesian network must be zero or one.

    3. C

      Yes; a variable can have multiple categories or even a continuous value.

    4. D

      Yes, but only if it has no parents in the graph.

    Correct answer
    C

    Yes; a variable can have multiple categories or even a continuous value.

    Explanation

    The lesson notes that variables may take multiple categorical values or continuous values; binary variables were used initially for simplicity.

  25. 25

    What is the defining idea of the generative story for a Bayesian network?

    1. A

      Generate every variable independently, then add causal labels afterward.

    2. B

      Generate parent variables first, then generate child variables conditioned on their parents.

    3. C

      Generate observations first, then infer the values of all parent variables.

    4. D

      Generate only the most likely joint assignment and treat it as the model.

    Correct answer
    B

    Generate parent variables first, then generate child variables conditioned on their parents.

    Explanation

    A Bayesian network describes a process in which variables are generated in an order that respects the graph: parents are sampled first, and children are sampled using their parents' values.

  26. 26

    In the four-variable example, what does sampling a complete assignment from the joint mean?

    1. A

      Producing values for flu, undergraduate status, fever, and tiredness together

    2. B

      Updating the probability of flu after observing fever and tiredness

    3. C

      Choosing only the most likely value of each variable

    4. D

      Selecting values for symptoms while leaving the causes unspecified

    Correct answer
    A

    Producing values for flu, undergraduate status, fever, and tiredness together

    Explanation

    A sample from the joint is a complete assignment: it gives a value to every random variable in the model.

  27. 27

    When a program samples a fever value after sampling flu status, how should it use the network?

    1. A

      Use the fever distribution conditioned on the sampled flu value.

    2. B

      Choose fever to be the opposite of the sampled flu value.

    3. C

      Use the sampled tiredness value, which has not yet been generated.

    4. D

      Use the unconditional fever probability and ignore the sampled flu value.

    Correct answer
    A

    Use the fever distribution conditioned on the sampled flu value.

    Explanation

    The fever node has flu as a parent, so its value is sampled from the conditional distribution corresponding to the flu value already sampled.

  28. 28

    Is generating a fake person from a Bayesian network the same task as inference from a patient's reported symptoms?

    1. A

      No; generation calculates conditional probabilities, while inference ignores the joint.

    2. B

      Yes; both tasks simply select the most likely disease.

    3. C

      No; generation samples from the joint, while inference updates beliefs using observed evidence.

    4. D

      Yes; both tasks require setting every unobserved variable to zero.

    Correct answer
    C

    No; generation samples from the joint, while inference updates beliefs using observed evidence.

    Explanation

    Sampling produces complete assignments from the joint without evidence. Inference instead uses observed variables, such as reported symptoms, to update beliefs about other variables.

  29. 29

    How does a Bayesian network calculate the probability of a complete assignment?

    1. A

      Add the marginal probabilities of all the variables in the assignment.

    2. B

      Divide each variable's probability by the number of nodes.

    3. C

      Multiply each variable's probability conditioned on its parent values.

    4. D

      Multiply only the probabilities of variables with no parents.

    Correct answer
    C

    Multiply each variable's probability conditioned on its parent values.

    Explanation

    The network factors the probability of a complete assignment into the product of each node's probability conditioned on its parents' assigned values.

  30. 30

    What makes the sampling procedure described in the lesson a way to represent the joint distribution?

    1. A

      It lists every possible assignment exactly once, regardless of its probability.

    2. B

      It returns only the assignments in which every variable equals one.

    3. C

      It produces complete assignments with frequencies governed by the network's probabilities.

    4. D

      It samples each variable independently, regardless of the graph.

    Correct answer
    C

    It produces complete assignments with frequencies governed by the network's probabilities.

    Explanation

    The network's generative procedure samples complete assignments according to the specified probabilities, so it provides a way to sample from the joint distribution.

  31. 31

    Where can the probabilities used in a Bayesian network come from?

    1. A

      They can come only from a complete joint table of all variables.

    2. B

      They must be derived from the arrows without using data or judgment.

    3. C

      They must be set to equal values for every possible assignment.

    4. D

      They can be estimated from data or supplied as reasonable expert judgments.

    Correct answer
    D

    They can be estimated from data or supplied as reasonable expert judgments.

    Explanation

    The lesson describes two sources: probabilities may be estimated from collected data or provided as reasonable assumptions by experts.

  32. 32

    Why can estimating the probabilities in a Bayesian network be easier than estimating a full joint table?

    1. A

      The network may require estimating far fewer probabilities than the exponentially large table.

    2. B

      The network requires probabilities only for the root nodes.

    3. C

      The network removes the need to estimate probabilities for observed variables.

    4. D

      The network makes every probability equal, so no estimation is needed.

    Correct answer
    A

    The network may require estimating far fewer probabilities than the exponentially large table.

    Explanation

    A full table for many binary variables grows exponentially, whereas a network with a suitable sparse structure can require far fewer probabilities to estimate.

  33. 33

    Why should a user be cautious about probabilities supplied by an expert?

    1. A

      They may be judgments or assumptions rather than values measured directly from data.

    2. B

      They cannot be used in conditional probability calculations.

    3. C

      They necessarily make the network cyclic.

    4. D

      They always imply that every variable is independent.

    Correct answer
    A

    They may be judgments or assumptions rather than values measured directly from data.

    Explanation

    The lesson notes that experts may supply reasonable guesses, but such values are assumptions and should be treated with appropriate caution.

  34. 34

    How can a joint distribution be used to calculate a conditional probability?

    1. A

      Divide the probability of the evidence by the joint probability of the query.

    2. B

      Divide the joint probability of the queried event and evidence by the probability of the evidence.

    3. C

      Add the joint probabilities of the queried event and evidence.

    4. D

      Multiply the probability of the query by the probability of the evidence.

    Correct answer
    B

    Divide the joint probability of the queried event and evidence by the probability of the evidence.

    Explanation

    By the definition of conditional probability, the probability of a query given evidence is the probability of their joint occurrence divided by the probability of the evidence.

  35. 35

    If the denominator of a conditional probability omits a variable, how can it be computed from the joint distribution?

    1. A

      Delete all joint assignments that include the omitted variable.

    2. B

      Multiply the numerator by the number of values the variable can take.

    3. C

      Set the omitted variable to zero and use only that assignment.

    4. D

      Sum over the possible values of the omitted variable.

    Correct answer
    D

    Sum over the possible values of the omitted variable.

    Explanation

    Marginalization sums the joint probabilities over the possible values of a variable that is not included in the desired probability.

  36. 36

    In an inference problem with a binary query variable, how can the probability of the evidence alone be calculated from the joint?

    1. A

      Subtract the query's prior probability from the joint probability of the evidence.

    2. B

      Add the joint probability of the evidence with the query equal to one to the probability with it equal to zero.

    3. C

      Use only the joint probability of the evidence with the query equal to one.

    4. D

      Multiply the two joint probabilities for the query's possible values.

    Correct answer
    B

    Add the joint probability of the evidence with the query equal to one to the probability with it equal to zero.

    Explanation

    The two cases for a binary query variable are mutually exclusive and cover all possibilities. Adding their joint probabilities gives the probability of the evidence alone.

  37. 37

    What does marginalization accomplish in probabilistic inference?

    1. A

      It changes a joint distribution into a uniform distribution.

    2. B

      It selects the single most probable value of every hidden variable.

    3. C

      It converts every conditional probability into a causal arrow.

    4. D

      It sums over values of variables that are not part of the probability being requested.

    Correct answer
    D

    It sums over values of variables that are not part of the probability being requested.

    Explanation

    Marginalization obtains a probability over a smaller set of variables by summing the joint probabilities over the values of the variables being left out.

  38. 38

    Why can a complete joint distribution answer many different inference questions?

    1. A

      The joint directly lists every possible conditional probability without calculation.

    2. B

      The joint identifies which observations are causal and which are irrelevant.

    3. C

      The joint guarantees that every inference question has a unique most likely answer.

    4. D

      The joint can supply the needed numerators and denominators through conditioning and marginalization.

    Correct answer
    D

    The joint can supply the needed numerators and denominators through conditioning and marginalization.

    Explanation

    A joint distribution provides the probabilities needed to form conditional probabilities, while marginalization supplies probabilities over subsets of variables.

  39. 39

    What is the role of the law of total probability when calculating a probability that omits a variable?

    1. A

      It replaces each conditional probability with its complement.

    2. B

      It expresses the desired probability as a sum over the possible cases for that variable.

    3. C

      It shows that the omitted variable must be independent of the others.

    4. D

      It allows a probability to be calculated without considering any joint assignments.

    Correct answer
    B

    It expresses the desired probability as a sum over the possible cases for that variable.

    Explanation

    The law of total probability partitions the calculation into mutually exclusive cases for the omitted variable and adds the probabilities of those cases.

  40. 40

    For events AAA and BBB, which condition defines independence?

    1. A

      P(A)=P(B)P(A)=P(B)P(A)=P(B)

    2. B

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

    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(A)+P(B)P(A \cap B)=P(A)+P(B)P(A∩B)=P(A)+P(B)

    Correct answer
    C

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

    Explanation

    Two events are independent when the probability that both occur equals the product of their individual probabilities.

  41. 41

    What additional requirement applies when claiming that two random variables are independent?

    1. A

      They must have the same set of possible values.

    2. B

      Their values must always change in opposite directions.

    3. C

      Their expected values must be equal.

    4. D

      The independence equation must hold for every possible pair of their values.

    Correct answer
    D

    The independence equation must hold for every possible pair of their values.

    Explanation

    Independence of random variables is a stronger claim than independence for one pair of events: the defining relationship must hold for every assignment of values to the variables.

  42. 42

    In the dice example, why can the event that die one shows one be independent of the event that the sum is seven?

    1. A

      The probability of a seven is zero regardless of the dice outcomes.

    2. B

      For each value of the first die, exactly one value of the second die makes the sum seven.

    3. C

      The first die determines the sum, so the events always occur together.

    4. D

      The sum is seven only when the first die shows six.

    Correct answer
    B

    For each value of the first die, exactly one value of the second die makes the sum seven.

    Explanation

    The first die showing one has probability 1/61/61/6, the sum being seven has probability 6/36=1/66/36=1/66/36=1/6, and their joint probability is 1/361/361/36. This equals the product of the individual probabilities.

  43. 43

    Why are the events “die one shows one” and “the sum is five” dependent?

    1. A

      The outcome of the first die is determined by the sum being five.

    2. B

      A sum of five is impossible when the first die shows one.

    3. C

      The two events have equal probabilities, which rules out independence.

    4. D

      Knowing the first die is one changes the possible outcomes that can produce a sum of five.

    Correct answer
    D

    Knowing the first die is one changes the possible outcomes that can produce a sum of five.

    Explanation

    The value of the first die affects which second-die outcomes yield a sum of five, so information about the first die changes belief about the sum.

  44. 44

    If one particular pair of events involving two random variables is independent, what can be concluded about the variables themselves?

    1. A

      The random variables are dependent for all possible values.

    2. B

      The random variables must have equal marginal probabilities.

    3. C

      That pair alone is insufficient; independence must hold for every value assignment.

    4. D

      The random variables are independent for all possible values.

    Correct answer
    C

    That pair alone is insufficient; independence must hold for every value assignment.

    Explanation

    A single pair of events can be independent even when the random variables are not independent. Independence of the variables requires the condition to hold for all value assignments.

  45. 45

    What does it mean intuitively for two random variables to be independent?

    1. A

      Knowing the value of one does not provide information about the other.

    2. B

      The variables always take the same value at the same time.

    3. C

      Neither variable can be affected by any other variable.

    4. D

      The variables must vary in opposite directions.

    Correct answer
    A

    Knowing the value of one does not provide information about the other.

    Explanation

    Independence means that learning the value of one variable does not change beliefs about the other.

  46. 46

    What does covariance measure?

    1. A

      The probability that two random variables take identical values

    2. B

      How two random variables tend to vary together relative to their means

    3. C

      The number of possible joint assignments for two variables

    4. D

      The causal effect of one random variable on another

    Correct answer
    B

    How two random variables tend to vary together relative to their means

    Explanation

    Covariance summarizes whether deviations of two variables from their respective means tend to occur together.

  47. 47

    For an observed pair of values, when does the product of their deviations from their means contribute a positive value?

    1. A

      When both values are above their means or both are below their means

    2. B

      When one value is above its mean and the other is below its mean

    3. C

      Whenever either value is exactly equal to its mean

    4. D

      Only when both values are exactly equal to their means

    Correct answer
    A

    When both values are above their means or both are below their means

    Explanation

    If both deviations have the same sign, their product is positive: two positive deviations or two negative deviations yield a positive product.

  48. 48

    When does the product of deviations from the means contribute a negative value?

    1. A

      When one value is above its mean and the other is below its mean

    2. B

      When both values are below their means

    3. C

      When both values are above their means

    4. D

      When both values equal their means

    Correct answer
    A

    When one value is above its mean and the other is below its mean

    Explanation

    Deviations with opposite signs have a negative product, so one variable being above its mean while the other is below contributes negatively.

  49. 49

    How is covariance described in terms of deviations from the means?

    1. A

      As the product of the two variables' most likely values

    2. B

      As the expected sum of the two variables' deviations from their means

    3. C

      As the difference between the variables' possible value ranges

    4. D

      As the expected product of the two variables' deviations from their means

    Correct answer
    D

    As the expected product of the two variables' deviations from their means

    Explanation

    Covariance is the expectation of the product (X−E[X])(Y−E[Y])(X-E[X])(Y-E[Y])(X−E[X])(Y−E[Y]), which aggregates the signed contributions across possible paired values.

  50. 50

    Which expression is an equivalent way to calculate covariance?

    1. A

      Cov⁡(X,Y)=E[XY]/(E[X]E[Y])\operatorname{Cov}(X,Y)=E[XY]/(E[X]E[Y])Cov(X,Y)=E[XY]/(E[X]E[Y])

    2. B

      Cov⁡(X,Y)=E[X]E[Y]+E[XY]\operatorname{Cov}(X,Y)=E[X]E[Y]+E[XY]Cov(X,Y)=E[X]E[Y]+E[XY]

    3. C

      Cov⁡(X,Y)=E[XY]−E[X]E[Y]\operatorname{Cov}(X,Y)=E[XY]-E[X]E[Y]Cov(X,Y)=E[XY]−E[X]E[Y]

    4. D

      Cov⁡(X,Y)=E[X]+E[Y]−E[XY]\operatorname{Cov}(X,Y)=E[X]+E[Y]-E[XY]Cov(X,Y)=E[X]+E[Y]−E[XY]

    Correct answer
    C

    Cov⁡(X,Y)=E[XY]−E[X]E[Y]\operatorname{Cov}(X,Y)=E[XY]-E[X]E[Y]Cov(X,Y)=E[XY]−E[X]E[Y]

    Explanation

    The lesson gives the computational identity Cov⁡(X,Y)=E[XY]−E[X]E[Y]\operatorname{Cov}(X,Y)=E[XY]-E[X]E[Y]Cov(X,Y)=E[XY]−E[X]E[Y] as an equivalent form of the expected product of deviations.

  51. 51

    How can covariance be calculated from paired observations using the expression E[XY]−E[X]E[Y]E[XY]-E[X]E[Y]E[XY]−E[X]E[Y]?

    1. A

      Find the difference between each pair, then multiply the separate means.

    2. B

      Find the product of all paired values, then add the separate means.

    3. C

      Find the separate means, then divide their sum by the number of pairs.

    4. D

      Find the mean of the products, then subtract the product of the separate means.

    Correct answer
    D

    Find the mean of the products, then subtract the product of the separate means.

    Explanation

    The calculation requires the average of the pairwise products, E[XY]E[XY]E[XY], and the product of the two individual averages, E[X]E[Y]E[X]E[Y]E[X]E[Y]; subtract the latter from the former.

  52. 52

    A scatterplot has positive and negative deviation products that largely cancel. What does the lesson suggest about its covariance?

    1. A

      It cannot be calculated without a causal graph.

    2. B

      It will be strongly positive.

    3. C

      It will be strongly negative.

    4. D

      It will be close to zero.

    Correct answer
    D

    It will be close to zero.

    Explanation

    When positive and negative contributions largely cancel in the average, the covariance is close to zero.

  53. 53

    What did the music-preference covariance example suggest about people who like metal?

    1. A

      Metal preference was shown to be independent of both rock and pop.

    2. B

      Metal preference covaried positively with rock and negatively with pop.

    3. C

      Metal preference caused people to dislike every other music genre.

    4. D

      Metal preference covaried negatively with rock and positively with pop.

    Correct answer
    B

    Metal preference covaried positively with rock and negatively with pop.

    Explanation

    The example described metal and hard rock as having high positive covariance with rock, and metal or hard rock as having negative covariance with pop.

  54. 54

    How can covariance help when designing a probabilistic model from data?

    1. A

      It proves the direction of causality between every pair of variables.

    2. B

      It guarantees that variables with zero covariance are independent.

    3. C

      It supplies the complete joint distribution without additional probabilities.

    4. D

      It can indicate which variables vary together and provide clues for model structure.

    Correct answer
    D

    It can indicate which variables vary together and provide clues for model structure.

    Explanation

    Covariance is a useful statistic for identifying variables that vary together and can inform the process of designing a model. By itself, it does not provide a complete causal story.

Question 1 of 54
Question 1 of 54

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent