We can notice that the mean heights of first basemen is higher that that of second basemen. Thus, we may be tempted to conclude that **first basemen are higher than second basemen**.
We can notice that the mean heights of first basemen is higher than that of second basemen. Thus, we may be tempted to conclude that **first basemen are higher than second basemen**.
> This statement is called **a hypothesis**, because we do not know whether the fact is actually true or not.
> This statement is called **a hypothesis**, because we do not know whether the fact is actually true or not.
@ -180,8 +180,6 @@ P-value: 9.137321189738925e-12
```
```
In our case, p-value is very low, meaning that there is strong evidence supporting that first basemen are taller.
In our case, p-value is very low, meaning that there is strong evidence supporting that first basemen are taller.
> 🚀 **Challenge**: Use the sample code in the notebook to test other hypothesis that: (1) First basemen and older that second basemen; (2) First basemen and taller than third basemen; (3) Shortstops are taller than second basemen
There are also different other types of hypothesis that we might want to test, for example:
There are also different other types of hypothesis that we might want to test, for example:
* To prove that a given sample follows some distribution. In our case we have assumed that heights are normally distributed, but that needs formal statistical verification.
* To prove that a given sample follows some distribution. In our case we have assumed that heights are normally distributed, but that needs formal statistical verification.
* To prove that a mean value of a sample corresponds to some predefined value
* To prove that a mean value of a sample corresponds to some predefined value
@ -235,6 +233,12 @@ In this section, we have learnt:
While this is definitely not exhaustive list of topics that exist within probability and statistics, it should be enough to give you a good start into this course.
While this is definitely not exhaustive list of topics that exist within probability and statistics, it should be enough to give you a good start into this course.
## 🚀 Challenge
Use the sample code in the notebook to test other hypothesis that: