The Metropolis algorithm: A useful tool for epidemiologists

06/28/2023
by   Alexander P Keil, et al.
0

The Metropolis algorithm is a Markov chain Monte Carlo (MCMC) algorithm used to simulate from parameter distributions of interest, such as generalized linear model parameters. The "Metropolis step" is a keystone concept that underlies classical and modern MCMC methods and facilitates simple analysis of complex statistical models. Beyond Bayesian analysis, MCMC is useful for generating uncertainty intervals, even under the common scenario in causal inference in which the target parameter is not directly estimated by a single, fitted statistical model. We demonstrate, with a worked example, pseudo-code, and R code, the basic mechanics of the Metropolis algorithm. We use the Metropolis algorithm to estimate the odds ratio and risk difference contrasting the risk of childhood leukemia among those exposed to high versus low level magnetic fields. This approach can be used for inference from Bayesian and frequentist paradigms and, in small samples, offers advantages over large-sample methods like the bootstrap.

READ FULL TEXT

page 24

page 26

research
10/17/2017

Data analysis recipes: Using Markov Chain Monte Carlo

Markov Chain Monte Carlo (MCMC) methods for sampling probability density...
research
04/23/2018

Bayesian Updating and Uncertainty Quantification using Sequential Tempered MCMC with the Rank-One Modified Metropolis Algorithm

Bayesian methods are critical for quantifying the behaviors of systems. ...
research
09/19/2018

Parameter Recovery with Marginal Maximum Likelihood and Markov Chain Monte Carlo Estimation for the Generalized Partial Credit Model

The generalized partial credit model (GPCM) is a popular polytomous IRT ...
research
10/06/2022

Approximate Methods for Bayesian Computation

Rich data generating mechanisms are ubiquitous in this age of informatio...
research
07/08/2020

Deep Fiducial Inference

Since the mid-2000s, there has been a resurrection of interest in modern...
research
12/01/2010

A Bayesian Methodology for Estimating Uncertainty of Decisions in Safety-Critical Systems

Uncertainty of decisions in safety-critical engineering applications can...
research
01/18/2023

An MCMC Approach to Classical Estimation

This paper studies computationally and theoretically attractive estimato...

Please sign up or login with your details

Forgot password? Click here to reset