5. Discussion
This study proposed and evaluated a demand-profile-informed framework for selecting probabilistic inventory models in hospital pharmacy medication supply under uncertainty. The empirical results showed substantial heterogeneity across the medication portfolio. High- and medium-demand medicines showed recurrent positive consumption, relatively low zero-demand exposure, and lower relative variability. In contrast, low-demand and intermittent medicines showed higher coefficients of variation, repeated zero-demand months, and more irregular positive-demand episodes, as shown in
Table 4 and
Figure 2. This finding is consistent with hospital inventory studies showing that medicines and clinical materials cannot be managed as homogeneous items because demand, expenditure, criticality, shortage exposure, and operational risk differ across products [
4,
9].
The distributional-fit results reinforce this point. In
Table 5, normal and gamma models performed well for several high- and medium-demand medicines, whereas zero-inflated negative binomial models dominated many intermittent-demand cases. This pattern is aligned with the broader intermittent-demand literature, which emphasizes that zero-demand periods are not merely statistical noise but a structural feature that often requires models capable of separating demand occurrence from demand size [
16,
18,
19]. In hospital pharmacy practice, this distinction is especially relevant because intermittent medicines may be low volume but still clinically important, meaning that poor representation of zero-demand months or positive-demand bursts may produce inappropriate replenishment recommendations.
A central finding is that statistical fit and inventory-cost performance do not necessarily select the same model. The empirical two-stage stochastic inventory-cost evaluation in
Table 6 and
Table 7 showed cases in which the model with the best Akaike Information Criterion (AIC) was not the model that achieved the lowest realized one-cycle cost. This divergence is important because AIC and inventory-cost performance answer different questions. AIC evaluates how efficiently a probability distribution represents historical demand, whereas the inventory-cost evaluation assesses the economic consequence of using that distribution as an input for a replenishment decision. In the proposed framework, each fitted distribution generates a specific set of demand scenarios; these scenarios determine the first-stage replenishment quantity
and binary ordering decision
, and they also shape the second-stage shortage and overstock consequences. Therefore, distributional assumptions are not only statistical modelling choices, but also operational assumptions that propagate directly into replenishment decisions and realized inventory costs.
The detailed distribution-specific results in
Table 7 make this mechanism explicit. For high- and medium-demand medicines, different probability distributions generated different positive order quantities and different realized costs, even when the cost differences were moderate. This shows that for recurrent-demand medicines, the choice among normal, gamma, negative binomial type II, and zero-inflated negative binomial models can affect the precision of the first-stage replenishment decision. For several low-demand and intermittent medicines, multiple applicable models converged to a zero-order decision, reflecting the combined effect of final-period demand, initial inventory, ordering cost, and shortage-cost assumptions. This does not imply that intermittent medicines should be left without stock; rather, it indicates that under the specific one-cycle empirical conditions evaluated here, the economically preferred decision could be no additional replenishment. In practice, such decisions should be reviewed together with clinical criticality, substitutability, and minimum-service requirements.
The divergence between statistical fit and realized cost also highlights why probability distributions should be evaluated as scenario-generating mechanisms in a two-stage stochastic program. A statistically well-fitting model may still generate a suboptimal operational decision if it underestimates upper-tail demand, overreacts to sparse observations, or recommends an order quantity that performs poorly under the realized final-period demand. Conversely, a model with weaker statistical fit may generate a more robust first-stage decision under the relevant cost structure. Similar concerns have been raised in stochastic inventory and forecasting research, where forecast accuracy or distributional fit alone may not capture the cost consequences of understocking, overstocking, or emergency replenishment [
10,
14,
16]. Therefore, model selection in hospital pharmacy should not rely exclusively on statistical fit, but should also incorporate inventory-cost consequences, shortage-risk exposure, and the operational constraints under which replenishment decisions are made.
The simulation study provided additional support for this interpretation.
Figure 3 and
Table 8 showed that zero-demand frequency was the main driver of statistical model selection in the simulated scenarios. When zero-demand months were absent, gamma models frequently dominated the AIC comparison. When zero-demand months were introduced, ZINBI became the most frequent AIC-winning model. This result is coherent with the theoretical role of zero-inflated models, which are designed to represent data-generating processes where zeros arise from a separate occurrence mechanism rather than only from random count variation [
26,
29]. From an operational perspective, the result is useful because zero-demand share is easy to compute from routine pharmacy data and can be used as a practical screening indicator before more complex modelling is attempted.
The classification tree in
Figure 4 and the rules summarized in
Table 9 translate the empirical and simulation results into an interpretable decision-support structure. This is relevant because hospital pharmacy managers often require operationally usable guidance rather than purely statistical model comparisons. Classification-tree methods are appropriate in this context because they transform multivariable simulation outcomes into simple hierarchical rules that can be implemented in a spreadsheet, script, or dashboard [
31]. In this sense, the contribution of the framework is not only methodological but also translational: it converts demand-profile indicators into practical model-selection guidance.
5.1. Comparison with Previous Research
Previous research has contributed important tools for medication inventory management, but each stream leaves part of the current problem unresolved. Classification-based approaches, including ABC and multicriteria models, help prioritize medicines according to expenditure, criticality, or managerial relevance, but they generally do not determine which probability distribution should be used for each demand profile [
9]. The present study complements these approaches by showing that classification should be extended beyond prioritization and used as an input for probabilistic model selection.
Simulation-optimization studies have shown that optimized inventory policies can reduce pharmacy inventory costs compared with current or baseline settings [
10]. However, many of these studies focus on tuning a specific policy, such as minimum–maximum inventory levels, rather than comparing alternative demand models across heterogeneous medication profiles. The present framework extends this line of work by using simulation not only to evaluate inventory decisions but also to derive decision rules about when different probabilistic models are appropriate.
Stochastic programming and lot-size models have also been applied to hospital pharmacy under uncertain demand, highlighting the importance of demand shape, skewness, and uncertainty in replenishment decisions [
14,
15]. The present study builds on this literature by explicitly linking distributional assumptions to observable demand-profile indicators and by comparing statistical fit with realized inventory-cost performance. The two-stage formulation strengthens this contribution because it distinguishes first-stage replenishment decisions from second-stage shortage and overstock consequences, making clear how a distributional assumption can propagate from statistical modelling into operational cost outcomes.
Research on pharmaceutical supply-chain reliability and hospital drug shortages has emphasized that inventory decisions affect service continuity, shortage exposure, and resilience [
5,
6]. The framework proposed here contributes at the pharmacy-decision level by identifying when a medicine should be modelled as stable, skewed, overdispersed, or intermittent. This can support more differentiated replenishment policies and may help reduce unnecessary purchases while preserving attention to medicines with high shortage consequences.
Finally, studies on digitalization and clinical decision support in pharmacy practice demonstrate the growing importance of structured data, automation, and decision-support systems in medication management [
12,
13]. The present study extends this digital decision-support logic to the inventory domain. Rather than focusing on clinical alerts or automation return on investment, it proposes an analytics workflow that can support recurring replenishment reviews using routinely available demand, inventory, and cost data.
5.2. Implications for Decision Makers
The main implication for hospital pharmacy decision makers is that a single replenishment rule should not be applied uniformly across all medicines. High-volume recurrent medicines, low-volume skewed medicines, and intermittent medicines behave differently and should be evaluated with models that reflect their demand structure. ABC classification remains useful, but the results suggest that it should be complemented with coefficient of variation, zero-demand share, trend, and shortage-cost exposure before selecting a forecasting or inventory model.
A practical implementation could follow a staged workflow. First, medicines are classified using routine monthly demand records. Second, simple demand-profile indicators are computed: mean demand, coefficient of variation, zero-demand share, and trend. Third, candidate distributions are selected according to the decision rules in
Table 9. Fourth, fitted models are evaluated not only by AIC but also through a two-stage stochastic inventory-cost model that reports first-stage ordering decisions and second-stage shortage and overstock consequences. Finally, high-cost or clinically critical medicines are subjected to shortage-risk sensitivity analysis before adopting a replenishment recommendation.
This workflow can be implemented at different levels of technological complexity. In a low-resource environment, the rules can be implemented in a spreadsheet that flags medicines with high zero-demand share, high variability, or high shortage-cost exposure. In a more advanced setting, the framework can be implemented in R, Python, or a dashboard connected to pharmacy and procurement records. This is consistent with the broader movement toward data-driven medication management and operational analytics in hospital pharmacy [
12,
13].
For decision makers, the most important message is that statistical model selection and operational decision selection are related but distinct. A model that describes historical demand well may still lead to an undesirable replenishment decision if it underestimates shortage risk, ignores intermittent structure, or recommends excessive inventory for a low-demand medicine. Therefore, hospital pharmacy teams should evaluate probabilistic models as decision inputs rather than as purely statistical descriptions.
The framework may also support institutional prioritization. Medicines with high volume and stable demand may be managed with simpler models and routine monitoring. Medicines with high variability or increasing trends may require closer review and updated parameters. Intermittent medicines may require explicit zero-demand modelling, but decisions should also consider clinical criticality. High-cost medicines or medicines with severe consequences of stockout should be evaluated using sensitivity analysis around shortage costs and service-level requirements.
5.3. Limitations and Future Work
This study has limitations. First, the empirical component was based on one hospital pharmacy and 13 medicines. Although the simulation study was designed to extend analytical generalizability beyond the empirical case, external validation in other hospitals is necessary before the decision rules can be considered broadly generalizable. Future studies should test the framework using multicenter datasets that include different hospital types, procurement systems, and therapeutic portfolios.
Second, the empirical inventory evaluation used a one-cycle decision structure. This design is useful for reproducing a monthly replenishment decision under uncertainty, but it does not capture all dynamic effects of inventory systems, such as rolling stock balances, lead-time variability, partial deliveries, delayed procurement, or multi-period budget constraints. Future work should extend the framework to multi-period stochastic programming and rolling-horizon inventory control.
Third, shortage costs were represented through an economic shortage-cost factor. This is operationally useful because it reflects the financial consequences of emergency procurement or replacement purchases, but it does not fully capture clinical consequences, patient inconvenience, treatment delay, or therapeutic substitution risk. Future versions of the framework should incorporate clinical criticality, substitutability, and service-level targets as explicit decision dimensions.
Fourth, the simulation study used controlled scenarios based on demand level, variability, zero-demand share, temporal trend, and shortage-cost exposure. These factors were selected because they are interpretable and observable from routine pharmacy data, but they are still simplified representations of real hospital demand. Future simulation designs could incorporate seasonality, correlated demand across medicines, supplier unreliability, lead-time uncertainty, and demand censoring caused by previous stockouts.
Fifth, the current framework compared a selected set of candidate distributions. Although these models were chosen to represent symmetry, non-negative skewness, overdispersion, and zero inflation, other modelling strategies could also be relevant, including hurdle models, Croston-type intermittent-demand methods, Bayesian hierarchical models, and multi-period service-level formulations. Future work should compare these alternatives within the same stochastic inventory-cost framework.
Finally, the decision rules should be interpreted as decision-support guidance, not as automatic prescriptions. Hospital pharmacists and procurement teams should use the rules to structure model selection and identify medicines requiring deeper review. Final replenishment decisions should also consider clinical priorities, procurement constraints, supplier reliability, and institutional policies.