Improving inference of cosmological parameters with advanced statistical techniques using simulations