On confidence intervals and uncertainty intervals
See original GitHub issueGiven that this is a Bayesian method, it is strange that the uncertainty is summarized using confidence intervals as opposed to Bayesian uncertainty/probability/credibility intervals via, for instance, HDIs and also taking the mean instead of the median as the point estimate. @WillianFuks, I am curious to hear your thoughts on what is in compile_posterior_inferences
:
https://github.com/WillianFuks/tfcausalimpact/blob/master/causalimpact/inferences.py#L52
Having computed samples of the target time series, it should be straightforward to summarize them pointwise via, say, hdi
in arviz
. Or do I miss something?
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Are confidence intervals better termed “uncertainty intervals”?
Let's use the term “uncertainty interval” instead of “confidence interval.” The uncertainty interval tells us how much uncertainty we have. As ...
Read more >Difference between uncertainty intervals and confidence ...
An uncertainty interval refers to confidence interval, the difference between the two being only philosophical rather than mathematical. Confidence interval ...
Read more >Confidence intervals, compatability intervals, uncertainty ...
I recommended the term “uncertainty intervals,” on the grounds that the way confidence intervals are used in practice is to express ...
Read more >12.4.1 Confidence intervals
The confidence interval describes the uncertainty inherent in this estimate, and describes a range of values within which we can be reasonably sure...
Read more >Introduction to Uncertainty
Measurements and uncertainties. ➢Uncertainty. ➢Types of uncertainty. ➢Standard uncertainty. ➢Confidence Intervals. ➢Expanded Uncertainty. ➢Examples.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I ended up writing a custom function for summarizing inferences, as I wanted to have medians and HDIs instead of means and quantile intervals. I will leave it here in case it can be helpful some time in the future:
I close this then. I think switching to quantile intervals was a good move. Next time around, one can consider HDIs, but probably it would not make much of a difference unless very skewed distributions are expected.
Thank you, and sorry for this much noise here 🙂