Uncertainty Quantification for Statistical and Neural Models