Introduction to Bayesian Inference
- 33Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
In Bayes’ theorem for mutually exclusive and exhaustive events A1,…,AN, what does the denominator represent when calculating P(A1∣B)?
In Bayes’ theorem for mutually exclusive and exhaustive events A1,…,AN, what does the denominator represent when calculating P(A1∣B)?
33 questions
- 1
In Bayes’ theorem for mutually exclusive and exhaustive events A1,…,AN, what does the denominator represent when calculating P(A1∣B)?
- A
The probability of A1 multiplied by the probability of B
- B
The product of P(B∣Ai) over all possible events Ai
- C
The sum of P(Ai∣B) over only events that favor A1
- D
The sum of P(B∣Ai)P(Ai) over all possible events Ai
Correct answer
DThe sum of P(B∣Ai)P(Ai) over all possible events Ai
Explanation
The denominator is the total probability of observing B, calculated by summing P(B∣Ai)P(Ai) across the mutually exclusive and exhaustive possibilities.
- A
- 2
Why must the events A1,…,AN be exhaustive when applying the stated form of Bayes’ theorem?
- A
They must each make B equally likely
- B
They must all have the same prior probability
- C
They must be independent of one another
- D
They must cover every possible case relevant to B
Correct answer
DThey must cover every possible case relevant to B
Explanation
The denominator sums across the possible events, so the events must collectively cover every case that could account for B.
- A
- 3
In statistical inference, what plays the role of the observed evidence in Bayes’ theorem?
- A
The data collected in the experiment
- B
The assumed probability model alone
- C
The unknown parameter’s prior distribution
- D
The model’s predicted future observations
Correct answer
AThe data collected in the experiment
Explanation
The observed data, often denoted x, is the evidence used to update beliefs about the model’s unknown parameter.
- A
- 4
Given an assumed model f(x∣θ) and observed data, what is the immediate inferential target described in the lecture?
- A
The exact underlying process with no remaining uncertainty
- B
The distribution of all possible datasets regardless of the model
- C
The distribution of plausible parameter values given the data
- D
The probability that the observed data will be collected again
Correct answer
CThe distribution of plausible parameter values given the data
Explanation
The goal is to infer the parameter’s distribution conditional on the observed data, which expresses uncertainty about parameter values.
- A
- 5
Which statement best describes the relationship between an assumed probability model and the true generative process?
- A
The assumed model guarantees that the true process has been identified
- B
The assumed model eliminates the need to examine data
- C
The true process is observed directly whenever a sample is collected
- D
The assumed model is used to infer properties of a process that is not directly known
Correct answer
DThe assumed model is used to infer properties of a process that is not directly known
Explanation
The true generative process is not directly known; an assumed model provides a way to infer its properties from observed data.
- A
- 6
Why does a limited sample generally leave uncertainty about a parameter such as θ?
- A
The likelihood is always identical for every possible parameter value
- B
Different parameter values may plausibly generate the same observed sample
- C
A parameter can only be inferred when every population member is observed
- D
A sample contains no information about the population parameter
Correct answer
BDifferent parameter values may plausibly generate the same observed sample
Explanation
A finite sample may be compatible with multiple parameter values, although some values can be more plausible than others.
- A
- 7
How does the Bayesian treatment of a parameter differ from the frequentist point-value treatment described in the lecture?
- A
Bayesian inference treats the parameter as a random variable with a distribution
- B
Bayesian inference treats the data as fixed and the parameter as necessarily constant
- C
Bayesian inference replaces the parameter with the observed sample
- D
Bayesian inference assumes the parameter is known before collecting data
Correct answer
ABayesian inference treats the parameter as a random variable with a distribution
Explanation
The lecture contrasts a Bayesian parameter distribution with the frequentist approach often described as estimating a point value.
- A
- 8
A point estimate selects θ=0.6, but θ=0.5 also plausibly explains the data. What information would reporting only the point estimate discard?
- A
The assumed functional form of the likelihood
- B
The total number of possible observations
- C
The fact that the data were observed rather than predicted
- D
The possibility that other parameter values also plausibly generated the data
Correct answer
DThe possibility that other parameter values also plausibly generated the data
Explanation
A single estimate suppresses uncertainty about alternative parameter values that remain compatible with the observed data.
- A
- 9
What does the posterior distribution communicate that a single estimate of θ cannot communicate by itself?
- A
Whether the data were collected from a population
- B
Which parameter values are more or less plausible after observing the data
- C
Which observations must occur in the next sample
- D
The exact parameter value that generated every observation
Correct answer
BWhich parameter values are more or less plausible after observing the data
Explanation
The posterior assigns relative plausibility across parameter values, retaining uncertainty rather than reducing inference to one point.
- A
- 10
Why is the posterior distribution conditional on the observed data?
- A
The parameter distribution cannot be defined until the data are discarded
- B
Every possible dataset produces the same parameter distribution
- C
The posterior is calculated only from the model and never from the observations
- D
Different observed datasets can lead to different updated distributions for the parameter
Correct answer
DDifferent observed datasets can lead to different updated distributions for the parameter
Explanation
The posterior incorporates information from the observed dataset, so different data can produce different posterior distributions.
- A
- 11
For fixed observed data x, how does P(x∣θ) vary when used to assess different possible parameter values?
- A
It is constant across all values of θ by definition
- B
It varies across new datasets while θ remains unknown and unchanged
- C
It is evaluated across values of θ while the observed x remains fixed
- D
It is evaluated only at the single best-fitting value of θ
Correct answer
CIt is evaluated across values of θ while the observed x remains fixed
Explanation
For likelihood calculations, the observed data are fixed and the quantity is evaluated at different candidate values of θ.
- A
- 12
What is the likelihood function in this setting?
- A
A probability distribution over possible observations, normalized across θ
- B
The value of the data model, viewed as a function of θ for fixed observed data
- C
The probability of the parameter after averaging over all datasets
- D
The prior distribution of θ before any data are observed
Correct answer
BThe value of the data model, viewed as a function of θ for fixed observed data
Explanation
The likelihood is P(x∣θ) viewed as a function of θ with the observed data x held fixed.
- A
- 13
Why is a likelihood function not necessarily a probability distribution over parameter values?
- A
It is always calculated without using observed data
- B
It must have the same value at every parameter value
- C
It is not generally normalized across values of θ
- D
It assigns probabilities only to future observations
Correct answer
CIt is not generally normalized across values of θ
Explanation
Likelihood values compare how well candidate parameter values account for the fixed data; they are not generally a normalized distribution over θ.
- A
- 14
Which expression is an alternative way to denote the likelihood of parameter θ for observed data x?
- A
P(θ)
- B
P(θ∣x)
- C
P(x)
- D
L(θ∣x)
Correct answer
DL(θ∣x)
Explanation
The likelihood is often written L(θ∣x) to distinguish it from a probability distribution over data or parameters.
- A
- 15
What does the prior distribution P(θ) represent?
- A
The total probability of the data under all parameter values
- B
The distribution of parameter values after the current data are observed
- C
The probability of the observed data conditional on a parameter value
- D
Beliefs or information about θ before observing the current data
Correct answer
DBeliefs or information about θ before observing the current data
Explanation
The prior describes assumptions or information about plausible parameter values before incorporating the observed data.
- A
- 16
In a word-recognition experiment, a prior placing much of its probability between 0.6 and 1 for accuracy expresses which idea?
- A
The observed accuracy must fall between 0.6 and 1
- B
Accuracy is expected to be relatively high before examining the current data
- C
Every participant has exactly the same accuracy
- D
The likelihood assigns equal support to all accuracy values
Correct answer
BAccuracy is expected to be relatively high before examining the current data
Explanation
The example prior represents an expectation, made before seeing the current data, that the probability of a correct response is relatively high.
- A
- 17
If the observed data are modeled using a normal distribution with parameters μ and σ, what must be specified in a Bayesian analysis of both parameters?
- A
Only the likelihood for μ, because σ is part of the data
- B
Prior assumptions for both μ and σ
- C
A single prior for the observations but none for the parameters
- D
A point estimate for μ and a likelihood for σ
Correct answer
BPrior assumptions for both μ and σ
Explanation
When both μ and σ are unknown parameters, prior assumptions are needed for each parameter.
- A
- 18
Why would a prior for a scale parameter such as σ assign support only to positive values?
- A
The marginal likelihood is defined only for positive data
- B
A prior distribution cannot include zero or negative observations
- C
A standard deviation cannot be negative
- D
The observed data must all be positive
Correct answer
CA standard deviation cannot be negative
Explanation
The lecture notes that σ must be positive, so a prior for it should respect that constraint.
- A
- 19
What is the marginal likelihood in the continuous-parameter form of Bayes’ theorem?
- A
The posterior density evaluated at the mean parameter value
- B
The likelihood evaluated only at the most probable parameter value
- C
The integral of likelihood times prior over all possible parameter values
- D
The prior probability of the observed data before the experiment
Correct answer
CThe integral of likelihood times prior over all possible parameter values
Explanation
The marginal likelihood is obtained by integrating P(x∣θ)P(θ) across the possible values of θ.
- A
- 20
What is the main mathematical role of the marginal likelihood in calculating the posterior?
- A
It converts the observed data into a parameter value
- B
It removes the prior information from the calculation
- C
It normalizes the likelihood-times-prior product into a proper distribution
- D
It makes the likelihood independent of the data
Correct answer
CIt normalizes the likelihood-times-prior product into a proper distribution
Explanation
Dividing by the marginal likelihood ensures that the posterior distribution is properly normalized, with total area equal to one.
- A
- 21
Why is the marginal likelihood treated as a constant when plotting a posterior over θ for fixed data?
- A
It is equal to the prior density at every value of θ
- B
It is the likelihood evaluated at each different value of θ
- C
It changes only when the prior is removed
- D
It does not vary with θ once the data and model are fixed
Correct answer
DIt does not vary with θ once the data and model are fixed
Explanation
For fixed observed data and specified model, the marginal likelihood is a single numeric value rather than a function of θ.
- A
- 22
What does the posterior distribution P(θ∣x) represent?
- A
The likelihood of each possible dataset before observing it
- B
The distribution of data values before specifying a parameter
- C
The prior belief about the parameter before any data are collected
- D
The distribution of plausible parameter values after observing the data
Correct answer
DThe distribution of plausible parameter values after observing the data
Explanation
The posterior describes how plausible parameter values are after combining the observed data with prior assumptions.
- A
- 23
Which expression correctly summarizes Bayesian updating for a parameter?
- A
Likelihood is proportional to posterior times marginal likelihood
- B
Posterior is proportional to prior divided by likelihood
- C
Prior is proportional to likelihood divided by posterior
- D
Posterior is proportional to likelihood times prior
Correct answer
DPosterior is proportional to likelihood times prior
Explanation
Bayes’ theorem gives P(θ∣x)=P(x)P(x∣θ)P(θ), so the posterior is proportional to likelihood times prior.
- A
- 24
If the marginal likelihood is omitted after multiplying the likelihood and prior, what is obtained?
- A
An unnormalized posterior with the same relative shape across parameter values
- B
A prior distribution that has been updated without using the likelihood
- C
A normalized posterior with area exactly equal to one
- D
A likelihood function that no longer depends on the data
Correct answer
AAn unnormalized posterior with the same relative shape across parameter values
Explanation
Omitting the normalizing constant leaves an unnormalized posterior; its area need not be one, but it retains the relative information across parameter values.
- A
- 25
Why can posterior inference be useful even when the exact true parameter value cannot be identified?
- A
It guarantees that future data will match the observed sample
- B
It avoids making assumptions about the data-generating model
- C
It proves that one parameter value generated the data uniquely
- D
It represents uncertainty across possible parameter values rather than forcing certainty at one value
Correct answer
DIt represents uncertainty across possible parameter values rather than forcing certainty at one value
Explanation
A posterior distribution retains uncertainty and indicates which values are more or less plausible given the data and prior.
- A
- 26
After estimating parameters under two competing assumptions, what comparison does the lecture propose?
- A
Choose the model with the largest prior probability regardless of data
- B
Choose the model that reproduces the observed sample exactly
- C
Compare how many parameter symbols appear in each model
- D
Compare how well the fitted processes explain future or unseen data
Correct answer
DCompare how well the fitted processes explain future or unseen data
Explanation
The competing fitted assumptions are assessed by how well they explain future or unseen data; better performance suggests greater closeness to the true process.
- A
- 27
Suppose models f(x∣θ) and g(x∣λ) are both considered for the data. What does fitting each model involve?
- A
Estimating the relevant parameter or parameters under each assumption
- B
Discarding one model before examining its predictions
- C
Treating the data as unknown and estimating it from the prior
- D
Using the same parameter value for both models by definition
Correct answer
AEstimating the relevant parameter or parameters under each assumption
Explanation
Each assumed generative process has its own parameter or parameters, which are estimated from the data before comparing the models.
- A
- 28
If a fitted model explains unseen data better than a competing fitted model, what conclusion is supported by the lecture?
- A
It is proven to be the exact true process
- B
It is considered closer to the true generative process
- C
Its prior assumptions must have been unnecessary
- D
Its parameter estimates have no uncertainty
Correct answer
BIt is considered closer to the true generative process
Explanation
Better explanation of future or unseen data is taken as evidence that a candidate process is closer to the true generative process, not proof that it is exactly true.
- A
- 29
Why does the lecture describe parameter estimation as only the first part of inference?
- A
The likelihood cannot be calculated until future data are observed
- B
Competing generative assumptions must also be compared for their ability to explain unseen data
- C
A parameter estimate is valid only if no data have been collected
- D
The posterior distribution contains no information about parameters
Correct answer
BCompeting generative assumptions must also be compared for their ability to explain unseen data
Explanation
Inference also involves comparing alternative assumptions, including their ability to explain future or unseen observations.
- A
- 30
Which sequence best matches the practical Bayesian workflow described?
- A
Specify a posterior, collect data, choose a prior from the posterior, then compare samples
- B
Calculate marginal likelihood, assume a generative model, discard the data, then estimate a prior
- C
Specify a likelihood model and priors, collect data, calculate likelihood and prior, then combine and normalize
- D
Collect data, select a point estimate, discard the prior, then define a likelihood model
Correct answer
CSpecify a likelihood model and priors, collect data, calculate likelihood and prior, then combine and normalize
Explanation
The workflow begins with assumptions about the generative process and priors, then uses observed data to calculate likelihoods and combine them with the priors to obtain a posterior.
- A
- 31
In the workflow, why is the assumption about the data-generating distribution also called a likelihood assumption?
- A
It specifies the model used to calculate how likely the observed data are at candidate parameter values
- B
It specifies the parameter distribution before data are observed
- C
It directly gives the posterior without requiring data
- D
It guarantees that the assumed distribution is the true process
Correct answer
AIt specifies the model used to calculate how likely the observed data are at candidate parameter values
Explanation
The likelihood assumption specifies the data model, which is then used to evaluate the likelihood of the observed data for different parameter values.
- A
- 32
For a normal data model with unknown μ and σ, what is the role of assumptions such as a prior for μ and a positive-only prior for σ?
- A
They express prior beliefs about each model parameter before using the observed data
- B
They define the observed sample and make likelihood calculation unnecessary
- C
They normalize the data model across all possible datasets
- D
They assert that both parameters are fixed at their prior means
Correct answer
AThey express prior beliefs about each model parameter before using the observed data
Explanation
The priors encode assumptions about plausible values of each parameter before the data are used to update those beliefs.
- A
- 33
Once the likelihood and prior densities are available for each candidate value of the parameter, what is the next central calculation?
- A
Integrate the prior alone and use that as the posterior
- B
Multiply them and, if a normalized posterior is needed, divide by the marginal likelihood
- C
Add them and divide by the number of observations
- D
Subtract the prior from the likelihood and select the largest difference
Correct answer
BMultiply them and, if a normalized posterior is needed, divide by the marginal likelihood
Explanation
The posterior is formed from the product of likelihood and prior, divided by the marginal likelihood for normalization.
- A

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