Analyzing of Renewable and Non-Renewable Energy consumption via Bayesian Inference. (December 2017)