Given a sample , we want to estimate the cdf .
The most common approach in frequentist statistics is to simply use the empirical cdf:
Glivenko and Cantelli showed that this estimator obeys the uniform convergence guarantee:
In fact, we can get almost sure convergence as well. (See also cdf concentration and the DKW inequality for explicit rates of convergence).
The most common approach in Bayesian statistics is to use the Dirichlet process prior.