Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
Comparative Study
. 2012 Mar 1;175(5):368-75.
doi: 10.1093/aje/kwr433. Epub 2012 Feb 3.

Bayesian posterior distributions without Markov chains

Affiliations
Comparative Study

Bayesian posterior distributions without Markov chains

Stephen R Cole et al. Am J Epidemiol. .

Abstract

Bayesian posterior parameter distributions are often simulated using Markov chain Monte Carlo (MCMC) methods. However, MCMC methods are not always necessary and do not help the uninitiated understand Bayesian inference. As a bridge to understanding Bayesian inference, the authors illustrate a transparent rejection sampling method. In example 1, they illustrate rejection sampling using 36 cases and 198 controls from a case-control study (1976-1983) assessing the relation between residential exposure to magnetic fields and the development of childhood cancer. Results from rejection sampling (odds ratio (OR) = 1.69, 95% posterior interval (PI): 0.57, 5.00) were similar to MCMC results (OR = 1.69, 95% PI: 0.58, 4.95) and approximations from data-augmentation priors (OR = 1.74, 95% PI: 0.60, 5.06). In example 2, the authors apply rejection sampling to a cohort study of 315 human immunodeficiency virus seroconverters (1984-1998) to assess the relation between viral load after infection and 5-year incidence of acquired immunodeficiency syndrome, adjusting for (continuous) age at seroconversion and race. In this more complex example, rejection sampling required a notably longer run time than MCMC sampling but remained feasible and again yielded similar results. The transparency of the proposed approach comes at a price of being less broadly applicable than MCMC.

PubMed Disclaimer

Figures

Figure 1.
Figure 1.
Log odds ratio (OR) for childhood leukemia according to residential exposure to magnetic fields, Denver, Colorado, 1976–1983. Data were obtained from a case-control study by Savitz et al. (11). The y-axis shows the intercept (i.e., the log odds of being a leukemia case among the unexposed) (11). Panel A plots a random sample of size 20,000 from the joint prior distribution; panel B plots the 20,000 rejection-sampling draws from the joint posterior distribution; and panel C plots the 20,000 Markov chain Monte Carlo draws from the joint posterior distribution.

Comment in

References

    1. Tanner MA, Wong WH. The calculation of posterior distributions by data augmentation. J Am Stat Assoc. 1987;82(398):528–540.
    1. Gelfand AE, Smith AFM. Sampling based approaches to calculating marginal densities. J Am Stat Assoc. 1990;85(410):398–409.
    1. Berry DA, Stangl D. Bayesian Biostatistics. Boca Raton, FL: CRC Press; 1996.
    1. Ibrahim JG, Chen MH, Sinha D. Bayesian Survival Analysis. New York, NY: Springer Publishing Company; 2001.
    1. Gustafson P. Measurement Error and Misclassification in Statistics and Epidemiology: Impacts and Bayesian Adjustments. New York, NY: Chapman & Hall, Inc; 2003.

Publication types