Risk measurement involves estimating some functional of a loss distribution. This calls for nested simulation, in which risk factors are sampled at an outer level of simulation, while the inner level of simulation provides estimates of loss given each realization of the risk factors. Assessing the statistical uncertainty of estimates...