1. Home
  2. Explore
  3. Mathematics
  4. Bayesian Modeling Introduction

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Bayesian Modeling Introduction

  • 36Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Mechanistic vs Statistical Models

What primarily distinguishes mechanistic transmission models from standard statistical models (e.g., linear models)?

36 questions

  1. 1

    What primarily distinguishes mechanistic transmission models from standard statistical models (e.g., linear models)?

    1. A

      Mechanistic models are deterministic, whereas statistical models are always stochastic.

    2. B

      Mechanistic models require Bayesian inference, whereas statistical models can only be fitted via maximum likelihood.

    3. C

      Mechanistic models cannot be used for prediction, whereas statistical models are specifically designed for forecasting.

    4. 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
    D

    Mechanistic 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.

  2. 2

    Why are the parameters of mechanistic transmission models often easily interpretable?

    1. A

      Because they are derived from differential equations.

    2. B

      Because they are estimated only from prior information.

    3. C

      Because they are dimensionless and scale-free.

    4. D

      Because they directly represent biological quantities such as infectious period or transmission rate.

    Correct answer
    D

    Because 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.

  3. 3

    According to the talk, what is a key advantage of mechanistic models at the beginning of an epidemic?

    1. A

      They require no data to produce forecasts.

    2. B

      They automatically account for spatial heterogeneity.

    3. C

      Parameters can be estimated in a piecemeal fashion from literature or experiments.

    4. D

      They can be fitted with small sample sizes.

    Correct answer
    C

    Parameters 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.

  4. 4

    What is the primary use of mechanistic transmission models?

    1. A

      Determining the genetic sequence of pathogens.

    2. B

      Simulation and projection for forecasting or evaluating control strategies.

    3. C

      Estimating confidence intervals for regression coefficients.

    4. D

      Risk factor assessment and hypothesis testing.

    Correct answer
    B

    Simulation 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.

  5. 5

    Which of the following is NOT a type of transmission model mentioned in the talk?

    1. A

      Individual level models.

    2. B

      Population level (homogeneous) models.

    3. C

      Stratified (meta-population) models.

    4. D

      Machine learning models.

    Correct answer
    D

    Machine 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.

  6. 6

    What is the key assumption underlying a homogeneous (population level) transmission model?

    1. A

      The infection rate depends on spatial distance between individuals.

    2. B

      Individuals are all identical and mix completely at random.

    3. C

      Individuals are stratified by age and geography.

    4. D

      The population is closed with no birth or death.

    Correct answer
    B

    Individuals 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'.

  7. 7

    In a basic SIR model, what do the three compartments represent?

    1. A

      Symptomatic, Infectious, Recovered.

    2. B

      Susceptible, Exposed, Recovered.

    3. C

      Susceptible, Infectious, Removed.

    4. D

      Susceptible, Infectious, Recovered (immune).

    Correct answer
    C

    Susceptible, 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.

  8. 8

    In the discrete-time SIR model presented, what is the maximum number of new infections at time t?

    1. A

      The number of infectious individuals at time t.

    2. B

      The number of removed individuals at time t.

    3. C

      The number of susceptible individuals at time t.

    4. D

      The population size N.

    Correct answer
    C

    The 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.

  9. 9

    In the stochastic SIR model, what is the probability that a susceptible individual becomes infected at time t?

    1. A

      βItN\beta \frac{I_t}{N}βNIt​​

    2. B

      1−e−γ1 - e^{-\gamma}1−e−γ

    3. C

      βγ\frac{\beta}{\gamma}γβ​

    4. D

      1−e−βItN1 - e^{-\beta \frac{I_t}{N}}1−e−βNIt​​

    Correct answer
    D

    1−e−βItN1 - e^{-\beta \frac{I_t}{N}}1−e−βNIt​​

    Explanation

    The speaker gives the infection probability as 1−e−βIt/N1 - e^{-\beta I_t / N}1−e−βIt​/N, where β\betaβ is the transmission rate and ItI_tIt​ is the number of infectious individuals.

  10. 10

    What is the removal probability in the discrete-time SIR model?

    1. A

      e−γe^{-\gamma}e−γ

    2. B

      1−e−γ1 - e^{-\gamma}1−e−γ

    3. C

      γ\gammaγ

    4. D

      1−e−β1 - e^{-\beta}1−e−β

    Correct answer
    B

    1−e−γ1 - e^{-\gamma}1−e−γ

    Explanation

    The speaker defines the removal probability as 1−e−γ1 - e^{-\gamma}1−e−γ, where γ\gammaγ is the removal rate. This gives the probability that an infectious individual is removed (recovers) in one time step.

  11. 11

    What is the key difference between a deterministic SIR model and a stochastic SIR model?

    1. A

      The deterministic model always produces the same output; the stochastic model can produce different outcomes due to randomness.

    2. B

      The deterministic model uses difference equations; the stochastic model uses differential equations.

    3. C

      The deterministic model includes a latent period; the stochastic model does not.

    4. D

      The deterministic model assumes a closed population; the stochastic model allows migration.

    Correct answer
    A

    The 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.

  12. 12

    Which of the following correctly represents the discrete-time update equation for susceptible individuals in an SIR model?

    1. A

      St+1=St−ItS_{t+1} = S_t - I_tSt+1​=St​−It​

    2. B

      St+1=St−Rt∗S_{t+1} = S_t - R_t^*St+1​=St​−Rt∗​

    3. C

      St+1=St−It∗S_{t+1} = S_t - I_t^*St+1​=St​−It∗​

    4. D

      St+1=St−It+1∗S_{t+1} = S_t - I_{t+1}^*St+1​=St​−It+1∗​

    Correct answer
    C

    St+1=St−It∗S_{t+1} = S_t - I_t^*St+1​=St​−It∗​

    Explanation

    The speaker writes St+1=St−It∗S_{t+1} = S_t - I_t^*St+1​=St​−It∗​, where It∗I_t^*It∗​ is the number of new infections at time t.

  13. 13

    What are the two time series needed for maximum likelihood inference on the discrete-time SIR model?

    1. A

      Total population size and number of deaths.

    2. B

      Number of susceptibles and number of infectious at each time point.

    3. C

      Incidence and prevalence over time.

    4. D

      Number of new infections and number of new removals at each time point.

    Correct answer
    D

    Number 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.

  14. 14

    Why is Bayesian inference often preferred over maximum likelihood for epidemic models?

    1. A

      Bayesian methods are always faster computationally.

    2. B

      Bayesian methods always produce unique estimates.

    3. C

      Maximum likelihood cannot be used for stochastic models.

    4. D

      Bayesian methods easily handle incomplete data via data augmentation and can incorporate prior information.

    Correct answer
    D

    Bayesian 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.

  15. 15

    What does 'data augmentation' refer to in the context of Bayesian epidemic modeling?

    1. A

      Increasing the number of compartments in the model.

    2. B

      Using a larger population size than actually observed.

    3. C

      Adding extra fake data points to improve model fit.

    4. D

      Jointly estimating missing infection/removal times along with model parameters.

    Correct answer
    D

    Jointly 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.

  16. 16

    What prior distribution is typically used for positive rate parameters like β\betaβ and γ\gammaγ in SIR models?

    1. A

      Normal distribution.

    2. B

      Poisson distribution.

    3. C

      Beta distribution.

    4. D

      Gamma distribution (or half-normal, half-t, uniform positive).

    Correct answer
    D

    Gamma distribution (or half-normal, half-t, uniform positive).

    Explanation

    The speaker states that since β\betaβ and γ\gammaγ are positive rate parameters, gamma priors are typical, though half-normal or uniform positive can also be used.

  17. 17

    What is Nimble and why is it useful for fitting epidemic models?

    1. A

      It is a language for Bayesian modeling that compiles MCMC in C++ for speed and allows flexible samplers.

    2. B

      It is a package for ordinary differential equation solving.

    3. C

      It is a data visualization tool for epidemic curves.

    4. D

      It is a software that automatically selects the best model.

    Correct answer
    A

    It 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.

  18. 18

    What does a stationary trace plot from MCMC indicate?

    1. A

      The likelihood is flat.

    2. B

      The chain has converged and is sampling from the posterior distribution.

    3. C

      The model is misspecified.

    4. D

      The prior is too informative.

    Correct answer
    B

    The 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.

  19. 19

    What does the basic reproduction number R0R_0R0​ represent?

    1. A

      The rate at which the disease spreads per day.

    2. B

      The total number of cases in an epidemic.

    3. C

      The average number of secondary infections caused by a single infected individual in a fully susceptible population.

    4. D

      The proportion of the population that dies from the disease.

    Correct answer
    C

    The average number of secondary infections caused by a single infected individual in a fully susceptible population.

    Explanation

    The speaker defines R0R_0R0​ as the expected number of infections resulting directly from a single infection in an otherwise wholly susceptible population.

  20. 20

    How is R0R_0R0​ calculated in the simple SIR model?

    1. A

      R0=γβR_0 = \frac{\gamma}{\beta}R0​=βγ​

    2. B

      R0=β+γR_0 = \beta + \gammaR0​=β+γ

    3. C

      R0=βγR_0 = \frac{\beta}{\gamma}R0​=γβ​

    4. D

      R0=β×γR_0 = \beta \times \gammaR0​=β×γ

    Correct answer
    C

    R0=βγR_0 = \frac{\beta}{\gamma}R0​=γβ​

    Explanation

    The speaker derives R0=β/γR_0 = \beta/\gammaR0​=β/γ, which is the transmission rate divided by the removal rate, equivalent to transmission rate times infectious period.

  21. 21

    What does R0>1R_0 > 1R0​>1 imply for an epidemic?

    1. A

      The epidemic will die out quickly.

    2. B

      The disease is not transmissible.

    3. C

      On average, each infected person infects more than one other, so the epidemic tends to take off.

    4. D

      The population is already immune.

    Correct answer
    C

    On average, each infected person infects more than one other, so the epidemic tends to take off.

    Explanation

    The speaker states that if R0>1R_0 > 1R0​>1, the epidemic tends to take off and infect much of the population.

  22. 22

    What does R0<1R_0 < 1R0​<1 imply for an epidemic?

    1. A

      The epidemic will tend to die out.

    2. B

      The infectious period is extremely long.

    3. C

      The epidemic will spread rapidly.

    4. D

      The disease is highly infectious.

    Correct answer
    A

    The epidemic will tend to die out.

    Explanation

    The speaker says that if R0<1R_0 < 1R0​<1, the epidemic will tend to die out because each case produces less than one secondary case on average.

  23. 23

    What is the difference between an SIR model and an SEIR model?

    1. A

      SEIR includes a latent (exposed) period where individuals are infected but not yet infectious.

    2. B

      SEIR allows for re-infection after recovery.

    3. C

      SEIR has a variable transmission rate.

    4. D

      SEIR includes a vaccination compartment.

    Correct answer
    A

    SEIR 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.

  24. 24

    When would an SI model be more appropriate than an SIR model?

    1. A

      When the pathogen evolves rapidly.

    2. B

      When the disease has a very long infectious period and recovery is negligible over the study period (e.g., HIV).

    3. C

      When data are only available on incidence.

    4. D

      When the population is very large.

    Correct answer
    B

    When 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.

  25. 25

    What does an SIRS model allow that a basic SIR model does not?

    1. A

      Spatial spread.

    2. B

      Multiple strains of the pathogen.

    3. C

      Individuals can become susceptible again after recovery (waning immunity).

    4. D

      The disease can be transmitted by asymptomatic individuals.

    Correct answer
    C

    Individuals 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.

  26. 26

    Why might the transmission rate β\betaβ be modeled as time-varying?

    1. A

      To account for changes in contact rates due to public health interventions or behavioral changes.

    2. B

      To account for demographic changes in population size.

    3. C

      All of the above, but the main reason mentioned is changes in contact rates.

    4. D

      To incorporate seasonal effects on pathogen survival.

    Correct answer
    C

    All of the above, but the main reason mentioned is changes in contact rates.

    Explanation

    The speaker notes that β\betaβ captures both pathogen infectivity and contact rates; contacts can change due to government restrictions or public reaction, so time-varying β\betaβ can model these changes.

  27. 27

    In an individual level model (ILM), what are the three main components of the infection rate βit\beta_{it}βit​ for a susceptible individual iii at time ttt?

    1. A

      Incubation period, infectious period, and recovery rate.

    2. B

      Age, gender, and spatial location.

    3. C

      Population size, contact rate, and removal rate.

    4. D

      Susceptibility function, transmissibility function, and infection kernel.

    Correct answer
    D

    Susceptibility function, transmissibility function, and infection kernel.

    Explanation

    The speaker defines βit\beta_{it}βit​ as a product of a susceptibility function for iii, a transmissibility function for each infectious jjj, and an infection kernel describing connectivity, summed over infectious individuals, plus a sparks term.

  28. 28

    What is the role of the 'sparks' term εit\varepsilon_{it}εit​ in an ILM?

    1. A

      It models the effect of vaccination.

    2. B

      It represents random noise in the observation process.

    3. C

      It increases the transmission rate during peak epidemic.

    4. D

      It accounts for infections originating from outside the observed population.

    Correct answer
    D

    It 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.

  29. 29

    In a discrete-time ILM, what is the probability that a susceptible individual iii becomes infected at time ttt?

    1. A

      βit\beta_{it}βit​

    2. B

      βitN\frac{\beta_{it}}{N}Nβit​​

    3. C

      1−e−βit1 - e^{-\beta_{it}}1−e−βit​

    4. D

      e−βite^{-\beta_{it}}e−βit​

    Correct answer
    C

    1−e−βit1 - e^{-\beta_{it}}1−e−βit​

    Explanation

    The speaker gives the infection probability as 1−e−βit1 - e^{-\beta_{it}}1−e−βit​, analogous to the population-level model but with individual-specific βit\beta_{it}βit​.

  30. 30

    What does a spatial kernel κ(i,j)\kappa(i,j)κ(i,j) represent in an ILM?

    1. A

      The susceptibility of individual iii.

    2. B

      The transmissibility of individual jjj.

    3. C

      The probability that individuals iii and jjj are in the same household.

    4. D

      A function of distance between iii and jjj that determines how infection risk decays with distance.

    Correct answer
    D

    A function of distance between iii and jjj that determines how infection risk decays with distance.

    Explanation

    The speaker gives an example where κ(i,j)=dij−δ\kappa(i,j) = d_{ij}^{-\delta}κ(i,j)=dij−δ​, a power-law decay with distance, describing how connectivity decreases with spatial separation.

  31. 31

    In a network-based ILM, what does cij=1c_{ij} = 1cij​=1 typically indicate?

    1. A

      Individual iii has been infected by jjj.

    2. B

      Individual iii is immune to the disease.

    3. C

      Individuals iii and jjj are of the same age group.

    4. D

      Individuals iii and jjj have a contact through which the disease could pass.

    Correct answer
    D

    Individuals iii and jjj have a contact through which the disease could pass.

    Explanation

    The speaker defines cijc_{ij}cij​ as binary indicating whether individuals iii and jjj have contact (e.g., share a household, are friends) that could allow transmission.

  32. 32

    How can a contact network be made more realistic?

    1. A

      By using Euclidean distance instead of network links.

    2. B

      By assuming all contacts are equally likely.

    3. C

      By making edges weighted (e.g., different contact rates) or directed.

    4. D

      By only considering household contacts.

    Correct answer
    C

    By 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.

  33. 33

    What makes the likelihood for ILMs computationally challenging?

    1. A

      The likelihood is only defined for continuous time.

    2. B

      The likelihood is not identifiable.

    3. C

      The likelihood requires solving differential equations.

    4. D

      The likelihood involves a product over all susceptible individuals of individual-specific probabilities, which change with every infection or removal.

    Correct answer
    D

    The 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.

  34. 34

    Which R package is described for fitting discrete-time individual level models?

    1. A

      EpiILM

    2. B

      nimble

    3. C

      EpiILMCT

    4. D

      tsSIR

    Correct answer
    A

    EpiILM

    Explanation

    The speaker introduces the EpiILM package for discrete-time ILM simulation and MCMC fitting. EpiILMCT is for continuous time.

  35. 35

    Which book is recommended for learning about population level time series SIR models?

    1. A

      Epidemics: Models and Data using R (Bjørnstad)

    2. B

      Statistical Rethinking (McElreath)

    3. C

      Handbook of Infectious Disease Data Analysis (Held et al.)

    4. D

      Nimble User Manual

    Correct answer
    A

    Epidemics: 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.

  36. 36

    What is a key advantage of using the EpiILM package?

    1. A

      It does not require any programming knowledge.

    2. B

      It provides functions for simulating and fitting spatial and network ILMs using MCMC.

    3. C

      It only works with continuous time data.

    4. D

      It automatically determines model structure from data.

    Correct answer
    B

    It 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.

Question 1 of 36
Question 1 of 36

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent