QuEst: Blending Data and Predictions for Robust Quantile Estimation

QuEst blends a small gold sample with large model-generated imputations to estimate quantiles and CVaR, canceling simulator bias and minimizing sampling variance.

Przeczytaj ten artykuł po polsku

Quest paper


Imagine you track your morning commute times by recording 50 real-world trips with your GPS-enabled phone. You also run a traffic simulator to generate 5,000 possible commute scenarios. You want a reliable estimate of the 95th percentile of commute time—the duration you won’t exceed 95% of the days. Using only your 50 recorded trips yields a wide confidence interval. Using only the simulator risks systematic biases: it might ignore sudden road closures or special events.

QuEst (Quantile-based Estimation) smartly combines both sources:

  • It computes the 95th percentile on the real data and on the simulated data.
  • It subtracts the simulator’s estimate on just those 50 simulation runs, canceling out any systematic offset.
  • It mixes the two estimates with a weight , chosen to minimize the overall sampling variance.

The result is an unbiased, precise estimate of the 95th percentile commute time, with a narrower confidence band than using either source alone.

What Is the QuEst Method?

QuEst estimates any quantile-based measure , where is a weight function (e.g., a delta for a single percentile, or a step for CVaR). It leverages:

  1. A small set of gold-standard observations ( samples, empirical CDF ).
  2. A large set of model-generated imputations ( samples, empirical CDF ).

The QuEst estimator is enumerator:

where is the simulator’s CDF on the gold sample. This form ensures unbiasedness even if the simulator is biased.

Why Does It Work and Avoid Bias?

  1. Bias cancellation: Subtracting the simulator’s estimate on the same sample removes any constant offset.
  2. Optimal weight: The weight minimizes asymptotic variance: Empirically, if simulator outputs poorly correlate with real data, , and QuEst defaults to the gold data estimate.

How Does QuEst Self-Correct?

  • It estimates variances and covariances from data to choose .
  • In an extended version, it parametrizes the weight function as a combination of basis functions and solves a convex optimization to further reduce variance.
  • When new real observations arrive, it updates variance estimates, re-computes , and adjusts itself online.

Practical Example: Estimating the 90th Percentile of Website Load Time

Let’s walk through a concrete numeric example using QuEst formulas. Suppose:

  • You collect real measurements of page load time, yielding a 90th percentile estimate and sample variance 0.04.
  • You generate model-based imputations, giving and variance 0.01.
  • On the same 100-sample subset of imputations, you compute .
  • The covariance between the two estimates is 0.02.
  1. Compute optimal weight :

    In practice, cap at 1, so .

  2. Form the QuEst estimator:

  3. Interpretation:

    • Pure data-only estimate: 2.5 s (high variance).
    • Pure-model estimate: 2.3 s (potential bias).
    • QuEst combined estimate: 2.4 s (bias canceled, variance minimized).

This numeric example shows how to plug observed quantiles, variances, and covariances into QuEst’s formulas to obtain a corrected, low-variance estimate.


Related articles

Comments

Comments are moderated before they appear.

  • Loading comments…