We investigate the problem of uncertainty quantification in the mean estimation framework. Given an i.i.d. sample from a distribution with unknown mean and variance , we want to construct an estimator and provide a computable and size-optimal upper bound for the error . While estimators possessing strong deviation guarantees are well known, no data-dependent non-asymptotic upper bounds for their performance exist in general. We show that this gap can be bridged by introducing a parameter that characterizes the effective sample size'' available for uncertainty quantification. This parameter captures the difficulty of the problem, interpolating between easy’’ cases where sub-Gaussian confidence intervals exist and ``hard" cases where their construction is impossible. Using this characterization, we design confidence intervals of optimal length that are fully adaptive to the unknown variance. Numerical experiments confirm that our approach maintains nominal coverage even in asymmetric and heavy-tailed regimes where other existing methods fail.

生成讲解博客的中文版本

生成AI智能校验的中文版本