Bayesian Statistical Learning and Stochastic Programming for Energy Market Participation