B2Z: An R package for bayesian two-zone models

João Vitor Dias Monteiro, Sudipto Banerjee, Gurumurthy Ramachandran

Research output: Contribution to journalArticlepeer-review

2 Scopus citations


A primary issue in industrial hygiene is the estimation of a worker's exposure to chemical, physical and biological agents. Mathematical modeling is increasingly being used as a method for assessing occupational exposures. However, predicting exposure in real settings is constrained by lack of quantitative knowledge of exposure determinants. Recently, Zhang, Banerjee, Yang, Lungu, and Ramachandran (2009) proposed Bayesian hierarchical models for estimating parameters and exposure concentrations for the two-zone differential equation models and for predicting concentrations in a zone near and far away from the source of contamination.Bayesian estimation, however, can often require substantial amounts of user-defined code and tuning. In this paper, we introduce a statistical software package, B2Z, built upon the R statistical computing platform that implements a Bayesian model for estimating model parameters and exposure concentrations in two-zone models. We discuss the algorithms behind our package and illustrate its use with simulated and real data examples.

Original languageEnglish (US)
Pages (from-to)1-23
Number of pages23
JournalJournal of Statistical Software
Issue number2
StatePublished - Jul 2011


  • Bayesian inference
  • Markov chain monte carlo
  • R package
  • Two-zone models

Fingerprint Dive into the research topics of 'B2Z: An R package for bayesian two-zone models'. Together they form a unique fingerprint.

Cite this