A distributionally robust perspective on uncertainty quantification and chance constrained programming