How to calculate confidence intervals in Python

A handy guide on how to calculate confidence intervals in Python

Gianluca Malato
Towards Data Science
5 min readNov 8, 2021

--

Photo by Edge2Edge Media on Unsplash

When we measure something, we always have to calculate the uncertainty of the result. confidence intervals are a very useful tool to calculate a range in which we can find the real value of the observable with a certain confidence.

What is a…

--

--

Theoretical Physicists, Data Scientist and fiction author. I teach Data Science, statistics and SQL on YourDataTeacher.com. E-mail: gianluca@gianlucamalato.it