{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "
Introduction to hypothesis testing
\n", "\n", "An important part of the scientific process is to make hypotheses about the world or about the results of experiments. These hypotheses need then to be checked by collecting evidence and making comparisons. Hypothesis testing is a step in this process where statistical tools are used to test hypotheses using data.\n", "\n", "**This notebook is designed for you to learn**:\n", "* How to distinguish between \"population\" datasets and \"sample\" datasets when dealing with experimental data\n", "* How to compare a sample to a population, test a hypothesis using a statistical test called the \"t-test\" and interpret its results\n", "* How to use Python scripts to make statistical analyses on a dataset\n", "\n", "In the following, we will use an example dataset representing series of measurements on a type of flower called Iris." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "---" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Introduction\n", "\n", "shift + enter
.\n", " | petal_length | \n", "petal_width | \n", "
---|---|---|
0 | \n", "5.090981 | \n", "1.787443 | \n", "
1 | \n", "5.224431 | \n", "2.259538 | \n", "
2 | \n", "7.251620 | \n", "2.055940 | \n", "
3 | \n", "5.607932 | \n", "2.311074 | \n", "
4 | \n", "6.118801 | \n", "1.997534 | \n", "
\n", " | petal_length | \n", "petal_width | \n", "
---|---|---|
count | \n", "50.000000 | \n", "50.000000 | \n", "
mean | \n", "5.713045 | \n", "2.021249 | \n", "
std | \n", "0.518940 | \n", "0.248203 | \n", "
min | \n", "4.694441 | \n", "1.484636 | \n", "
25% | \n", "5.428526 | \n", "1.834893 | \n", "
50% | \n", "5.692604 | \n", "2.036254 | \n", "
75% | \n", "6.070874 | \n", "2.204745 | \n", "
max | \n", "7.251620 | \n", "2.633884 | \n", "
You can check your answer by clicking on the \"...\" below.
\n", "5.713045 cm
.0.518940 cm
.\n",
"