Skip to content

Updated CR to allow any number of disconnected regions and any number of percentiles#109

Open
mdhimes wants to merge 6 commits intopcubillos:masterfrom
mdhimes:master
Open

Updated CR to allow any number of disconnected regions and any number of percentiles#109
mdhimes wants to merge 6 commits intopcubillos:masterfrom
mdhimes:master

Conversation

@mdhimes
Copy link
Copy Markdown

@mdhimes mdhimes commented Mar 1, 2019

I've updated the CR function to work for any number of regions and any number of percentiles. Output displays CRs as (region1lo, region1hi) U (region2lo, region2hi) U ... in a nice format (respects 80-character width). The code to do so is perhaps less than ideal (nested loops), but performance-wise the cost of that is minimal and it works. Plots display each requested CR, where darkest is the lowest percentile (e.g., 68% interval would be a dark grey, and 95% interval would be a light grey). Defaults to both 68% and 95% intervals, as non-Gaussian posteriors need more than 1 CR to properly interpret the results.

Let me know if there are any desired changes before you merge this into master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant