Closed MichelNivard closed 7 years ago
Yes, exactly!
In the code, we rank all of the SNPs by their calculated posterior probability and then add to a set until the cumulative probability of the set is equal to the (XX%)*(total posterior prob), which is what you mentioned above.
This may be blindingly obvious, but I could not find the way in which you compute the XX% credible set.
Is it the smallest set with a cumulative sum of posterior probabilites which is XX% of the total sum of posterior probabilities?
Best, Michel