Simulating a null hypothesis concerning correlation
The observed correlation between female illiteracy and fertility in the data set of 162 countries may just be by chance; the fertility of a given country may actually be totally independent of its illiteracy. You will test this null hypothesis in the next exercise.
To do the test, you need to simulate the data assuming the null hypothesis is true. Of the following choices, which is the best way to do it?
This exercise is part of the course
Statistical Thinking in Python (Part 2)
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
