Course Content

Learning Statistics with Python

**What is it?**

A confidence interval is a range of estimated values for an unknown parameter. To calculate it, we have to define the confidence level: the 95% confidence level is the most common. Also, 90% and 99% confidence levels are used too.

**Confidence of 95%?**

The 95% confidence level means that in 95% of cases, the estimate will fall between the lower and upper bound of the interval.

The most common value for the confidence interval is **95%**, but **99%** and **90%** are used too.

**Alpha value**

The confidence interval is usually equal to 1-a. Where alpha is the probability of a type I error. Type I errors describe cases when we reject a null hypothesis that is true.

**Null and alternative hypotheses**

The alternative and null hypotheses are assumptions used in statistical tests to make judgments based on data. In statistical hypothesis testing, the null and alternative hypotheses are mutually exclusive statements. Usually, in hypothesis testing, we try to reject or not the null hypothesis.

In this section, we will deal with the data about penguins. At the end of the section, we will say that with *95% confidence, the mean penguin's mass is...*

Section 5.

Chapter 2