Skip to content

Explanation of Corner Plot Histograms #100

Answered by Joshuaalbert
Gaurav17Joshi asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Gaurav17Joshi the reason is because in nested sampling, the samples produced are not of equal weight, unlike MCMC. Instead they are weighted by how much they contribute to the evidence, Z = sum_i dP_i. Or, dP_i = L_i * w_i, where w_i is the amount of shrinkage between likelihood contours. These weights, dP_i allow you to take expectations, e.g. E_posterior[f] = sum_i f(x_i) * dP_i. When you have weights of equal weight, e.g. with MCMC, dP_i=1. Anyways, you can resample the weighted samples to produce equally weighted samples, by selecting a sample with replacement proportionally to dP_i. And that is what we do before doing any type of statistic that relies of equally weighted samples,…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Gaurav17Joshi
Comment options

Answer selected by Gaurav17Joshi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants