PROBABILITY & STATISTICS · INTERVIEW QUESTION
What is a confidence interval? How is it different from a credible interval?
🟡 intermediate · Statistical Inference
Hint: Frequentist vs Bayesian interpretation of uncertainty.
Answer
Confidence interval (frequentist): if we repeated the experiment many times, X% of computed intervals would contain the true parameter. The true parameter is fixed; the interval is random. A 95% CI does NOT mean 'there's a 95% probability the parameter is in this interval.' Credible interval (Bayesian): given the observed data and prior, there's a 95% probability the parameter lies in this interval. The parameter is treated as a random variable.
Example: CI [2.1, 3.9] means the procedure captures the true value 95% of the time across repeated experiments. Credible interval [2.1, 3.9] means = 0.95. The Bayesian interpretation is more intuitive and practically useful. Nonparametric bootstrap CIs avoid a specified parametric distribution family but still require appropriate sampling and statistic regularity assumptions. Resample independent units; clustered or time-dependent data need suitable cluster/block schemes. Sparse tails and irregular statistics can have poor coverage.
Related questions
- What is the difference between Type I and Type II errors? How do they relate to precision and recall?
- What is the difference between descriptive and inferential statistics?
- Explain the difference between parametric and non-parametric tests. When would you use each?
- What is the multiple comparisons problem? How do you correct for it?
- Explain Bayes' theorem and give an ML application.