This software development and simulation study describes HHBayes, an open-source R package designed for simulating and analyzing household transmission data using Bayesian methods. The population focus is households, with application to simulated and real seasonal respiratory virus transmission. The package aims to address limitations in existing tools, which often lack flexibility in modeling age-specific susceptibility, infectivity patterns, and the impact of interventions.
The primary outcomes include simulation of household transmission dynamics, estimation of age-dependent susceptibility and infectivity parameters, and evaluation of intervention effects. Secondary outcomes involve accurate parameter recovery and assessment of the impact of vaccination and antiviral prophylaxis on household attack rates. The main results indicate the package enables accurate parameter recovery and evaluation of intervention impacts, though specific effect sizes, absolute numbers, and statistical measures are not reported.
No safety or tolerability data are reported, as this is a software tool description. Key limitations noted include the comparative shortcomings of existing tools in modeling flexibility. The practice relevance is framed as providing researchers with accessible tools for both prospective study design and retrospective data analysis. Funding and conflicts of interest are not reported.
View Original Abstract ↓
Household transmission studies are important for understanding infectious disease transmission and evaluating interventions; however, they are frequently constrained by methodological challenges, including in study design and sample size determination, and in estimating parameters of interest after collecting the data. Existing tools often lack flexibility in modeling age-specific susceptibility, infectivity patterns, and the impact of interventions such as vaccination or prophylaxis. Here, we develop HHBayes, an open-source R package that provides a unified framework for simulating and analyzing household transmission data using Bayesian methods. The package enables researchers to: (1) simulate realistic household transmission dynamics with highly customizable variables; (2) incorporate viral load data (measured in viral copies/mL or cycle threshold values) to model time-varying infectiousness; (3) estimate age-dependent susceptibility and infectivity parameters using Hamiltonian Monte Carlo methods implemented in Stan; and (4) evaluate intervention effects through user-defined covariates that modify susceptibility or infectivity. We demonstrate the capabilities of the package through simulation studies showing accurate parameter recovery and applications to seasonal respiratory virus transmission, including the impact of vaccination and antiviral prophylaxis on household attack rates. HHBayes addresses a critical gap in infectious disease epidemiology by providing researchers with accessible tools for both prospective study design and retrospective data analysis. The flexibility of the package in handling complex household structures, time-varying infectiousness, and intervention effects makes it valuable for studying diverse pathogens.