Course Content

# Learning Statistics with Python

2. Mean, Median and Mode with Python

3. Variance and Standard Deviation

4. Covariance vs Correlation

Learning Statistics with Python

## Paired t-test

The following function performs a paired t-test.

It is similar to the one for independent samples, but here we do not obligate to check the homogeneity of variance. Paired t-test **does not** assume that variances are equal.

To perform a paired t-test, samples' **sizes must be equal**.

Knowing this, you can move to the task where you will perform a paired t-test.

Here you have data about the number of downloading one app; look at the samples: the mean values are almost equal.

# Task

We state the hypotheses:

- H₀: the mean number of downloading before and after changes are similar.
- Hₐ: the mean number of downloads is larger after modifications.

Conduct paired t-test with such alternative hypothesis, setting `before`

and `after`

as the samples.

Everything was clear?