Bayesian Modeling Introduction
- 36Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What primarily distinguishes mechanistic transmission models from standard statistical models (e.g., linear models)?
What primarily distinguishes mechanistic transmission models from standard statistical models (e.g., linear models)?
36 questions
- 1
What primarily distinguishes mechanistic transmission models from standard statistical models (e.g., linear models)?
- A
Mechanistic models are deterministic, whereas statistical models are always stochastic.
- B
Mechanistic models require Bayesian inference, whereas statistical models can only be fitted via maximum likelihood.
- C
Mechanistic models cannot be used for prediction, whereas statistical models are specifically designed for forecasting.
- D
Mechanistic models are built with biological or ecological mechanisms in mind, whereas statistical models are mathematically derived and often applied off-the-shelf.
Correct answer
DMechanistic models are built with biological or ecological mechanisms in mind, whereas statistical models are mathematically derived and often applied off-the-shelf.
Explanation
The speaker emphasizes that mechanistic models are built with the biological or ecological mechanisms in mind, while statistical models (e.g., linear models, GLMs) are mathematically derived and applied to many systems. The parameters in mechanistic models are directly interpretable biologically.
- A
- 2
Why are the parameters of mechanistic transmission models often easily interpretable?
- A
Because they are derived from differential equations.
- B
Because they are estimated only from prior information.
- C
Because they are dimensionless and scale-free.
- D
Because they directly represent biological quantities such as infectious period or transmission rate.
Correct answer
DBecause they directly represent biological quantities such as infectious period or transmission rate.
Explanation
The speaker states that parameters like the infectious period or contact rate directly map onto biological processes, making them easily interpretable and often estimable from piecemeal studies.
- A
- 3
According to the talk, what is a key advantage of mechanistic models at the beginning of an epidemic?
- A
They require no data to produce forecasts.
- B
They automatically account for spatial heterogeneity.
- C
Parameters can be estimated in a piecemeal fashion from literature or experiments.
- D
They can be fitted with small sample sizes.
Correct answer
CParameters can be estimated in a piecemeal fashion from literature or experiments.
Explanation
The speaker notes that because parameters are interpretable, they can be estimated from separate studies (e.g., infectious period from literature, transmission rate from experiments) even before detailed epidemic data are available.
- A
- 4
What is the primary use of mechanistic transmission models?
- A
Determining the genetic sequence of pathogens.
- B
Simulation and projection for forecasting or evaluating control strategies.
- C
Estimating confidence intervals for regression coefficients.
- D
Risk factor assessment and hypothesis testing.
Correct answer
BSimulation and projection for forecasting or evaluating control strategies.
Explanation
The speaker states that the use of these models is generally predominantly about simulation: making predictions or projections and evaluating interventions like vaccination.
- A
- 5
Which of the following is NOT a type of transmission model mentioned in the talk?
- A
Individual level models.
- B
Population level (homogeneous) models.
- C
Stratified (meta-population) models.
- D
Machine learning models.
Correct answer
DMachine learning models.
Explanation
The speaker categorizes models into population level, stratified, individual level, and agent-based models. Machine learning is not mentioned as a type of mechanistic transmission model.
- A
- 6
What is the key assumption underlying a homogeneous (population level) transmission model?
- A
The infection rate depends on spatial distance between individuals.
- B
Individuals are all identical and mix completely at random.
- C
Individuals are stratified by age and geography.
- D
The population is closed with no birth or death.
Correct answer
BIndividuals are all identical and mix completely at random.
Explanation
The speaker explains that in homogeneous models, everyone is the same and contacts occur purely randomly, hence the term 'homogeneous mixing'.
- A
- 7
In a basic SIR model, what do the three compartments represent?
- A
Symptomatic, Infectious, Recovered.
- B
Susceptible, Exposed, Recovered.
- C
Susceptible, Infectious, Removed.
- D
Susceptible, Infectious, Recovered (immune).
Correct answer
CSusceptible, Infectious, Removed.
Explanation
The speaker defines S, I, R as Susceptible, Infectious, and Removed. 'Removed' can mean recovered, immune, dead, or quarantined—not just recovered.
- A
- 8
In the discrete-time SIR model presented, what is the maximum number of new infections at time t?
- A
The number of infectious individuals at time t.
- B
The number of removed individuals at time t.
- C
The number of susceptible individuals at time t.
- D
The population size N.
Correct answer
CThe number of susceptible individuals at time t.
Explanation
The speaker states that the number of new infections at time t is at most the number of susceptible individuals at that time, since only susceptibles can become infected.
- A
- 9
In the stochastic SIR model, what is the probability that a susceptible individual becomes infected at time t?
- A
βNIt
- B
1−e−γ
- C
γβ
- D
1−e−βNIt
Correct answer
D1−e−βNIt
Explanation
The speaker gives the infection probability as 1−e−βIt/N, where β is the transmission rate and It is the number of infectious individuals.
- A
- 10
What is the removal probability in the discrete-time SIR model?
- A
e−γ
- B
1−e−γ
- C
γ
- D
1−e−β
Correct answer
B1−e−γ
Explanation
The speaker defines the removal probability as 1−e−γ, where γ is the removal rate. This gives the probability that an infectious individual is removed (recovers) in one time step.
- A
- 11
What is the key difference between a deterministic SIR model and a stochastic SIR model?
- A
The deterministic model always produces the same output; the stochastic model can produce different outcomes due to randomness.
- B
The deterministic model uses difference equations; the stochastic model uses differential equations.
- C
The deterministic model includes a latent period; the stochastic model does not.
- D
The deterministic model assumes a closed population; the stochastic model allows migration.
Correct answer
AThe deterministic model always produces the same output; the stochastic model can produce different outcomes due to randomness.
Explanation
The speaker notes that the deterministic model (ODEs) gives the same output each run, while the stochastic model captures variability and can have die-outs, which is more realistic.
- A
- 12
Which of the following correctly represents the discrete-time update equation for susceptible individuals in an SIR model?
- A
St+1=St−It
- B
St+1=St−Rt∗
- C
St+1=St−It∗
- D
St+1=St−It+1∗
Correct answer
CSt+1=St−It∗
Explanation
The speaker writes St+1=St−It∗, where It∗ is the number of new infections at time t.
- A
- 13
What are the two time series needed for maximum likelihood inference on the discrete-time SIR model?
- A
Total population size and number of deaths.
- B
Number of susceptibles and number of infectious at each time point.
- C
Incidence and prevalence over time.
- D
Number of new infections and number of new removals at each time point.
Correct answer
DNumber of new infections and number of new removals at each time point.
Explanation
The speaker states that the likelihood uses the time series of new infections and new removals at each time point.
- A
- 14
Why is Bayesian inference often preferred over maximum likelihood for epidemic models?
- A
Bayesian methods are always faster computationally.
- B
Bayesian methods always produce unique estimates.
- C
Maximum likelihood cannot be used for stochastic models.
- D
Bayesian methods easily handle incomplete data via data augmentation and can incorporate prior information.
Correct answer
DBayesian methods easily handle incomplete data via data augmentation and can incorporate prior information.
Explanation
The speaker lists reasons: posterior interpretability, ease of handling incomplete data (data augmentation), and ability to incorporate prior information from other studies.
- A
- 15
What does 'data augmentation' refer to in the context of Bayesian epidemic modeling?
- A
Increasing the number of compartments in the model.
- B
Using a larger population size than actually observed.
- C
Adding extra fake data points to improve model fit.
- D
Jointly estimating missing infection/removal times along with model parameters.
Correct answer
DJointly estimating missing infection/removal times along with model parameters.
Explanation
The speaker explains that data augmentation means treating missing data (e.g., actual infection times) as random variables estimated simultaneously with the parameters, which is natural in Bayesian framework.
- A
- 16
What prior distribution is typically used for positive rate parameters like β and γ in SIR models?
- A
Normal distribution.
- B
Poisson distribution.
- C
Beta distribution.
- D
Gamma distribution (or half-normal, half-t, uniform positive).
Correct answer
DGamma distribution (or half-normal, half-t, uniform positive).
Explanation
The speaker states that since β and γ are positive rate parameters, gamma priors are typical, though half-normal or uniform positive can also be used.
- A
- 17
What is Nimble and why is it useful for fitting epidemic models?
- A
It is a language for Bayesian modeling that compiles MCMC in C++ for speed and allows flexible samplers.
- B
It is a package for ordinary differential equation solving.
- C
It is a data visualization tool for epidemic curves.
- D
It is a software that automatically selects the best model.
Correct answer
AIt is a language for Bayesian modeling that compiles MCMC in C++ for speed and allows flexible samplers.
Explanation
The speaker describes Nimble as a language for fitting Bayesian models that compiles the MCMC in C++, resulting in fast algorithms, and allows flexibility in changing samplers.
- A
- 18
What does a stationary trace plot from MCMC indicate?
- A
The likelihood is flat.
- B
The chain has converged and is sampling from the posterior distribution.
- C
The model is misspecified.
- D
The prior is too informative.
Correct answer
BThe chain has converged and is sampling from the posterior distribution.
Explanation
The speaker says that stationary trace plots indicate that the Markov chain has reached stationarity and is exploring the posterior.
- A
- 19
What does the basic reproduction number R0 represent?
- A
The rate at which the disease spreads per day.
- B
The total number of cases in an epidemic.
- C
The average number of secondary infections caused by a single infected individual in a fully susceptible population.
- D
The proportion of the population that dies from the disease.
Correct answer
CThe average number of secondary infections caused by a single infected individual in a fully susceptible population.
Explanation
The speaker defines R0 as the expected number of infections resulting directly from a single infection in an otherwise wholly susceptible population.
- A
- 20
How is R0 calculated in the simple SIR model?
- A
R0=βγ
- B
R0=β+γ
- C
R0=γβ
- D
R0=β×γ
Correct answer
CR0=γβ
Explanation
The speaker derives R0=β/γ, which is the transmission rate divided by the removal rate, equivalent to transmission rate times infectious period.
- A
- 21
What does R0>1 imply for an epidemic?
- A
The epidemic will die out quickly.
- B
The disease is not transmissible.
- C
On average, each infected person infects more than one other, so the epidemic tends to take off.
- D
The population is already immune.
Correct answer
COn average, each infected person infects more than one other, so the epidemic tends to take off.
Explanation
The speaker states that if R0>1, the epidemic tends to take off and infect much of the population.
- A
- 22
What does R0<1 imply for an epidemic?
- A
The epidemic will tend to die out.
- B
The infectious period is extremely long.
- C
The epidemic will spread rapidly.
- D
The disease is highly infectious.
Correct answer
AThe epidemic will tend to die out.
Explanation
The speaker says that if R0<1, the epidemic will tend to die out because each case produces less than one secondary case on average.
- A
- 23
What is the difference between an SIR model and an SEIR model?
- A
SEIR includes a latent (exposed) period where individuals are infected but not yet infectious.
- B
SEIR allows for re-infection after recovery.
- C
SEIR has a variable transmission rate.
- D
SEIR includes a vaccination compartment.
Correct answer
ASEIR includes a latent (exposed) period where individuals are infected but not yet infectious.
Explanation
The speaker explains that SEIR adds an exposed (E) compartment for a latent period after infection where the individual is not yet infectious.
- A
- 24
When would an SI model be more appropriate than an SIR model?
- A
When the pathogen evolves rapidly.
- B
When the disease has a very long infectious period and recovery is negligible over the study period (e.g., HIV).
- C
When data are only available on incidence.
- D
When the population is very large.
Correct answer
BWhen the disease has a very long infectious period and recovery is negligible over the study period (e.g., HIV).
Explanation
The speaker uses HIV as an example where individuals remain infectious (no recovery) over the time frame of interest, so an SI model (no removal) may be more suitable.
- A
- 25
What does an SIRS model allow that a basic SIR model does not?
- A
Spatial spread.
- B
Multiple strains of the pathogen.
- C
Individuals can become susceptible again after recovery (waning immunity).
- D
The disease can be transmitted by asymptomatic individuals.
Correct answer
CIndividuals can become susceptible again after recovery (waning immunity).
Explanation
The speaker mentions models with re-infection (SIRS, SIS) where immunity wanes and individuals return to the susceptible compartment.
- A
- 26
Why might the transmission rate β be modeled as time-varying?
- A
To account for changes in contact rates due to public health interventions or behavioral changes.
- B
To account for demographic changes in population size.
- C
All of the above, but the main reason mentioned is changes in contact rates.
- D
To incorporate seasonal effects on pathogen survival.
Correct answer
CAll of the above, but the main reason mentioned is changes in contact rates.
Explanation
The speaker notes that β captures both pathogen infectivity and contact rates; contacts can change due to government restrictions or public reaction, so time-varying β can model these changes.
- A
- 27
In an individual level model (ILM), what are the three main components of the infection rate βit for a susceptible individual i at time t?
- A
Incubation period, infectious period, and recovery rate.
- B
Age, gender, and spatial location.
- C
Population size, contact rate, and removal rate.
- D
Susceptibility function, transmissibility function, and infection kernel.
Correct answer
DSusceptibility function, transmissibility function, and infection kernel.
Explanation
The speaker defines βit as a product of a susceptibility function for i, a transmissibility function for each infectious j, and an infection kernel describing connectivity, summed over infectious individuals, plus a sparks term.
- A
- 28
What is the role of the 'sparks' term εit in an ILM?
- A
It models the effect of vaccination.
- B
It represents random noise in the observation process.
- C
It increases the transmission rate during peak epidemic.
- D
It accounts for infections originating from outside the observed population.
Correct answer
DIt accounts for infections originating from outside the observed population.
Explanation
The speaker says the sparks term allows for infections coming from outside the study area that are not captured by the main kernel.
- A
- 29
In a discrete-time ILM, what is the probability that a susceptible individual i becomes infected at time t?
- A
βit
- B
Nβit
- C
1−e−βit
- D
e−βit
Correct answer
C1−e−βit
Explanation
The speaker gives the infection probability as 1−e−βit, analogous to the population-level model but with individual-specific βit.
- A
- 30
What does a spatial kernel κ(i,j) represent in an ILM?
- A
The susceptibility of individual i.
- B
The transmissibility of individual j.
- C
The probability that individuals i and j are in the same household.
- D
A function of distance between i and j that determines how infection risk decays with distance.
Correct answer
DA function of distance between i and j that determines how infection risk decays with distance.
Explanation
The speaker gives an example where κ(i,j)=dij−δ, a power-law decay with distance, describing how connectivity decreases with spatial separation.
- A
- 31
In a network-based ILM, what does cij=1 typically indicate?
- A
Individual i has been infected by j.
- B
Individual i is immune to the disease.
- C
Individuals i and j are of the same age group.
- D
Individuals i and j have a contact through which the disease could pass.
Correct answer
DIndividuals i and j have a contact through which the disease could pass.
Explanation
The speaker defines cij as binary indicating whether individuals i and j have contact (e.g., share a household, are friends) that could allow transmission.
- A
- 32
How can a contact network be made more realistic?
- A
By using Euclidean distance instead of network links.
- B
By assuming all contacts are equally likely.
- C
By making edges weighted (e.g., different contact rates) or directed.
- D
By only considering household contacts.
Correct answer
CBy making edges weighted (e.g., different contact rates) or directed.
Explanation
The speaker mentions that networks can have weights on edges representing different risks, and can be directional to reflect asymmetric transmission.
- A
- 33
What makes the likelihood for ILMs computationally challenging?
- A
The likelihood is only defined for continuous time.
- B
The likelihood is not identifiable.
- C
The likelihood requires solving differential equations.
- D
The likelihood involves a product over all susceptible individuals of individual-specific probabilities, which change with every infection or removal.
Correct answer
DThe likelihood involves a product over all susceptible individuals of individual-specific probabilities, which change with every infection or removal.
Explanation
The speaker notes that the likelihood is like a heterogeneous Bernoulli product, and for large populations, the probabilities differ per individual and must be updated frequently, leading to heavy computation.
- A
- 34
Which R package is described for fitting discrete-time individual level models?
- A
EpiILM
- B
nimble
- C
EpiILMCT
- D
tsSIR
Correct answer
AEpiILM
Explanation
The speaker introduces the EpiILM package for discrete-time ILM simulation and MCMC fitting. EpiILMCT is for continuous time.
- A
- 35
Which book is recommended for learning about population level time series SIR models?
- A
Epidemics: Models and Data using R (Bjørnstad)
- B
Statistical Rethinking (McElreath)
- C
Handbook of Infectious Disease Data Analysis (Held et al.)
- D
Nimble User Manual
Correct answer
AEpidemics: Models and Data using R (Bjørnstad)
Explanation
The speaker recommends the book 'Epidemics: Models and Data using R' by Bjørnstad for a nice overview of population level models, noting it may focus on MLE rather than Bayesian.
- A
- 36
What is a key advantage of using the EpiILM package?
- A
It does not require any programming knowledge.
- B
It provides functions for simulating and fitting spatial and network ILMs using MCMC.
- C
It only works with continuous time data.
- D
It automatically determines model structure from data.
Correct answer
BIt provides functions for simulating and fitting spatial and network ILMs using MCMC.
Explanation
The speaker lists that EpiILM includes functions for simulation, plotting, and fitting spatial and network models via MCMC.
- A

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