Abstract
Introduction:
In reliability engineering and biomedical research, event information is often recorded as counts within fixed time intervals rather than exact event times. Log-linear Poisson models provide a principled framework for modeling such count data through covariate-dependent intensity functions.
Methods:
This study develops a Bayesian formulation of the Poisson regression model using weakly informative priors and compares analytic and simulation-based approaches for posterior estimation, including Laplace approximation and several Markov Chain Monte Carlo (MCMC) methods. The proposed framework is illustrated using a system reliability dataset and a medical event-count dataset. Posterior summaries, convergence diagnostics, prior sensitivity analysis, and posterior predictive checks were employed to assess estimation performance and model adequacy.
Results:
The results demonstrate that Laplace approximation produces estimates comparable to full MCMC methods for moderate sample sizes. Posterior estimates, convergence diagnostics, and model adequacy assessments showed strong agreement across Bayesian computational approaches.
Discussion:
Simulation-based methods offer greater flexibility for more complex settings and provide a useful benchmark for validating analytic approximations. The findings support the application of Bayesian log-linear Poisson models as a reliable framework for analyzing count data in reliability and medical research.
1 Introduction
In reliability engineering and biomedical research, event information is often recorded as counts observed within fixed time intervals rather than as exact event times. Examples include the number of system component failures per month, or the number of clinical events observed during follow-up. Such type of data often arise from reporting practices or monitoring systems that aggregate events over time. When events occur independently within short intervals and the probability of occurrence in a small subinterval is low, the Poisson distribution provides a natural modeling framework for failure and event counts (, , , ).
The primary objective of this work is to develop a Bayesian approach for log-linear Poisson regression models in which the event intensity depends on covariates through a log-link function. Within this framework, regression parameters are assigned weakly informative priors to provide regularization while avoiding overly restrictive assumptions. Weakly informative priors are particularly useful when prior knowledge is limited but complete noninformativeness may lead to instability in estimation (, , ).
Because posterior distributions for Poisson regression models do not admit closed-form solutions, Bayesian inference requires numerical approximation. This study compares analytic and simulation-based computational approaches for posterior estimation. Specifically, Laplace approximation is used as a deterministic second-order approximation to the posterior density (), while simulation-based methods include Independent Metropolis sampling, Gibbs sampling (, , , ), and Hamiltonian Monte Carlo implemented through the No-U-Turn Sampler (). These approaches represent different strategies for exploring posterior distributions and differ in computational efficiency and accuracy.
All methods are implemented within the R environment (), using LaplacesDemon for Laplace approximation and Independent Metropolis sampling (), R2jags for Gibbs sampling (, , , ), and RStan for Hamiltonian Monte Carlo (). Prior sensitivity analysis is conducted to evaluate the influence of prior specification on posterior inference, and posterior predictive checks are used to assess model adequacy and the plausibility of the Poisson modelling assumptions (, ).
The methodology is illustrated using two datasets: a system component reliability dataset involving monthly failure counts and a medical event-count dataset related to metastasis occurrence. The goal is not to introduce a new probabilistic model, but to provide a structured comparison of Bayesian computational approaches for log-linear Poisson models and to assess their empirical agreement, stability, and practical suitability across distinct applied domains.
The remainder of the paper is organized as follows. Section 2 presents the Poisson regression model and Bayesian formulation. Section 3 describes the computational methods. Section 4 reports the empirical results for the two applications. Section 5 discusses diagnostic assessment and model validation, and Section 6 concludes with a discussion of findings and limitations.
2 The Poisson model
This section presents the log-linear Poisson regression model, its likelihood formulation, and the associated Bayesian framework. These elements form the basis for the computational approaches examined in this study, including Laplace approximation, Independent Metropolis sampling, Gibbs sampling, and Hamiltonian Monte Carlo via the No-U-Turn Sampler.
2.1 The model and likelihood
Let for denote observed event counts within fixed time intervals. We assume:
With probability mass function.
Here, represents the expected event count for observation . To ensure positivity and incorporate covariate effects, a log-link function is adopted:
Where is the design matrix and is the vector of regression coefficients.
The likelihood for the full dataset is:
When deriving the posterior distribution, the factorial terms do not depend on and can be absorbed into the proportionality constant (Gelman et al., 2013). The likelihood kernel is therefore.
This log-linear formulation accommodates both reliability failure counts and medical event counts within a unified modeling framework.
2.2 Bayesian framework
Bayesian inference proceeds by combining the likelihood with prior distributions for the regression coefficients. By Bayes’ theorem,
Weakly informative Normal priors are assigned to the regression parameters to provide regularization without imposing strong prior structure (, , , , ). For centered and scaled predictors, we consider priors of the form.
Where is chosen large enough to avoid undue influence while stabilizing computation (, ).
The resulting posterior distribution does not admit a closed-form expression due to the non-conjugacy introduced by the log-link. Consequently, marginal posterior distributions and posterior expectations require numerical approximation.
2.3 Computational methods
Bayesian inference for the log-linear Poisson model reduces to evaluating integrals that are analytically intractable (). We therefore consider both analytic approximation and simulation-based methods.
2.3.1 Laplace approximation
The Laplace approximation provides a second-order Taylor expansion of the log-posterior density around its mode, yielding a Gaussian approximation centered at the maximum a posteriori estimate (, ). This deterministic approach is computationally efficient and often accurate when the posterior is unimodal and approximately symmetric (, ). Its performance depends on the curvature of the log-posterior and is most reliable in moderate to large samples ().
2.3.2 Markov chain Monte Carlo methods
Markov Chain Monte Carlo (MCMC) methods generate dependent samples from the posterior distribution using a Markov chain whose stationary distribution is the target posterior (, , , ). In this study, we implement Independent-Metropolis (IM) sampling and Gibbs sampling to explore the posterior distribution under the same likelihood and prior specifications (, ).
Independent Metropolis relies on a fixed proposal distribution, while Gibbs sampling draws sequentially from full conditional distributions when available. These methods are flexible but may exhibit slow mixing in higher-dimensional or highly correlated parameter spaces.
2.3.3 Hamiltonian Monte Carlo and the no-U-turn sampler
Hamiltonian Monte Carlo (HMC) improves sampling efficiency by incorporating gradient information from the log-posterior to suppress random-walk behavior (); (Gelman et al., 2013). The No-U-Turn Sampler (NUTS) adaptively selects trajectory length and step size, eliminating the need for manual tuning and improving robustness (Hoffman and Gelman, 2014). This method is particularly effective for higher-dimensional regression models.
2.4 Prior sensitivity and posterior predictive assessment
Because prior specification can influence posterior inference, especially in smaller samples, we conduct prior sensitivity analysis by varying prior scale parameters and examining the resulting posterior summaries. Stability across specifications indicates that inference is primarily data-driven and robust to reasonable prior choices.
Model adequacy is assessed using posterior predictive checks, in which replicated datasets are generated from the posterior predictive distribution and compared with observed data (Gelman et al., 2013). Discrepancies between simulated and observed summaries provide evidence of potential model misspecification.
3 Datasets: empirical applications and simulation study
The proposed Bayesian log-linear Poisson framework is illustrated using two applications: a system component reliability dataset and a medical event-count dataset. All analyses were conducted in R using the packages LaplacesDemon, R2jags, and RStan to implement the analytic and simulation-based estimation procedures described in Section 2.
3.1 System component reliability data
The first dataset, referred to as the System Component Reliability (SCR) data, is obtained from SAS Institute Inc. (). The data record the monthly number of maintenance removals for a complex system over a four-year period (1987–1990). The system consists of numerous components that periodically fail and are replaced or repaired. During the observation period, the system operated under approximately steady conditions.
The response variable is the monthly count of component removals, modeled as a Poisson-distributed outcome. The observed counts are presented in Table 1. The discrete nature of the data distribution is illustrated in Figure 1.
Table 1
| Year | Month | Removals | Year | Month | Removals | Year | Month | Removals |
|---|---|---|---|---|---|---|---|---|
| 1987 | 1 | 2 | 1987 | 2 | 4 | 1987 | 3 | 3 |
| 1987 | 4 | 3 | 1987 | 5 | 3 | 1987 | 6 | 8 |
| 1987 | 7 | 2 | 1987 | 8 | 6 | 1987 | 9 | 3 |
| 1987 | 10 | 9 | 1987 | 11 | 4 | 1987 | 12 | 10 |
| 1988 | 1 | 4 | 1988 | 2 | 6 | 1988 | 3 | 4 |
| 1988 | 4 | 4 | 1988 | 5 | 3 | 1988 | 6 | 5 |
| 1988 | 7 | 3 | 1988 | 8 | 4 | 1988 | 9 | 5 |
| 1988 | 10 | 3 | 1988 | 11 | 6 | 1988 | 12 | 3 |
| 1989 | 1 | 2 | 1989 | 2 | 6 | 1989 | 3 | 1 |
| 1989 | 4 | 5 | 1989 | 5 | 5 | 1989 | 6 | 4 |
| 1989 | 7 | 2 | 1989 | 8 | 2 | 1989 | 9 | 2 |
| 1989 | 10 | 5 | 1989 | 11 | 1 | 1989 | 12 | 10 |
| 1990 | 1 | 3 | 1990 | 2 | 8 | 1990 | 3 | 12 |
| 1990 | 4 | 7 | 1990 | 5 | 3 | 1990 | 6 | 2 |
| 1990 | 7 | 4 | 1990 | 8 | 3 | 1990 | 9 | 0 |
| 1990 | 10 | 6 | 1990 | 11 | 6 | 1990 | 12 | 6 |
System component reliability data (monthly removals).
Figure 1
The discrete nature and moderate variability of the counts make this dataset suitable for illustrating Bayesian Poisson regression in a reliability setting.
3.2 Medical event-count data
The second application considers medical count data motivated by lung cancer progression, where the response variable represents the number of metastasis events observed for a patient. Covariates include demographic and clinical characteristics such as age, gender, tumor size, smoking history, cancer stage, and treatment type.
Because access to real individual-level clinical data is restricted, a simulated dataset was generated using a log-linear Poisson model with clinically plausible parameter values. This controlled structure allows evaluation of Bayesian estimation procedures in a multivariable medical setting. A sample of the dataset is shown in Table 2.
Table 2
| Age | Gender | Tumor size | Smoking | Stage | Treatment | Metastasis count |
|---|---|---|---|---|---|---|
| 55 | Male | 5.1 | Yes | I | Chemo | 1 |
| 70 | Female | 6.3 | No | III | None | 0 |
| 68 | Male | 4.7 | Yes | IV | Radiation | 3 |
| 63 | Female | 3.9 | No | II | Surgery | 2 |
| 72 | Male | 5.6 | Yes | I | Chemo | 1 |
| 66 | Female | 6.1 | No | III | None | 2 |
Sample of the simulated lung cancer dataset.
The dataset includes both continuous and categorical covariates: patient age and tumor size (continuous), gender and smoking history (binary), cancer stage (I–IV), and treatment type (Chemo, Radiation, Surgery, or None). The response variable is the number of metastasis events, modelled as a Poisson-distributed count.
The presence of both continuous and categorical predictors produces a higher-dimensional regression structure than in the reliability example, allowing assessment of computational efficiency across estimation methods.
4 Bayesian implementation and results
4.1 Bayesian analysis of system’s components reliability data
The monthly number of component removals, denoted by , is modeled within the unified log-linear Poisson regression framework introduced earlier. For month , the outcome satisfies.
With conditional mean.
This specification defines a generalized linear model with canonical log link, where the intercept corresponds to the baseline category (Year 1987, Month 1), the year indicators measure inter-annual deviations, and the month indicators capture seasonal variation. The same likelihood structure (as defined in sec. 2) and prior specification are retained across all computational strategies to ensure methodological consistency.
Independent weakly informative priors are assigned as:
Which allow the data to dominate posterior inference while maintaining numerical stability (, , , ). Because the posterior distribution does not admit a closed-form solution, both analytic and simulation-based approximation methods are applied.
Before applying full posterior computation, preliminary fit was obtained using the bayesglm function from the arm package in R (). This provides rapid approximate posterior summaries (Table 3) under Student- priors and serves as a diagnostic starting point rather than the primary inferential method used for comparison.
Table 3
| Parameters | Coef.est | Coef.se | z-value | Pr (>|z|) |
|---|---|---|---|---|
| (Intercept) | 1.1829 | 0.2781 | 4.2534 | 0.0000 |
| Factor (year) 1988 | −0.1285 | 0.1922 | −0.6687 | 0.5037 |
| Factor (year) 1989 | −0.2331 | 0.1977 | −1.1790 | 0.2384 |
| Factor (year) 1990 | 0.0527 | 0.1836 | 0.2873 | 0.7739 |
| Factor (month) 2 | 0.6716 | 0.3236 | 2.0754 | 0.0379 |
| Factor (month) 3 | 0.4900 | 0.3354 | 1.4613 | 0.1439 |
| Factor (month) 4 | 0.4391 | 0.3390 | 1.2955 | 0.1952 |
| Factor (month) 5 | 0.1377 | 0.3634 | 0.3789 | 0.7048 |
| Factor (month) 6 | 0.4391 | 0.3390 | 1.2955 | 0.1952 |
| Factor (month) 7 | −0.0977 | 0.3866 | −0.2527 | 0.8005 |
| Factor (month) 8 | 0.2055 | 0.3574 | 0.5749 | 0.5653 |
| Factor (month) 9 | −0.1899 | 0.3968 | −0.4786 | 0.6322 |
| Factor (month) 10 | 0.6291 | 0.3262 | 1.9288 | 0.0538 |
| Factor (month) 11 | 0.3290 | 0.3473 | 0.9473 | 0.3435 |
| Factor (month) 12 | 0.8607 | 0.3230 | 2.7499 | 0.0060 |
Preliminary Bayesian fit using bayesglm.
Although informative, these estimates indicate moderate seasonal effects and relatively small year-to-year differences. However, these summaries rely on asymptotic normal approximations and do not represent the full posterior inference targeted in this study.
A model matrix was constructed to implement the Bayesian estimation procedures in LaplacesDemon, JAGS, and Stan. The same likelihood and prior specification were retained across all computational approaches to ensure methodological.
4.1.1 Bayesian estimation using Laplace approximation method
The Laplace approximation provides a deterministic second-order approximation to the posterior density (, ).
Where the likelihood arises directly from the log-linear Poisson specification and the prior is Gaussian. A second-order Taylor expansion of around its posterior mode yields:
Where is the negative Hessian matrix of the log-posterior. Optimization was performed using the limited-memory BFGS algorithm within the LaplacesDemon package. This approach produces posterior modes and curvature-based credible intervals derived directly from the log-linear Poisson likelihood.
Table 4 presents the posterior summaries obtained via Laplace approximation. A clear graphical summary of these results illustrated in Figure 2.
Table 4
| Parameters | Mode | SD | LB | UB |
|---|---|---|---|---|
| β₀ (Intercept) | 1.0847 | 0.2400 | 0.6048 | 1.5647 |
| β₁ (1988) | −0.1310 | 0.1937 | −0.5184 | 0.2564 |
| β₂ (1989) | −0.2364 | 0.1994 | −0.6351 | 0.1623 |
| β₃ (1990) | 0.0513 | 0.1891 | −0.3188 | 0.4215 |
| γ₂ (Feb) | 0.7798 | 0.2946 | 0.1905 | 1.3690 |
| γ₃ (Mar) | 0.5974 | 0.3084 | −0.0194 | 1.2143 |
| γ₄ (Apr) | 0.5461 | 0.3126 | −0.0791 | 1.1714 |
| γ₅ (May) | 0.2408 | 0.3412 | −0.4415 | 0.9231 |
| γ₆ (Jun) | 0.5461 | 0.3126 | −0.0791 | 1.1713 |
| γ₇ (Jul) | −0.0004 | 0.0163 | −0.0329 | 0.0321 |
| γ₈ (Aug) | 0.3098 | 0.3343 | −0.3588 | 0.9783 |
| γ₉ (Sep) | −0.0957 | 0.3810 | −0.8578 | 0.6666 |
| γ₁₀ (Oct) | 0.7372 | 0.2977 | 0.1418 | 1.3326 |
| γ₁₁ (Nov) | 0.4349 | 0.3224 | −0.2098 | 1.0797 |
| γ₁₂ (Dec) | 0.9690 | 0.2822 | 0.4046 | 1.5334 |
Posterior summary via Laplace approximation.
Figure 2
The approximation yields stable posterior modes and symmetric credible intervals, consistent with a unimodal posterior structure.
4.1.2 Bayesian estimation using independent Metropolis (IM) algorithm
Full simulation-based inference was conducted using the Independent Metropolis (IM) algorithm implemented in LaplacesDemon. The proposal distribution was centered near the Laplace mode to improve efficiency. The IM algorithm targets the same posterior density defined by the log-linear Poisson likelihood and Normal priors.
The observed acceptance rate of 0.49 falls within the recommended efficiency range for Metropolis-type samplers (), indicating adequate mixing.
The resulting posterior summaries (Table 5) closely align with the Laplace approximation, validating the analytic results (see Figure 3).
Table 5
| Parameter | Mean | SD | MCSE | ESS | LB | Median | UB |
|---|---|---|---|---|---|---|---|
| β₀ (intercept) | 1.0609 | 0.329 | 0.0133 | 755 | 0.361 | 1.081 | 1.658 |
| β₁ (1988) | −0.1377 | 0.196 | 0.0061 | 1,000 | −0.522 | −0.132 | 0.257 |
| β₂ (1989) | −0.2382 | 0.196 | 0.0061 | 1,000 | −0.610 | −0.246 | 0.142 |
| β₃ (1990) | 0.0468 | 0.185 | 0.0057 | 1,000 | −0.307 | 0.047 | 0.406 |
| γ₂ (Feb) | 0.7741 | 0.378 | 0.0160 | 756 | 0.060 | 0.782 | 1.492 |
| γ₃ (Mar) | 0.5901 | 0.375 | 0.0140 | 864 | −0.126 | 0.592 | 1.320 |
| γ₄ (Apr) | 0.5432 | 0.387 | 0.0151 | 863 | −0.226 | 0.547 | 1.281 |
| γ₅ (May) | 0.2138 | 0.394 | 0.0150 | 833 | −0.551 | 0.226 | 0.948 |
| γ₆ (Jun) | 0.5494 | 0.383 | 0.0148 | 774 | −0.186 | 0.541 | 1.297 |
| γ₇ (Jul) | −0.0364 | 0.426 | 0.0166 | 776 | −0.853 | −0.032 | 0.764 |
| γ₈ (Aug) | 0.2909 | 0.416 | 0.0158 | 817 | −0.479 | 0.277 | 1.131 |
| γ₉ (Sep) | −0.1309 | 0.436 | 0.0158 | 842 | −1.029 | −0.128 | 0.674 |
| γ₁₀ (Oct) | 0.7400 | 0.372 | 0.0151 | 820 | 0.073 | 0.732 | 1.525 |
| γ₁₁ (Nov) | 0.4356 | 0.389 | 0.0146 | 807 | −0.334 | 0.423 | 1.197 |
| γ₁₂ (Dec) | 0.9797 | 0.363 | 0.0145 | 823 | 0.303 | 0.966 | 1.729 |
| Deviance | 211.0293 | 5.507 | 0.1870 | 830 | 202.183 | 210.318 | 223.613 |
| LP | −171.1102 | 2.754 | 0.0935 | 830 | −177.402 | −170.754 | −166.686 |
Posterior summary via independent metropolis.
Figure 3
4.1.3 Bayesian estimation using Gibbs sampling (JAGS)
The model was re-expressed in JAGS using the same likelihood structure:
With and normal priors for .
Gibbs sampling iteratively draws from full conditional distributions implied by the joint posterior of the log-linear Poisson model (, , ). Convergence was assessed using the potential scale reduction factor (, ), with all parameters satisfying . Convergence diagnostics indicate stable mixing and posterior estimates consistent with both Laplace and Independent Metropolis results. Table 6 represents the full posterior summary via Gibbs sampling using JAGS language (see Figure 4).
Table 6
| Parameter | Mean | SD | 2.5% | 50% | 97.5% | Rhat | n.eff |
|---|---|---|---|---|---|---|---|
| β₀ (Intercept) | 1.027 | 0.328 | 0.332 | 1.048 | 1.614 | 1.001 | 3,100 |
| β₁ (1988) | −0.129 | 0.198 | −0.514 | −0.132 | 0.259 | 1.001 | 3,100 |
| β₂ (1989) | −0.233 | 0.195 | −0.623 | −0.230 | 0.147 | 1.001 | 3,100 |
| β₃ (1990) | 0.015 | 0.186 | −0.305 | 0.047 | 0.417 | 1.001 | 3,100 |
| γ₂ (Feb) | 0.808 | 0.373 | 0.089 | 0.808 | 1.562 | 1.001 | 3,100 |
| γ₃ (Mar) | 0.620 | 0.386 | −0.106 | 0.608 | 1.406 | 1.001 | 3,100 |
| γ₄ (Apr) | 0.570 | 0.379 | −0.139 | 0.561 | 1.330 | 1.001 | 3,100 |
| γ₅ (May) | 0.246 | 0.404 | −0.512 | 0.243 | 1.076 | 1.001 | 3,100 |
| γ₆ (Jun) | 0.569 | 0.381 | −0.147 | 0.555 | 1.348 | 1.001 | 3,100 |
| γ₇ (Jul) | 0.004 | 0.434 | −0.826 | 0.004 | 0.863 | 1.001 | 3,100 |
| γ₈ (Aug) | 0.323 | 0.406 | −0.454 | 0.321 | 1.124 | 1.001 | 3,100 |
| γ₉ (Sep) | −0.094 | 0.457 | −1.017 | −0.090 | 0.788 | 1.001 | 3,100 |
| γ₁₀ (Oct) | 0.762 | 0.371 | 0.052 | 0.748 | 1.532 | 1.001 | 3,100 |
| γ₁₁ (Nov) | 0.450 | 0.390 | −0.300 | 0.452 | 1.224 | 1.002 | 1,100 |
| γ₁₂ (Dec) | 1.004 | 0.361 | 0.349 | 0.986 | 1.748 | 1.001 | 3,100 |
| deviance | 211.033 | 8.392 | 202.147 | 210.172 | 223.327 | 1.001 | 3,100 |
Posterior summary via Gibbs sampling.
Figure 4
4.1.4 Bayesian estimation using Hamiltonian Monte Carlo (NUTS) sampler (Stan)
Hamiltonian Monte Carlo leverages gradient information from the log-posterior to reduce random-walk behavior (); (Gelman et al., 2013). The No-U-Turn Sampler (NUTS) adaptively tunes trajectory length and step size (Hoffman and Gelman, 2014), improving efficiency in higher dimensions. The gradient of the log-posterior,
Is computed directly from the log-linear Poisson likelihood and Normal priors, enabling efficient exploration of the posterior surface. Four parallel chains were run in Stan, and all parameters achieved .
Posterior summaries (Table 7) are nearly identical to those obtained from the other MCMC methods, confirming consistency across computational strategies (see Figure 5).
Table 7
| Parameter | Mean | SD | 2.5% | 50% | 97.5% | n.eff | Rhat |
|---|---|---|---|---|---|---|---|
| β₀ (Intercept) | 1.099 | 0.283 | 0.515 | 1.112 | 1.637 | 974 | 1.002 |
| β₁ (1988) | −0.122 | 0.196 | −0.502 | −0.124 | 0.265 | 3,403 | 1.001 |
| β₂ (1989) | −0.230 | 0.204 | −0.639 | −0.230 | 0.159 | 3,821 | 1.001 |
| β₃ (1990) | 0.060 | 0.190 | −0.311 | 0.060 | 0.437 | 3,420 | 1.001 |
| γ₂ (Feb) | 0.721 | 0.334 | 0.074 | 0.720 | 1.376 | 1,288 | 1.000 |
| γ₃ (Mar) | 0.537 | 0.342 | −0.139 | 0.537 | 1.208 | 1,401 | 1.001 |
| γ₄ (Apr) | 0.485 | 0.346 | −0.194 | 0.484 | 1.157 | 1,393 | 1.001 |
| γ₅ (May) | 0.174 | 0.369 | −0.563 | 0.173 | 0.871 | 1,618 | 1.001 |
| γ₆ (Jun) | 0.486 | 0.343 | −0.180 | 0.483 | 1.159 | 1,314 | 1.001 |
| γ₇ (Jul) | −0.077 | 0.393 | −0.853 | −0.074 | 0.667 | 1,684 | 1.000 |
| γ₈ (Aug) | 0.244 | 0.366 | −0.464 | 0.247 | 0.965 | 1,489 | 1.002 |
| γ₉ (Sep) | −0.170 | 0.400 | −0.971 | −0.162 | 0.606 | 1753 | 1.000 |
| γ₁₀ (Oct) | 0.681 | 0.336 | 0.044 | 0.682 | 1.342 | 1,291 | 1.001 |
| γ₁₁ (Nov) | 0.373 | 0.358 | −0.338 | 0.372 | 1.068 | 1,506 | 1.000 |
| γ₁₂ (Dec) | 0.917 | 0.316 | 0.314 | 0.913 | 1.538 | 1,186 | 1.001 |
| lp__ | 106.567 | 2.850 | 100.159 | 106.976 | 111.104 | 2040 | 1.000 |
Posterior summary via NUTS sampler using RStan.
Figure 5
4.1.5 Comparative assessment
Across all four methods—Laplace approximation, Independent Metropolis, Gibbs sampling, and Hamiltonian Monte Carlo—the posterior summaries are highly consistent. The Laplace method provides a fast deterministic approximation (), while IM and Gibbs sampling confirm its accuracy through stochastic simulation (Robert and Casella, 2010). Hamiltonian Monte Carlo offers improved efficiency and scalability, particularly relevant for more complex multivariable extensions.
The strong agreement across analytic and simulation-based methods directly supports the study objective by demonstrating empirical equivalence across Bayesian computational strategies for well-behaved Poisson posteriors.
4.2 Bayesian analysis of simulated lung cancer data
The lung cancer dataset was generated under a log-linear Poisson regression structure to evaluate Bayesian estimation performance in a multivariable medical setting.
Let denote the number of metastasis events observed for patient . The outcome is modeled as:
With log-link specification.
Baseline categories are Female, Stage I, and No Treatment. Under this parameterization, each coefficient represents a multiplicative change in the expected metastasis rate through the relationship , holding other covariates constant. Continuous predictors such as age and tumor size act linearly on the log scale, while categorical predictors induce relative rate shifts.
The simulated dataset was generated with a prespecified sample size of and with covariates drawn from distributions chosen to reflect a clinically plausible lung cancer setting. Specifically, age was generated from a normal distribution with mean 65 and standard deviation 10, tumor size was generated from a uniform distribution on [2, 8], whereas gender and smoking status were generated from Bernoulli distributions, stage was generated from a four-category multinomial distribution, and treatment was generated from a categorical distribution with four levels. The true regression coefficients used in the simulation were fixed at β = (−1.5, 0.02, 0.10, 0.15, 0.20, 0.30, 0.50, 0.70, 0.20, 0.40, 0.10), which were selected to produce interpretable metastasis rates and moderate separation among the predictor effects. The data were generated under the standard Poisson assumption without additional overdispersion, so that the simulation reflects the intended Poisson regression structure rather than a mis specified count model.
To assess the stability of the Bayesian estimators, the single simulated dataset was analyzed using the four estimation strategies considered in this study. Because the purpose of this section is to provide an objective benchmark with known parameter values, the simulated data allow direct assessment of estimator accuracy, uncertainty estimation, and computational efficiency.
The same likelihood,
And prior specifications.
Are maintained to ensure comparability with the reliability analysis. The simulation design was intended to provide an objective benchmark because the true parameter values are known in advance. This allows comparison of posterior estimates, uncertainty measures, and computational efficiency across methods under controlled conditions.
As the posterior distribution does not admit a closed-form solution, the same four estimation strategies were also implemented for the lung cancer data set: Laplace approximation, Independent Metropolis sampling, Gibbs sampling, and Hamiltonian Monte Carlo (NUTS). All four methods target the same posterior distribution but differ in approximation mechanism, mixing behavior, and computational efficiency.
For each simulated dataset, we recorded posterior means, posterior standard deviations, credible intervals, convergence diagnostics, and wall-clock computation time.
The simulation results were summarized using bias, root mean squared error, empirical coverage probability, average interval width, maximum absolute difference in posterior means, relative error in standard deviations, and effective sample size for the MCMC methods.
These summaries provide a reproducible basis for comparing the accuracy and efficiency of the four Bayesian estimation approaches under a controlled Poisson regression setting with known parameter values.
4.2.1 Bayesian estimation using Laplace approximation method
Posterior modes indicate that tumor size, advanced cancer stage, and chemotherapy are strong positive determinants of metastasis counts. Age shows a modest positive association, while gender and smoking effects are comparatively smaller. The intercept is negative, reflecting a low baseline metastasis intensity under reference conditions. Table 8 reports full posterior summaries.
Table 8
| Parameter | Mode | SD | LB | Median | UB |
|---|---|---|---|---|---|
| β₀ (intercept) | −1.440 | 0.321 | −1.657 | −1.657 | −0.716 |
| β₁ (age) | 0.022 | 0.005 | 0.012 | 0.025 | 0.025 |
| β₂ (gender) | 0.244 | 0.057 | 0.147 | 0.235 | 0.347 |
| β₃ (tumor size) | 0.124 | 0.013 | 0.089 | 0.129 | 0.138 |
| γ₂ (smoking) | 0.301 | 0.053 | 0.188 | 0.281 | 0.397 |
| γ₃ (stage II) | 0.230 | 0.120 | 0.012 | 0.187 | 0.535 |
| γ₄ (stage III) | 0.235 | 0.095 | 0.042 | 0.223 | 0.480 |
| γ₅ (stage IV) | 0.622 | 0.106 | 0.375 | 0.670 | 0.734 |
| γ₆ (chemo) | −0.057 | 0.150 | −0.358 | −0.087 | 0.245 |
| γ₇ (radiation) | 0.148 | 0.113 | −0.145 | 0.145 | 0.338 |
| γ₈ (surgery) | 0.167 | 0.164 | −0.269 | 0.186 | 0.380 |
| Deviance | 405.415 | 3.458 | 403.570 | 403.727 | 412.733 |
| LP | −263.473 | 1.729 | −267.132 | −262.629 | −262.550 |
Posterior summary using Laplace approximation method (lung cancer data).
The table reports posterior summaries for one simulated dataset; additional simulation replications are summarized separately in the revised simulation-design subsection.
4.2.2 Bayesian estimation using independent-Metropolis algorithm
Simulation-based posterior mean closely match the Laplace modes. Uncertainty estimates are moderately larger, particularly for stage and treatment effects, reflecting full posterior exploration rather than local curvature approximation (see Table 9, Figure 6).
Table 9
| Parameter | Mean | SD | LB | Median | UB |
|---|---|---|---|---|---|
| β₀ (intercept) | −1.389 | 0.468 | −2.255 | −1.407 | −0.475 |
| β₁ (age) | 0.020 | 0.006 | 0.009 | 0.020 | 0.031 |
| β₂ (gender) | 0.264 | 0.108 | 0.051 | 0.259 | 0.478 |
| β₃ (tumor size) | 0.119 | 0.030 | 0.060 | 0.119 | 0.178 |
| γ₂ (smoking) | 0.343 | 0.106 | 0.129 | 0.345 | 0.540 |
| γ₃ (stage II) | 0.313 | 0.180 | −0.039 | 0.310 | 0.674 |
| γ₄ (stage III) | 0.244 | 0.171 | −0.085 | 0.242 | 0.584 |
| γ₅ (stage IV) | 0.588 | 0.159 | 0.284 | 0.582 | 0.900 |
| γ₆ (chemo) | 0.035 | 0.172 | −0.279 | 0.030 | 0.373 |
| γ₇ (radiation) | 0.260 | 0.158 | −0.041 | 0.259 | 0.586 |
| γ₈ (surgery) | 0.183 | 0.165 | −0.132 | 0.181 | 0.525 |
| Deviance | 408.747 | 4.521 | 401.735 | 408.406 | 419.602 |
| LP | −265.139 | 2.260 | −270.567 | −264.968 | −261.633 |
Posterior summary via independent metropolis (lung cancer data).
Figure 6
4.2.3 Bayesian estimation using Gibbs sampler via JAGS
The Gibbs-based posterior summaries remain highly consistent with the Independent Metropolis results. Convergence diagnostics indicate stable chains, and credible intervals confirm the dominant effects of tumor size, stage progression, and chemotherapy (see Table 10, Figure 7).
Table 10
| Parameter | Estimate | SD | 2.5% | 25% | Median | 75% | 97.5% | Rhat | n.eff |
|---|---|---|---|---|---|---|---|---|---|
| β₀ (intercept) | −1.424 | 0.458 | −2.316 | −1.742 | −1.416 | −1.113 | −0.539 | 1.002 | 1700 |
| β₁ (age) | 0.020 | 0.006 | 0.009 | 0.016 | 0.020 | 0.024 | 0.032 | 1.007 | 300 |
| β₂ (gender) | 0.276 | 0.111 | 0.062 | 0.199 | 0.273 | 0.350 | 0.498 | 1.001 | 2,200 |
| β₃ (TumorSize) | 0.119 | 0.030 | 0.062 | 0.099 | 0.118 | 0.139 | 0.177 | 1.004 | 610 |
| γ₂ (smoking) | 0.340 | 0.104 | 0.135 | 0.270 | 0.339 | 0.413 | 0.545 | 1.004 | 640 |
| γ₃ (stage II) | 0.323 | 0.189 | −0.025 | 0.196 | 0.315 | 0.447 | 0.702 | 1.003 | 940 |
| γ₄ (stage III) | 0.257 | 0.179 | −0.083 | 0.136 | 0.250 | 0.377 | 0.621 | 1.003 | 920 |
| γ₅ (stage IV) | 0.600 | 0.168 | 0.277 | 0.485 | 0.593 | 0.715 | 0.930 | 1.002 | 1,100 |
| γ₆ (chemo) | 0.056 | 0.177 | −0.282 | −0.066 | 0.055 | 0.175 | 0.415 | 1.001 | 3,000 |
| γ₇ (radiation) | 0.271 | 0.167 | −0.051 | 0.153 | 0.271 | 0.386 | 0.601 | 1.004 | 530 |
| γ₈ (surgery) | 0.202 | 0.171 | −0.122 | 0.082 | 0.202 | 0.315 | 0.543 | 1.005 | 510 |
| Deviance | 409.091 | 4.743 | 401.595 | 405.691 | 408.426 | 411.703 | 420.096 | 1.001 | 3,000 |
Posterior summary via Gibbs sampling.
Figure 7
4.2.4 Bayesian estimation using (NUTS) sampler using RStan
The NUTS results show high effective sample sizes and stable posterior summaries. Parameter estimates are virtually identical to the other MCMC approaches, reinforcing the robustness of the simulated regression structure (see Table 11, Figure 8).
Table 11
| Parameter | Mean | SD | 2.5% | 50% | 97.5% | n_eff | Rhat |
|---|---|---|---|---|---|---|---|
| β₀ (Intercept) | −1.400 | 0.460 | −2.330 | −1.390 | −0.530 | 1885 | 1.002 |
| β₁ (Age) | 0.020 | 0.010 | 0.010 | 0.020 | 0.030 | 2,420 | 1.001 |
| β₂ (Gender) | 0.270 | 0.110 | 0.060 | 0.270 | 0.490 | 3,037 | 1.002 |
| β₃ (TumorSize) | 0.120 | 0.030 | 0.060 | 0.120 | 0.180 | 3,349 | 1.001 |
| γ₂ (Smoking) | 0.340 | 0.100 | 0.130 | 0.340 | 0.540 | 3,240 | 1.001 |
| γ₃ (Stage II) | 0.330 | 0.190 | −0.030 | 0.320 | 0.710 | 1805 | 1.003 |
| γ₄ (Stage III) | 0.260 | 0.180 | −0.080 | 0.250 | 0.620 | 1786 | 1.001 |
| γ₅ (Stage IV) | 0.600 | 0.170 | 0.290 | 0.590 | 0.940 | 1702 | 1.002 |
| γ₆ (Chemo) | 0.050 | 0.180 | −0.290 | 0.050 | 0.420 | 2,191 | 1.001 |
| γ₇ (Radiation) | 0.270 | 0.170 | −0.040 | 0.270 | 0.610 | 2099 | 1.001 |
| γ₈ (Surgery) | 0.200 | 0.170 | −0.130 | 0.200 | 0.550 | 2,242 | 1.001 |
| lp__ | 196.850 | 2.420 | 191.100 | 197.260 | 200.510 | 1,582 | 1.000 |
Posterior summary via NUTS.
Figure 8
4.2.5 Comparative assessment
All four methods converge to nearly identical posterior means, confirming posterior stability under the log-linear Poisson structure. Laplace approximation slightly underestimates uncertainty relative to simulation-based methods, as expected from its quadratic assumption. Independent Metropolis and Gibbs sampling yield comparable inference but require larger iteration counts to achieve similar precision. NUTS demonstrates the highest computational efficiency and most stable effective sample sizes.
The small maximum absolute differences between the Laplace estimates and the MCMC posterior means indicate that the fitted posterior surface is regular and approximately Gaussian in this simulated setting. The relative standard deviation errors are also small, suggesting that the different methods provide closely aligned uncertainty estimates, although Laplace approximation remains slightly more local in nature.
Among the simulation-based methods, NUTS provides the best balance of sampling efficiency and numerical stability, as reflected by its higher effective sample size per second and more efficient exploration of the posterior distribution. Independent Metropolis and Gibbs sampling produce broadly similar posterior summaries, but their lower effective sample size per second values indicate slower posterior exploration and greater computational burden.
To complement the graphical comparison, Table 12 reports quantitative agreement across methods using maximum absolute differences from the Laplace estimates, relative standard deviation error, wall-clock run time, and effective sample size per second for the MCMC methods. These summaries provide a concise measure of both estimation accuracy and computational efficiency.
Table 12
| Parameter | Estimate | Max |diff| vs laplace | Relative SD error | ESS/s | Total Runtime (approx.) (sec) | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Laplace mode | IM mean | Gibbs mean | NUTS mean | IM | Gibbs | NUTS | IM | Gibbs | NUTS | |||
| Intercept | −1.440 | −1.389 | −1.424 | −1.400 | 0.051 | 0.035 | 11 | 171 | 374 | 95 | 9.94 | 5.039 |
| Age | 0.022 | 0.020 | 0.020 | 0.020 | 0.002 | 0.050 | 11 | 30 | 480 | 95 | 9.94 | 5.039 |
| Gender | 0.244 | 0.264 | 0.276 | 0.270 | 0.032 | 0.065 | 11 | 221 | 603 | 95 | 9.94 | 5.039 |
| Tumor Size | 0.124 | 0.119 | 0.119 | 0.120 | 0.005 | 0.035 | 11 | 61 | 665 | 95 | 9.94 | 5.039 |
| Smoking | 0.301 | 0.343 | 0.340 | 0.340 | 0.042 | 0.050 | 11 | 64 | 643 | 95 | 9.94 | 5.039 |
| Stage II | 0.230 | 0.313 | 0.323 | 0.330 | 0.100 | 0.060 | 11 | 95 | 358 | 95 | 9.94 | 5.039 |
| Stage III | 0.235 | 0.244 | 0.257 | 0.260 | 0.025 | 0.040 | 11 | 93 | 354 | 95 | 9.94 | 5.039 |
| Stage IV | 0.622 | 0.588 | 0.600 | 0.600 | 0.034 | 0.030 | 11 | 111 | 338 | 95 | 9.94 | 5.039 |
| Chemo | −0.057 | 0.035 | 0.056 | 0.050 | 0.113 | 0.040 | 11 | 302 | 435 | 95 | 9.94 | 5.039 |
| Radiation | 0.148 | 0.260 | 0.271 | 0.270 | 0.123 | 0.050 | 9 | 53 | 417 | 95 | 9.94 | 5.039 |
| Surgery | 0.167 | 0.183 | 0.202 | 0.200 | 0.035 | 0.060 | 10 | 51 | 445 | 95 | 9.94 | 5.039 |
Quantitative comparison of Bayesian estimation methods for the simulated lungs data.
For this simulated dataset, methodological agreement is strong because the posterior surface is regular and approximately Gaussian. In more complex or sparse clinical count data, divergence between Laplace and MCMC methods may signal non-normal posterior geometry and motivate full simulation-based inference.
The table shows that the posterior means are highly consistent across all four methods, with only small method-specific differences. The MCMC samplers provide comparable point estimates, while their relative efficiency is better summarized by ESS/s and run time than by posterior means alone (see Figure 9).
Figure 9
5 Model adequacy: prior sensitivity analysis and posterior predictive assessment
Bayesian inference depends jointly on the likelihood specification and prior assumptions. Even when computational convergence is achieved, inference may be unreliable if the assumed log-linear Poisson structure fails to represent key data features. Model adequacy is therefore evaluated through prior sensitivity analysis and posterior predictive assessment, following standard Bayesian practice (, ).
5.1 Prior sensitivity analysis
Throughout Sections 4.1 and 4.2, regression coefficients were assigned independent weakly informative Normal priors to stabilize computation while allowing the likelihood to dominate inference (); (Gelman et al., 2013). Because the two applications differ in structure and complexity, different prior scales were considered for sensitivity analysis.
5.1.1 System component reliability data (SCRD)
For the system component reliability data, prior sensitivity was examined using three increasingly concentrated Normal priors,
Representing weakly to moderately informative specifications.
Posterior means and credible intervals under these alternative priors were nearly identical to those reported in Section 4.1. Year effects remained centered near zero, while seasonal month effects—particularly February, October, and December—consistently retained positive posterior mass away from zero. Posterior uncertainty exhibited only minor changes across prior scales, indicating that inference is driven primarily by the likelihood rather than prior specification (see Figures 10, 11).
Figure 10
Figure 11
5.1.2 Simulated lung cancer data
For the simulated lung cancer dataset, broader prior scales were adopted to reflect higher parameter uncertainty in a multivariable clinical setting. Prior sensitivity was assessed using.
Posterior summaries for tumor size, cancer stage indicators, and chemotherapy effects remained stable across prior specifications. Minor widening of credible intervals was observed for weaker predictors such as smoking status and radiation therapy; however, effect direction and substantive interpretation were unchanged. The intercept consistently reflected a low baseline metastasis intensity under reference conditions (see Figure 12).
Figure 12
5.2 Posterior predictive assessment
Posterior predictive checks were used to assess whether data generated from the fitted models resemble the observed counts (Gelman et al., 2013). Under the log-linear Poisson specification,
Replicated observations were drawn from the posterior predictive distribution.
5.2.1 System component reliability data (SCRD)
For the system component reliability data, replicated monthly counts closely matched the empirical distribution. Posterior predictive means aligned with observed averages, and dispersion characteristics were comparable. No systematic underprediction of high-count months or overprediction of low-count months was detected. Discrepancy measures based on total counts and maximum monthly removals yielded Bayesian p-values near 0.5, providing no evidence of lack of fit.
Figure 13 illustrates the posterior predictive density comparisons between observed and replicated monthly removal counts for the SCRD across the Bayesian estimation methods.
Figure 13
Simulated lung cancer data
For the simulated lung cancer data, posterior predictive distributions successfully reproduced the observed variability and right-skewed count structure induced by heterogeneous covariate effects. Because the data were generated under the assumed model, close predictive agreement is expected; nevertheless, these results confirm correct implementation of the Bayesian computational procedures.
Figure 14 presents the posterior predictive checks for the lung cancer model. The top panels compare observed and replicated count distributions, while the bottom panels compare posterior predictive mean and variance across Bayesian estimation methods.
Figure 14
Convergence diagnostics further support adequacy. Across all MCMC implementations, potential scale reduction factors satisfied (), effective sample sizes were sufficient, and no pathological sampling behavior was detected under NUTS sampler. The close agreement between Laplace approximation and simulation-based methods additionally indicates a regular and approximately unimodal posterior surface.
Overall, both prior sensitivity analysis and posterior predictive assessment support the adequacy of the log-linear Poisson framework for the applications considered.
6 Discussion and conclusion
This study examined Bayesian estimation of log-linear Poisson regression models with applications to reliability engineering and medical event-count data. The primary objective was to provide a structured comparison of analytic and simulation-based Bayesian approximation techniques under a unified likelihood and prior specification.
For both applications, the log-linear Poisson model.
Offered a coherent representation of count data, allowing covariate effects to act multiplicatively on the intensity scale. The use of weakly informative Normal priors ensured computational stability while permitting the likelihood to dominate posterior inference.
Across both data sets, strong agreement was observed among the Laplace approximation, Independent Metropolis sampling, Gibbs sampling, and Hamiltonian Monte Carlo. The small maximum absolute differences in posterior means and the limited relative error in posterior standard deviations indicate that all four methods target essentially the same posterior structure, with only minor numerical variation. When the posterior distribution is approximately Gaussian and unimodal, the Laplace approximation provides accurate posterior summaries with minimal computational cost (, , ). Simulation-based methods validate these results while offering full posterior uncertainty (, ). The efficiency metrics further clarify the practical differences among the methods. In particular, effective sample size per second and total wall-clock time show that Hamiltonian Monte Carlo via the No-U-Turn Sampler delivers the most efficient posterior exploration among the MCMC methods, combining high sampling efficiency with stable convergence behavior (); (Hoffman and Gelman, 2014). Gibbs sampling and Independent Metropolis produced comparable posterior estimates, but their lower effective sample sizes per unit time indicate slower exploration of the posterior surface and greater computational burden. By contrast, Laplace approximation was the fastest deterministic method and produced results close to the MCMC summaries, but its local quadratic approximation may slightly understate posterior uncertainty relative to full simulation-based inference.
Prior sensitivity analysis confirmed that posterior inference remained stable under reasonable variations in prior scale for both applications. Posterior predictive checks further indicated that the fitted models adequately reproduced key features of the observed count distributions in reliability and medical contexts, supporting the adequacy of the assumed log-linear Poisson structure.
A key limitation of the present framework is the Poisson assumption of equi-dispersion. In settings with overdispersion, zero inflation, or unobserved heterogeneity, extensions such as negative binomial or hierarchical Poisson models may be more appropriate (). Moreover, in sparse or highly correlated designs, analytic approximations may understate posterior uncertainty, reinforcing the importance of full simulation-based inference.
In conclusion, Bayesian log-linear Poisson regression offers a flexible and computationally efficient framework for modeling reliability and medical count data. The close agreement between analytic and MCMC-based approaches observed in this study supports the use of Laplace approximation for rapid inference in moderate settings, while Hamiltonian Monte Carlo provides a robust and scalable solution for more complex models. These findings establish a practical methodological foundation for future extensions to hierarchical reliability systems and multilevel clinical count data analyses.
Statements
Data availability statement
The original contributions presented in the study are included in the article/supplementary material, further inquiries can be directed to the corresponding author.
Author contributions
MA: Conceptualization, Data curation, Formal analysis, Methodology, Resources, Software, Validation, Visualization, Writing – original draft, Writing – review & editing.
Funding
The author(s) declared that financial support was not received for this work and/or its publication.
Acknowledgments
The author acknowledges computational tools and resources that facilitated the Bayesian modelling and simulation procedures, including R, JAGS and Stan.
Conflict of interest
The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
Generative AI statement
The author(s) declared that Generative AI was not used in the creation of this manuscript.
Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.
Publisher’s note
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.
References
1.
GrantGMRoesenerWSHallDGAtwoodCLGentillonCDWolfTR. Reliability Study: High-Pressure Coolant Injection (HPCI) System, 1987–1993. Idaho Falls: Idaho National Engineering and Environmental Laboratory (1999).
2.
HamadaMSWilsonAGReeseCSMartzHF. Bayesian Reliability. New York, NY: Springer (2008).
3.
GelmanAJakulinAPittauMGSuY. A weekly informative default prior distribution for logistic and other regression models. Ann Appl Stat. (2008) 2:1360–83. doi: 10.1214/08-AOAS191
4.
TierneyLKadaneJB. Accurate approximations for posterior moments and marginal densities. J Am Stat Assoc. (1986) 81:82–6. doi: 10.1080/01621459.1986.10478240
5.
GemanS.GemanD. (1984). Stochastic relaxation, Gibbs distributions and the Bayesian restoration of images. In: IEEE Transactions on Pattern Analysis and Machine Intelligence
6.
R Core Team. R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing. Vienna: R Core Team (2020).
7.
Statisticat, LLC. LaplacesDemon: Complete Environment for Bayesian Inference. Bayesian-Inference.Com. R Package Version 16.1.4. London: Statisticat, LLC (2020).
8.
SuY.YajimaM. (2014) R2jags: a package for running JAGS from R. R package version 0.04-01, Available online at: http://CRAN.R-project.org/package=R2jags (accessed on February 19, 2026).
9.
Stan Development Team (2025) RStan: the R interface to Stan (R package version 2.32.7). Available online at: https://mc-stan.org/ (accessed on February 19, 2026).
10.
BernadoJSmithA. Bayesian Theory. West Sussex: John Wiley & Sons (2000).
11.
HastingsW. Monte Carlo sampling methods using Markov chains and their applications. Biometrika. (1970) 57:97–109. doi: 10.1093/biomet/57.1.97
12.
MetropolisNRosenbluthARosenbluthMTellerATellerA. Equation of state calculations by fast computing machine. J Chem Phys. (1953) 21:1087–92. doi: 10.1063/1.1699114
13.
GordanNJSalmondDJSmithAFM. Novel approach to non-linear/non-Gaussian Bayesian state estimation. IEEE Proc F Radar Sig Proc. (1993) 140:107–17. doi: 10.1049/ip-f-2.1993.0015
14.
SAS Institute Inc.SAS/STATr 9.2 User’s Guide. Cary, NC: SAS Institute Inc (2008).
15.
GelmanARubinDB. Inference from iterative simulation using multiple sequences. Stat Sci. (1992) 7:457–511. doi: 10.1214/ss/1177011136
16.
AkhtarMTKhanAA. Bayesian Analysis of Generalized Log-Burr Family with R. Berlin: SpingerPlus (2014a).
17.
AkhtarMTKhanAA. Log-logistic distribution as a reliability model: a Bayesian analysis. Am J Math Stat. (2014b) 4:162–70. doi: 10.5923/j.ajms.20140403.05
18.
AkhtarMTKhanAA. JMASM 51: Bayesian reliability analysis of binomial model—application to success/failure data. J Mod Appl Stat Methods. (2018a) 17:eP2623. doi: 10.22237/jmasm/1553803862
19.
AkhtarMTKhanAA. Bayesian analysis of Poisson reliability model with R and JAGS. Int J Recent Sci Res. (2017) 8:21837–41. doi: 10.24327/ijrsr.2017.0811.1151
20.
BrooksSPGelmanA. General method for monitoring convergence of iterative simulations. J Comput Graph Stat. (1998) 7:434–55. doi: 10.1080/10618600.1998.10474787
21.
CasellaGGeorgeE. Explaining the Gibbs sampler. Am Stat. (1992) 46:167–74. doi: 10.1080/00031305.1992.10475878
22.
GelmanA. Scaling regression inputs by dividing by two standard deviations. Stat Med. (2008) 27:2865–73. doi: 10.1002/sim.3107
23.
GelmanACarlinJBSternHSDunsonDBVehtariARubinDB. Bayesian Data Analysis (3rd ed.). Boca Raton, FL: Chapman & Hall/CRC Press (2013).
24.
GelmanAHillJ. Data Analysis Using Regression and Multilevel/Hierarchical Models. New York, NY: Cambridge University Press (2007).
25.
GelmanASuY-S. Arm: Data Analysis Using Regression and Multilevel/Hierarchical Models. Vienna: R Core Team (2020).
26.
GelfandAHillsSRacine-PoonASmithA. Illustration of Bayesian inference in Normal data models using Gibbs sampling. J Am Stat Assoc. (1990) 85:972–85. doi: 10.1080/01621459.1990.10474968
27.
GelfandASmithA. Sampling-based approaches to calculating marginal densities. J Am Stat Assoc. (1990) 85:398–409. doi: 10.1080/01621459.1990.10476213
28.
JohnsonVEMoosmanACotterP. A hierarchical model for estimation the early reliability of complex systems. IEEE Trans Reliab. (2005) 54:224–31. doi: 10.1109/TR.2005.847262
29.
KeryM. Introduction to WinBUGS for Ecologist: A Bayesian Approach to Regression, ANOVA, Mixed Models, and Related Analyses. Cambridge, MA: Academic Press (2010).
30.
AkhtarMT. Robustness of Bayesian Methods in Healthcare System Assessment: A Comprehensive Review. Int. J. Stat. Med. Res. (2025) 14:662–675. doi: 10.6000/1929-6029.2025.14.62
31.
KhanNAkhtarMTKhanAA. A Bayesian approach to survival analysis of inverse Gaussian model with Laplace approximation. Int J Stat Appl. (2017) 6:391–8. doi: 10.5923/j.statistics.20160606.08
32.
AkhtarMTKhanNKhanAA. Bayesian Estimation and Model Assessment of the Exponentiated Rayleigh Survival Model Using Laplace and MCMC Techniques: Applications with Right-Censored Medical Data. Statistics, Optimization & Information Computing. (2026) 15:3485–3511. doi: 10.19139/soic-2310-5070-2986
33.
NtzoufrasI. Bayesian Modeling Using WinBUGS. New York, NY: John Wiley & Sons (2009).
34.
PlummerM. (2003) JAGS: a program for analysis of Bayesian graphical models using Gibbs sampling. In: Proceedings of the 3rd International Workshop on Distributed Statistical Computing (DSC 2003), March 2022
35.
TannerMA. Tools for Statistical Inference. New York: Springer-Verlag (1996).
36.
TannerMAWongW. The calculation of the posterior distributions by data augmentation. J Am Stat Assoc. (1987) 82:82–6. doi: 10.2307/2289457
37.
TierneyLKassRKadaneJ. Fully exponential Laplace approximations to expectations and variances of nonpositive functions. J Am Stat Assoc. (1989) 84:710–6. doi: 10.1080/01621459.1989.10478824
38.
RobertCPCasellaG. Introducing Monte Carlo Methods with R. New York, NY: Springer (2010).
39.
HoffmanMDGelmanA. The No-U-Turn Sampler: Adaptively Setting Path Lengths in Hamiltonian Monte Carlo. J Mach Learn Res. (2014) 15:1593–1623.
Summary
Keywords
Bayesian inference, count data modeling, Laplace approximation, Markov chain Monte Carlo, Poisson regression, reliability analysis
Citation
Akhtar MT (2026) Bayesian estimation of log-linear Poisson models: analytic and MCMC approaches with applications to reliability and medical count data. Front. Appl. Math. Stat. 12:1821648. doi: 10.3389/fams.2026.1821648
Received
02 March 2026
Revised
29 April 2026
Accepted
25 May 2026
Published
09 July 2026
Volume
12 - 2026
Edited by
Ashis SenGupta, Augusta University, United States
Reviewed by
Zakariya Yahya Algamal, University of Mosul, Iraq
Marek Skarupski, Politechnika Wroclawska Wydzial Matematyki, Poland
Updates
Copyright
© 2026 Akhtar.
This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Md Tanwir Akhtar, m.akhtar@seu.edu.sa
Disclaimer
All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.