Probabilistic Modeling
- 60Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
60 questions
- 1A 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
- 2Knowing 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
- 3In probabilistic inference, observing some variables can change your belief about_____.
Hint
Evidence updates beliefs about variables that were not observed.
Answer
other random variables
- 4If 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
- 5A joint table for n binary random variables has 2n possible assignments, so its size grows_____with the number of variables.
Hint
Each additional binary variable doubles the number of assignments.
Answer
exponentially
- 6Because 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
- 7A joint table becomes impractical for many variables because the number of entries increases_____.
Hint
The table size is proportional to 2n for n binary variables.
Answer
exponentially
- 8A 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
- 9A 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
- 10For 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
- 11In Bayes' theorem, the belief before observing evidence is called the_____.
Hint
It is the starting belief before the observation is incorporated.
Answer
prior
- 12In 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
- 13The belief about a state after incorporating evidence is called the_____.
Hint
It is the updated belief produced by inference.
Answer
posterior
- 14For a multivalued state A, 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
- 15A 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
- 16Normalizing all Bayesian numerators divides each one by their_____.
Hint
The common denominator is obtained by adding the unnormalized values.
Answer
sum
- 17The 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
- 18A 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
- 19In 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
- 20In 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
- 21Observing 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
- 22A 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
- 23For 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
- 24For 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
- 25If 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
- 26A 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
- 27In 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
- 28Adding 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
- 29A 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
- 30Adding 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
- 31A 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
- 32Probabilities 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
- 33A 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
- 34To 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
- 35A 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
- 36Generating 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
- 37A 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
- 38In 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
- 39In the four-node example, the network was described using_____probabilities rather than all 16 entries of the binary joint table.
Hint
Count the root probabilities and the conditional entries for their children.
Answer
eight
- 40The 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
- 41The 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
- 42A 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
- 43When 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
- 44To 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
- 45The 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
- 46If 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
- 47Given 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
- 48In 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
- 49For 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
- 50Two 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
- 51In 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
- 52The 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
- 53One 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
- 54When 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
- 55When 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
- 56The 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
- 57An 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
- 58The 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
- 59The 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
- 60Covariance 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

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