We examine various sorting and selection methods for computing quantile and the conditional value-at-risk, two of the most commonly used risk measures in risk management scenarios. We study the situation where simulation data is already pre-generated, and perform timing experiments on calculating risk measures on the existing datasets. Through numerical experiments, approximate analyses, and existing theoretical results, we find that selection generally outperforms sorting, but which selection strategy runs fastest depends on several factors.
@inproceedings{truong2025wsc,title={Computing Estimators of a Quantile and Conditional Value-at-Risk},author={Cao, Sha and Dang, Truong and Calvin, James M. and Nakayama, Marvin K.},booktitle={2025 Winter Simulation Conference (WSC)},year={2025},month=dec,publisher={IEEE},}