Uncertainty quantification in stochastic processes