Data-driven decisions in stochastic systems : reliability and efficiency