Bayesian statistics, inverse problems and the logistic map