Bayesian analysis of the quiet Sun