Added method analyze_posteriors