{ "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
.You can check your answer by clicking on the \"...\" below.
\n", "shift + enter
You can check your answer by clicking on the \"...\" below.
\n", "mu
and sets its value to 5.552
.mu
.You can check your answer by clicking on the \"...\" below.
\n", "You can check your answer by clicking on the \"...\" below.
\n", "second_t
negative ?\n",
" You can check your answer by clicking on the \"...\" below.
\n", "second_t
) is negative because the mean of the second sample is smaller than $\\mu$, hence the numerator for the t-value is negative. You can check your answer by clicking on the \"...\" below.
\n", "t
compare to the cutoff value (2.01)?p
compare to $\\alpha$ (0.05)?You can check your answer by clicking on the \"...\" below.
\n", "You can check your answer by clicking on the \"...\" below.
\n", "