Bayesian Inference
- 67Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is inference?
What is inference?
67 questions
- 1
What is inference?
- A
The process of repeating an experiment infinitely many times
- B
The process of reaching a conclusion about an event or observable
- C
The process of assigning causes without using any evidence
- D
The process of recording only directly measurable quantities
Correct answer
BThe process of reaching a conclusion about an event or observable
Explanation
Inference is the process of reaching a conclusion about the likelihood of an event or the value of an observable.
- A
- 2
What distinguishes Bayesian inference from inference in general?
- A
It uses Bayes' theorem to update probabilities
- B
It can only be applied to normally distributed variables
- C
It requires that every experiment be repeated infinitely
- D
It avoids using observations when forming conclusions
Correct answer
AIt uses Bayes' theorem to update probabilities
Explanation
Bayesian inference is inference based on Bayes' theorem, in which prior beliefs are updated using observed data.
- A
- 3
In Bayesian inference, what is a prior probability?
- A
A probability calculated only after all data are collected
- B
A measurement error associated with an observation
- C
A belief about an event before incorporating new data
- D
A probability obtained by summing over all possible outcomes
Correct answer
CA belief about an event before incorporating new data
Explanation
The prior represents the belief about an event before it is updated with current observations.
- A
- 4
What role does the likelihood play in Bayes' theorem?
- A
It represents the initial belief before any observations are available
- B
It represents the sum of probabilities over every possible hypothesis
- C
It represents the final updated belief about the hypothesis
- D
It represents how probable the observed data are under a hypothesis
Correct answer
DIt represents how probable the observed data are under a hypothesis
Explanation
The likelihood is the probability of the observed data given a particular hypothesis or parameter value.
- A
- 5
What is the posterior probability?
- A
The probability of an outcome before any experiment is conducted
- B
The updated probability obtained after combining prior beliefs with data
- C
The frequency of an outcome across infinitely many repeated trials
- D
The probability assigned to the measurement noise alone
Correct answer
BThe updated probability obtained after combining prior beliefs with data
Explanation
The posterior is the updated belief produced by combining the prior with the likelihood according to Bayes' rule.
- A
- 6
In the tennis example, which information contributes to a player's prior belief about the ball's location?
- A
Weather, time of day, lighting, opponent knowledge, and tactics
- B
The exact posterior computed after the ball has been returned
- C
Only the ball's current sensory position and speed
- D
Only the player's final decision about where to hit
Correct answer
AWeather, time of day, lighting, opponent knowledge, and tactics
Explanation
The prior may reflect contextual knowledge such as weather, lighting, time of day, familiarity with the opponent, and the opponent's tactics.
- A
- 7
In the tennis example, what does the red ellipsoid represent?
- A
The posterior carried forward from an earlier time point
- B
The likelihood based on current sensory evidence
- C
The prior based on long-term contextual experience
- D
The uncertainty caused by the player's motor response
Correct answer
BThe likelihood based on current sensory evidence
Explanation
The red ellipsoid represents the likelihood formed from sensory data about the approaching ball.
- A
- 8
What does the dark-outlined ellipsoid in the tennis example represent?
- A
The set of all possible locations of the opponent
- B
The posterior estimate after combining prior and sensory information
- C
The prior estimate before the opponent hits the ball
- D
The raw sensory measurement without prior information
Correct answer
BThe posterior estimate after combining prior and sensory information
Explanation
The dark-outlined ellipsoid is the posterior produced by combining the green prior and red likelihood.
- A
- 9
How does Bayesian belief updating operate across successive tennis snapshots?
- A
The posterior is discarded after each individual sensory observation
- B
The posterior from one time point becomes the prior for the next
- C
The likelihood from one time point replaces all later observations
- D
The prior remains fixed while only the opponent's strategy changes
Correct answer
BThe posterior from one time point becomes the prior for the next
Explanation
Bayesian updating is iterative: each posterior becomes the prior that is combined with new sensory evidence at the next time point.
- A
- 10
According to predictive-coding and Bayesian-brain theories, what role may Bayesian inference play in neural processing?
- A
It may help combine predictions and likelihoods to calculate and minimize errors
- B
It may guarantee that every neural representation is directly observable
- C
It may prevent neurons from responding to unexpected sensory input
- D
It may replace all sensory input with fixed long-term expectations
Correct answer
AIt may help combine predictions and likelihoods to calculate and minimize errors
Explanation
These theories propose that predictions and sensory likelihoods are combined to calculate errors, minimize them, and produce efficient, stable neural representations.
- A
- 11
What relationship was observed in the chocolate-consumption example?
- A
Individuals who won Nobel Prizes were proven to eat more chocolate
- B
Countries with fewer Nobel laureates consumed more chocolate per capita
- C
Chocolate consumption and Nobel laureate numbers showed no association
- D
Countries with greater chocolate consumption had more Nobel laureates per capita
Correct answer
DCountries with greater chocolate consumption had more Nobel laureates per capita
Explanation
The example described a correlation between annual per-capita chocolate consumption and the number of Nobel laureates per 10 million inhabitants.
- A
- 12
What limitation applies to the chocolate-consumption correlation?
- A
It can establish causation through deductive logic alone
- B
It shows that Nobel Prize success prevents chocolate consumption
- C
It does not by itself establish that chocolate causes Nobel Prize success
- D
It proves that chocolate is the only cause of Nobel Prize success
Correct answer
CIt does not by itself establish that chocolate causes Nobel Prize success
Explanation
A correlation does not establish a causal relationship. The question of whether chocolate increases Nobel Prize success requires hypotheses, estimates, and probabilities rather than deductive logic alone.
- A
- 13
What is the basic frequentist definition of probability?
- A
The prior belief multiplied by the observed measurement
- B
The number of observed occurrences divided by the total number of trials
- C
The number of possible causes divided by the number of effects
- D
The strength of a conclusion given a particular premise
Correct answer
BThe number of observed occurrences divided by the total number of trials
Explanation
Probability can be defined as the ratio of the number of times an event occurs to the total number of trials covering possible outcomes.
- A
- 14
What is the probability of obtaining one specified side when rolling a fair six-sided die?
- A
31
- B
21
- C
61
- D
65
Correct answer
C61
Explanation
A fair die has six equally likely sides, so the probability of one specified side is 61.
- A
- 15
What is the probability of obtaining heads when flipping a fair coin?
- A
25%
- B
100%
- C
75%
- D
50%
Correct answer
D50%
Explanation
A fair coin has two equally likely outcomes, so heads has probability 21, or 50%.
- A
- 16
Why is the limit as the number of trials approaches infinity included in a rigorous frequentist definition of probability?
- A
It defines probability through long-run relative frequency
- B
It ensures that Bayesian priors are always equal to likelihoods
- C
It removes the need to specify possible outcomes
- D
It guarantees that every real-world event can be observed infinitely
Correct answer
AIt defines probability through long-run relative frequency
Explanation
The frequentist definition treats probability as the limiting relative frequency obtained over an indefinitely large ensemble of trials.
- A
- 17
Why can the frequentist definition be difficult to apply to whether it will rain tomorrow?
- A
Tomorrow's weather may provide only one practically available trial
- B
Weather outcomes cannot be represented as random variables
- C
Frequentist probability requires that the outcome be a neural cause
- D
Rain and snow cannot be included among possible events
Correct answer
ATomorrow's weather may provide only one practically available trial
Explanation
For a one-time event such as tomorrow's weather, it is not practically possible to repeat the identical experiment infinitely many times.
- A
- 18
What does frequentist probability quantify?
- A
The causal influence of one neural source on another
- B
Variability in outcomes across an infinite ensemble of trials
- C
The precision-weighted average of two Gaussian means
- D
Uncertainty about a conclusion given stated premises
Correct answer
BVariability in outcomes across an infinite ensemble of trials
Explanation
Frequentist probability quantifies the frequency or variability of an outcome across repeated trials in an infinite ensemble.
- A
- 19
What does Bayesian probability quantify?
- A
The exact frequency of an outcome in an infinite ensemble
- B
Uncertainty about a hypothesis given assumptions or premises
- C
The number of outcomes in a sample space before an experiment
- D
The measurement error of an observation independent of a model
Correct answer
BUncertainty about a hypothesis given assumptions or premises
Explanation
Bayesian probability expresses how certain or uncertain a conclusion or hypothesis is given premises or assumptions.
- A
- 20
What is a random variable?
- A
A fixed number that remains unchanged across every random process
- B
A graphical display of a probability distribution without outcomes
- C
A hypothesis that is accepted whenever an observation is made
- D
A function that assigns a real number to an outcome of a random process
Correct answer
DA function that assigns a real number to an outcome of a random process
Explanation
A random variable maps outcomes in a sample space associated with a random process to real numbers.
- A
- 21
In repeated coin flipping, what is the sample space?
- A
The average of all numerical measurements from the coin
- B
The set containing only the probability of heads
- C
The set containing heads and tails
- D
The number of times the coin is flipped
Correct answer
CThe set containing heads and tails
Explanation
For a coin flip, the sample space consists of the possible outcomes heads and tails.
- A
- 22
Which statement correctly compares discrete and continuous random variables?
- A
A discrete variable must always be normally distributed, unlike a continuous variable
- B
A random variable may represent countable outcomes or values over a continuum
- C
A discrete variable cannot be assigned probabilities because it has numerical values
- D
A continuous variable can take only heads-or-tails outcomes, unlike a discrete variable
Correct answer
BA random variable may represent countable outcomes or values over a continuum
Explanation
Random variables can be discrete, with countable outcomes, or continuous, with values across a continuum.
- A
- 23
In dynamic causal modeling, what can be treated as a random variable?
- A
Only the names of the brain regions
- B
Connectivity between brain regions
- C
The fixed number of sensors used to record EEG
- D
The color used to display neural activity
Correct answer
BConnectivity between brain regions
Explanation
Connectivity parameters, such as communication between frontal and parietal areas, can be modeled as random variables.
- A
- 24
In a Bayesian brain-connectivity model, what does P(θ∣Y) represent?
- A
The probability of observing Y before any model is specified
- B
The probability of connectivity parameter θ given brain data Y
- C
The probability of brain data Y given no connectivity parameter
- D
The probability that all possible connectivity parameters are identical
Correct answer
BThe probability of connectivity parameter θ given brain data Y
Explanation
The notation P(θ∣Y) denotes the Bayesian probability of a connectivity value θ conditional on observed brain data Y.
- A
- 25
In the brain example, which quantities are analogous to causes and effects?
- A
Both connectivity parameters and recorded data are only measurement errors
- B
Recorded brain data are causes, and connectivity parameters are effects
- C
Neither connectivity parameters nor recorded data can enter a causal model
- D
Connectivity parameters are causes, and recorded brain data are effects
Correct answer
DConnectivity parameters are causes, and recorded brain data are effects
Explanation
Neural connectivity describes the underlying causes or sources, while EEG or other recordings are observable effects generated by those sources.
- A
- 26
Why is inferring neural connectivity from observed brain data often ill-posed?
- A
Neural connectivity is always directly visible in the recorded signal
- B
Multiple neural configurations can produce the same observed data
- C
The data contain no information about neural activity under any model
- D
Every observed pattern has exactly one possible neural configuration
Correct answer
BMultiple neural configurations can produce the same observed data
Explanation
The inverse problem is ill-posed because different configurations of interacting neural sources may generate similar or identical data patterns.
- A
- 27
What does a multidimensional random variable such as θˉ represent in the two-node brain example?
- A
A variable that eliminates uncertainty about all neural connections
- B
A variable containing both forward and backward connection parameters
- C
A variable containing only the observed EEG signal amplitudes
- D
A variable containing only the mean of one connection parameter
Correct answer
BA variable containing both forward and backward connection parameters
Explanation
The multidimensional variable θˉ includes parameters such as the forward connection θ1 and backward connection θ2.
- A
- 28
What is the normalization rule for probabilities?
- A
The probability of every individual outcome must equal 1
- B
The conditional probability must always exceed the marginal probability
- C
The joint probability of two outcomes must always equal 0
- D
The probabilities of all mutually exclusive possible outcomes sum to 1
Correct answer
DThe probabilities of all mutually exclusive possible outcomes sum to 1
Explanation
Normalization requires that the probabilities of all possible outcomes together sum to 1, or 100%.
- A
- 29
What does the sum rule, or marginalization, accomplish?
- A
It converts every conditional probability into a causal relationship
- B
It obtains the probability of one variable by summing over another variable
- C
It removes the need to define a sample space
- D
It obtains a joint probability by multiplying two unrelated probabilities
Correct answer
BIt obtains the probability of one variable by summing over another variable
Explanation
Marginalization obtains a probability such as P(B) by summing the joint probability P(A,B) over all possible values of A.
- A
- 30
If A represents clothing and B represents going to work, what does P(B)=∑AP(A,B) mean?
- A
The probability of going to work is calculated only for wearing jeans
- B
The probability of going to work is independent of every clothing choice
- C
The probability of going to work sums over all possible clothing choices
- D
The probability of each clothing choice equals the probability of going to work
Correct answer
CThe probability of going to work sums over all possible clothing choices
Explanation
Summing P(A,B) over all clothing outcomes removes A and yields the marginal probability of going to work, P(B).
- A
- 31
Which equation expresses the product rule for a joint probability?
- A
P(A,B)=P(A)−P(B)
- B
P(A,B)=P(A∣B)+P(B)
- C
P(A,B)=P(A∣B)P(B)
- D
P(A,B)=P(A)P(B∣A)+1
Correct answer
CP(A,B)=P(A∣B)P(B)
Explanation
The product rule states that P(A,B)=P(A∣B)P(B), and equivalently P(A,B)=P(B∣A)P(A).
- A
- 32
What does the vertical bar in P(A∣B) mean?
- A
The probability of A independent of B
- B
The sum of probabilities for A and B
- C
The probability of A conditional on B
- D
The difference between the probabilities of A and B
Correct answer
CThe probability of A conditional on B
Explanation
The vertical bar means “given,” so P(A∣B) is the probability of A given B.
- A
- 33
How does a conditional probability differ from a marginal probability?
- A
A conditional probability always describes an unconditional frequency
- B
A marginal probability must contain two variables separated by a vertical bar
- C
A conditional probability depends on another specified event or variable
- D
A marginal probability can only be used for continuous variables
Correct answer
CA conditional probability depends on another specified event or variable
Explanation
A conditional probability, such as P(A∣B), is evaluated given another event, whereas a marginal probability such as P(A) is not conditioned on that event.
- A
- 34
Which expression is Bayes' theorem for reversing a conditional probability?
- A
P(A∣B)=P(B)P(B∣A)P(A)
- B
P(A∣B)=P(B∣A)−P(A)−P(B)
- C
P(A∣B)=P(B∣A)P(A)P(B)
- D
P(A∣B)=P(A)+P(B∣A)+P(B)
Correct answer
AP(A∣B)=P(B)P(B∣A)P(A)
Explanation
Bayes' theorem follows from the product rule and is given by P(A∣B)=P(B)P(B∣A)P(A).
- A
- 35
How can the denominator P(B) in Bayes' theorem be expressed using marginalization?
- A
P(B)=∑AP(B)+P(A)
- B
P(B)=∏AP(B∣A)
- C
P(B)=P(A∣B)P(A)
- D
P(B)=∑AP(B∣A)P(A)
Correct answer
DP(B)=∑AP(B∣A)P(A)
Explanation
Using the sum and product rules, P(B)=∑AP(A,B)=∑AP(B∣A)P(A).
- A
- 36
In Bayes' theorem, what does the denominator generally do?
- A
It removes the likelihood from the posterior calculation
- B
It represents only the measurement noise in the data
- C
It supplies the prior belief before any data are observed
- D
It normalizes the updated probabilities across possible hypotheses
Correct answer
DIt normalizes the updated probabilities across possible hypotheses
Explanation
The denominator P(B) is the marginal probability of the evidence and ensures that the posterior distribution is properly normalized.
- A
- 37
In the chocolate example, what would P(chocolate∣Nobel) represent?
- A
The likelihood of chocolate consumption given Nobel Prize status
- B
The prior probability of winning a Nobel Prize before any information
- C
The posterior probability of Nobel Prize status given chocolate consumption
- D
The probability that chocolate consumption and Nobel status are unrelated
Correct answer
AThe likelihood of chocolate consumption given Nobel Prize status
Explanation
As described, asking Nobel Prize winners about their chocolate consumption would estimate the likelihood of chocolate consumption given Nobel Prize status.
- A
- 38
In the Gaussian measurement model y=β+e, what does e represent?
- A
Random observation noise around the underlying value
- B
The design matrix used to explain the measurement
- C
The prior mean of the underlying temperature
- D
The posterior precision of the parameter
Correct answer
ARandom observation noise around the underlying value
Explanation
The term e is random measurement noise, representing the deviation of the recorded value from the underlying parameter β.
- A
- 39
In the thermometer example, what does the recorded value represent?
- A
The exact true temperature without any uncertainty
- B
An approximation of the true temperature with measurement error
- C
A prior belief that is independent of the thermometer
- D
A value determined only by the model's design matrix
Correct answer
BAn approximation of the true temperature with measurement error
Explanation
A thermometer recording approximates the true temperature, with some error associated with the measurement device.
- A
- 40
What happens when a Gaussian prior is combined with a Gaussian likelihood in the described model?
- A
The posterior must become uniform
- B
The posterior is also Gaussian
- C
The posterior cannot be computed even in the linear case
- D
The posterior becomes a discrete probability over clothing choices
Correct answer
BThe posterior is also Gaussian
Explanation
Under the stated Gaussian assumptions, applying Bayes' rule produces another Gaussian distribution for the posterior.
- A
- 41
How is the posterior mean described in the Gaussian updating example?
- A
As a precision-weighted combination of the prior mean and data mean
- B
As the difference between the likelihood variance and prior variance
- C
As the prior mean regardless of the observed data
- D
As the unweighted sum of the prior mean and data mean
Correct answer
AAs a precision-weighted combination of the prior mean and data mean
Explanation
The posterior mean combines the prior mean and observed data using their precisions as weights.
- A
- 42
In the Gaussian updating equations, what is precision?
- A
The sum of all possible observations
- B
The probability of the parameter given the data
- C
The square of the mean
- D
The reciprocal of variance
Correct answer
DThe reciprocal of variance
Explanation
Precision is represented as the reciprocal of variance, such as α1 for a variance parameterized by precision α.
- A
- 43
Which expression gives the posterior precision in the one-parameter Gaussian example?
- A
α=αe−αp
- B
α=αeαp+1
- C
α=αe+αp1
- D
α=αe+αp
Correct answer
Dα=αe+αp
Explanation
The posterior precision is the sum of the likelihood or noise precision and the prior precision: α=αe+αp.
- A
- 44
Which expression describes the posterior mean in the Gaussian example?
- A
μ=α1(y+μp)
- B
μ=α1(αey+αpμp)
- C
μ=αey−αpμp
- D
μ=α(αey+αpμp)
Correct answer
Bμ=α1(αey+αpμp)
Explanation
The posterior mean is μ=α1(αey+αpμp), a precision-weighted combination of the observation and prior mean.
- A
- 45
What does a larger precision for one source of information imply in the Gaussian update?
- A
That source is ignored because its uncertainty is too small
- B
That source becomes the posterior without normalization
- C
That source forces the posterior variance to increase
- D
That source receives greater weight in determining the posterior mean
Correct answer
DThat source receives greater weight in determining the posterior mean
Explanation
Because precision is used as a weight, information with greater precision contributes more strongly to the posterior mean.
- A
- 46
What is the general linear model described in the presentation?
- A
Y=X+βˉ−ϵ
- B
Y=ϵ−Xβˉ
- C
Y=Xβˉ+ϵ
- D
Y=βˉ/X+ϵ
Correct answer
CY=Xβˉ+ϵ
Explanation
The general linear model expresses data as Y=Xβˉ+ϵ, where X is the design matrix, βˉ contains parameters, and ϵ is noise.
- A
- 47
In the general linear model, what does Xβˉ represent?
- A
The random measurement noise around each point
- B
The marginal probability of observing the data
- C
The posterior covariance of the parameters
- D
The model's predicted data or linear mean
Correct answer
DThe model's predicted data or linear mean
Explanation
The product Xβˉ is the linear model prediction, such as the blue line in the plotted example.
- A
- 48
What does the noise term ϵ represent geometrically in the plotted linear model?
- A
The prior mean of both model parameters
- B
The deviation or distance from a data point to the model line
- C
The overall mean represented by the first design-matrix column
- D
The number of observations in the simulated dataset
Correct answer
BThe deviation or distance from a data point to the model line
Explanation
The random term ϵ represents the deviation of each observed data point from the model's predicted line.
- A
- 49
What distribution is assumed for the noise in the general linear model?
- A
A uniform distribution with mean σ2 and variance zero
- B
A discrete distribution with exactly two possible outcomes
- C
A normal distribution with mean zero and variance σ2
- D
A normal distribution with mean one and variance zero
Correct answer
CA normal distribution with mean zero and variance σ2
Explanation
The model assumes ϵ is normally distributed with mean zero and variance σ2.
- A
- 50
What does the first column of the design matrix typically represent in the example?
- A
The observation noise for each participant
- B
The inverse of the likelihood function
- C
An intercept or overall mean
- D
The posterior covariance between parameters
Correct answer
CAn intercept or overall mean
Explanation
The first column contains ones and can represent the model's overall mean or intercept.
- A
- 51
What is the purpose of a prior covariance matrix with diagonal entries and zero off-diagonal entries?
- A
It specifies individual parameter uncertainties without prior interaction
- B
It forces all parameters to have identical posterior values
- C
It makes the observations independent of the design matrix
- D
It specifies that every parameter has zero uncertainty
Correct answer
AIt specifies individual parameter uncertainties without prior interaction
Explanation
A diagonal covariance matrix indicates separate parameter variances and no prior covariance or interaction between parameters.
- A
- 52
Why is approximate Bayesian inference useful for nonlinear models?
- A
Nonlinear models do not require priors or likelihoods
- B
The evidence integral may be intractable and lack a closed-form calculation
- C
Nonlinear models always have exactly one possible parameter value
- D
Bayes' theorem applies only when variables are discrete
Correct answer
BThe evidence integral may be intractable and lack a closed-form calculation
Explanation
For nonlinear models such as dynamic causal models, integrating over parameters to obtain the evidence can be difficult or impossible analytically.
- A
- 53
What is the evidence integral in Bayesian inference?
- A
The likelihood of parameters without reference to observations
- B
The prior probability of parameters before observing data
- C
The marginal probability of the observed data after integrating out parameters
- D
The difference between posterior and prior means
Correct answer
CThe marginal probability of the observed data after integrating out parameters
Explanation
The model evidence P(Y) is obtained by marginalizing the joint probability over parameter values, using an integral for continuous parameters.
- A
- 54
What does variational Bayesian inference do?
- A
It replaces all probabilities with observed frequencies from one trial
- B
It guarantees an exact posterior for every nonlinear model
- C
It computes only the prior and ignores the likelihood
- D
It uses an approximating density to represent an otherwise difficult posterior
Correct answer
DIt uses an approximating density to represent an otherwise difficult posterior
Explanation
Variational methods introduce a tractable density, such as q(β), to approximate the posterior when direct calculation is difficult.
- A
- 55
What is the role of the density q(β) in variational inference?
- A
It represents only the measurement noise distribution
- B
It is the exact marginal likelihood of the observed data
- C
It specifies the design matrix for a general linear model
- D
It approximates the posterior distribution over the parameter vector
Correct answer
DIt approximates the posterior distribution over the parameter vector
Explanation
The variational density q(β) is chosen to approximate the posterior distribution over parameters.
- A
- 56
Why are logarithms used when calculating approximate model evidence?
- A
They convert every posterior into a frequentist probability
- B
They guarantee that the evidence integral becomes exactly zero
- C
They eliminate the need to specify a likelihood
- D
They make the computations mathematically more convenient
Correct answer
DThey make the computations mathematically more convenient
Explanation
The presentation describes taking the logarithm of the evidence for mathematical and computational convenience.
- A
- 57
What is free energy in the described variational framework?
- A
The exact prior probability of the model parameters
- B
The sum of all posterior parameter values
- C
A lower bound or approximation to the log model evidence
- D
The raw measurement noise before model fitting
Correct answer
CA lower bound or approximation to the log model evidence
Explanation
Free energy is described as a lower bound on, and approximation to, the log model evidence.
- A
- 58
Why is free energy useful in dynamic causal modeling?
- A
It proves that one neural configuration is causally true
- B
It replaces all model parameters with fixed random values
- C
It can support model comparison and selection among neural architectures
- D
It removes the need to collect brain data
Correct answer
CIt can support model comparison and selection among neural architectures
Explanation
Free energy provides an approximate model evidence that can be used to compare alternative neural architectures or mechanisms.
- A
- 59
What does the SPM routine
spm_nlsi_GNimplement in the described workflow?- A
Only the plotting of raw EEG sensor measurements
- B
The construction of a design matrix without parameter estimation
- C
Frequentist probability estimation from coin-flipping trials
- D
Approximate Bayesian inference for nonlinear system identification
Correct answer
DApproximate Bayesian inference for nonlinear system identification
Explanation
The routine is identified as a nonlinear system-identification routine used to implement approximate Bayesian inference with a variational Bayesian algorithm.
- A
- 60
What information must be specified for the model before running the SPM inference routine?
- A
Only the final posterior values and the free-energy threshold
- B
A model function, data, priors, and prior covariance information
- C
A list of conclusions without any likelihood or prior specification
- D
Only the number of observations and the plotting colors
Correct answer
BA model function, data, priors, and prior covariance information
Explanation
The workflow defines the model, observed data, prior parameter values, and prior covariance or uncertainty before running the inference routine.
- A
- 61
In the simulated general linear model, what does the second column of the design matrix represent?
- A
A column of ones representing the overall mean
- B
The posterior probability of each model parameter
- C
A covariate such as age or another demographic measure
- D
The random error associated with every observation
Correct answer
CA covariate such as age or another demographic measure
Explanation
The second column contains covariate values, which could represent age, another demographic variable, or a similar predictor.
- A
- 62
What outputs does the SPM variational inference routine provide?
- A
The exact causal structure without uncertainty estimates
- B
Only the prior means without any updated estimates
- C
Approximate parameter posteriors and free-energy values
- D
Only the original data and the design matrix
Correct answer
CApproximate parameter posteriors and free-energy values
Explanation
The routine produces posterior estimates for model parameters and approximate model evidence represented by free energy.
- A
- 63
Why are multiple iteration steps shown in the SPM command-window output?
- A
The software must repeat the same prior without using new calculations
- B
The model is converted from Bayesian to purely deductive reasoning
- C
Each step represents a different independent experiment with no shared parameters
- D
The variational or expectation-maximization procedure updates estimates iteratively
Correct answer
DThe variational or expectation-maximization procedure updates estimates iteratively
Explanation
The algorithm uses an iterative procedure, described as an expectation-maximization flavor of variational Bayes, to update estimates across steps.
- A
- 64
When does the iterative inference procedure converge?
- A
When the likelihood is discarded from the calculation
- B
When the free energy and its change fall below a specified threshold
- C
When every parameter has the same posterior value
- D
When the prior covariance becomes exactly zero
Correct answer
BWhen the free energy and its change fall below a specified threshold
Explanation
Convergence occurs when the free energy and its change reach sufficiently small values below a chosen threshold.
- A
- 65
What do the reported posterior values such as −0.2595 and 0.6128 represent?
- A
The prior variances of the two parameters before updating
- B
Estimated values of the model parameters after using priors and data
- C
The number of observations assigned to each participant
- D
The coordinates of the two axes in the plotted data
Correct answer
BEstimated values of the model parameters after using priors and data
Explanation
These values are approximate posterior estimates for the model parameters, obtained from the specified priors and observed data.
- A
- 66
What does the upper plot in the SPM graphical output display?
- A
The posterior probability of every possible neural architecture
- B
Only the prior covariance matrix for the parameters
- C
The likelihood of clothing choices under different work outcomes
- D
The observed data and the model predictions across iterations
Correct answer
DThe observed data and the model predictions across iterations
Explanation
The upper plot shows the data and model predictions, which converge and coincide after sufficient iterations in the example.
- A
- 67
What does the lower plot in the SPM graphical output display?
- A
The raw EEG recordings from all sensors
- B
Posterior values for the model parameters relative to their priors
- C
The residual distance from every data point to the model line
- D
The marginal likelihood for every possible observation
Correct answer
BPosterior values for the model parameters relative to their priors
Explanation
The lower plot displays bars for the posterior parameter values or their deviations from the prior values.
- A

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