A Bayesian statistical inference project analyzing clinical trial data for major COVID-19 vaccines (Pfizer-BioNTech, Moderna, AstraZeneca, etc.), quantifying efficacy point estimates, 95% Credible Intervals, and age-stratified effectiveness using JAGS (Just Another Gibbs Sampler) and MCMC sampling.
Estimating vaccine efficacy (
Vaccine efficacy
where
Infection counts in each arm are modeled using Binomial or Poisson likelihoods:
Uninformative or informative Beta/Gamma conjugate priors are assigned to infection parameters:
Using JAGS MCMC Gibbs sampling, posterior distributions
- JAGS Bayesian Model Definition: Custom JAGS scripts modeling clinical trial data across different vaccine manufacturers.
-
MCMC Convergence Diagnostics: Trace plots, autocorrelation analysis, and Gelman-Rubin diagnostics (
$\hat{R}$ ). - Posterior Probability Density Estimation: Full posterior distribution density curves highlighting 95% Credibility Intervals.
-
Age-Stratified Efficacy Analysis: Demographic breakdown exploring efficacy variations between younger (
$<65$ ) and older ($\ge 65$ ) age cohorts.
Advance-Statistics-in-Physics_Project/
├── Final.ipynb # Main Jupyter Notebook containing JAGS models & MCMC analysis
├── covid19w.pdf # Written research paper / report
├── project description.pdf # Course assignment guidelines
├── data/ # Clinical trial datasets (Pfizer, Moderna, AstraZeneca, etc.)
├── README.md # Project documentation
└── .gitignore # Git ignore rules
- Python 3.8+ & R environment
- JAGS (Just Another Gibbs Sampler) installed on your system (
brew install jagson macOS orapt install jagson Linux).
Required statistical packages:
- R:
rjags,coda,ggplot2,tidyverse,bayesplot - Python:
numpy,scipy,pandas,matplotlib,seaborn,rpy2
-
Clone the repository:
git clone https://github.com/mojee13/Advance-Statistics-in-Physics_Project.git cd Advance-Statistics-in-Physics_Project -
Open the analysis notebook:
jupyter notebook Final.ipynb
-
Execute cells to run JAGS Gibbs sampling chains, plot posterior density distributions, and display 95% Credibility Interval tables.
For full narrative analysis and tables, consult the included report:
📄 covid19w.pdf