
{ "background": "The cost-effectiveness of railway maintenance depot systems is a critical yet under-researched aspect of transport infrastructure management in East Africa. Current evaluation methods often lack the statistical rigour to handle complex, multi-level operational data and inherent uncertainties.", "purpose and objectives": "This study develops and applies a novel Bayesian hierarchical model to evaluate the cost-effectiveness of railway maintenance depot systems. The objective is to provide a robust, probabilistic framework for identifying key drivers of efficiency and predicting system performance under varying operational conditions.", "methodology": "A Bayesian hierarchical model was formulated, integrating depot-level operational data with system-wide economic parameters. The core model structure is $y{ij} \\sim \\text{Normal}(\\alphaj + \\beta X{ij}, \\sigma^2)$, $\\alphaj \\sim \\text{Normal}(\\mu{\\alpha}, \\tau{\\alpha}^2)$, where $y{ij}$ is a cost-effectiveness metric for observation $i$ in depot $j$. Posterior distributions were estimated using Markov chain Monte Carlo (MCMC) sampling.", "findings": "The model identified depot management practice as the most significant predictor of cost-effectiveness, with a posterior probability exceeding 0.95 that its effect is positive. A one-standard-deviation improvement in management score increased the cost-effectiveness ratio by an estimated 17% (95% credible interval: 12% to 22%). Substantial heterogeneity was found between depots, captured by the varying intercepts $\\alphaj$.", "conclusion": "The proposed Bayesian hierarchical model offers a statistically robust framework for evaluating transport maintenance systems, effectively quantifying uncertainty and isolating depot-level performance drivers. It moves beyond deterministic assessments common in the region.", "recommendations": "Infrastructure managers should adopt probabilistic, hierarchical modelling for asset management decisions. The methodology supports targeted interventions, prioritising management quality enhancements over uniform capital investment.", "key words": "Bayesian statistics, hierarchical modelling, infrastructure management, maintenance optimisation, transport economics", "cont