In this lesson, you'll learn about the relationship between P-values and the Null Hypothesis, and their role in designing an experiment.
You will be able to:
- Understand and explain the null hypothesis, including its role in sound experiment design
- Understand, calculate, and interpret P-values
As stated previously, scientific experiments actually have 2 hypotheses:
Null Hypothesis: There is no relationship between A and B
Example: "There is no relationship between this flu medication and a reduced recovery time from the flu".
The Null Hypothesis is usually denoted as
Alternative Hypothesis: The hypothesis traditionally thought of when creating a hypothesis for an experiment
Example: "This flu medication reduces recovery time for the flu."
The Alternative Hypothesis is usually denoted as
An easy way to differentiate between the Null Hypothesis and the Alternative Hypothesis is that the Null Hypothesis is the more conservative choice. It always assumes that there is no difference between two different population means, and when it is represented mathematically, it should always contain an equals sign.
The Alternative Hypothesis is whatever claim you are trying to prove with an experiment.
No matter what you're experimenting on, good experiments come down to one question: Is your p-value less than your alpha value? Let's dive into what each of these values represents, and why they're so important to experimental design.
P-value: The calculated probability of arriving at this data randomly.
If you calculate a p-value and it comes out to 0.03, you can interpret this as saying "There is a 3% chance that the results I'm seeing are actually due to randomness or pure luck".
An alpha value can be any value set between 0 and 1. However, the most common alpha value in science is 0.05 (although this is somewhat of a controversial topic in the scientific community, currently).
If you set an alpha value of
When you conduct an experiment, your goal is to calculate a p-value and compare it to the alpha value. If
In simple terms:
There are many different ways that you can structure a hypothesis statement, but they always come down to this comparison in the end. In normally distributed data, you calculate p-values from z-scores. This is done a bit differently with discrete data. You may also have One-Tail and Two-Tail tests.
A One-Tail Test is when you want to know if a parameter from the treatment group is greater than (or less than) a corresponding parameter from the control group.
Example One-Tail Hypothesis
$H_{1} : \mu_1 < \mu_2 $ The treatment group given this weight loss drug will lose more weight on average than the control group that was given a competitor's weight loss drug
$ H_{0} : \mu1 >= \mu_2$ The treatment group given this weight loss drug will not lose more weight on average than the control group that was given a competitor's weight loss drug".
A Two-Tail Test is for when you want to test if a parameter falls between (or outside of) a range of two given values.
Example Two-Tail Hypothesis
You may be wondering why you need Null Hypothesis at all. This is a good question. It has to do with being honest about what an experiment actually proves.
Scientists use the Null Hypothesis so that they can be very specific in their findings. This is because a successful experiment doesn't actually prove a relationship between a dependent and independent variable. Instead, it just proves that there is not enough evidence to convincingly believe there is no relationship between the dependent and the independent variable. There can always be a lurking variable behind the scenes that is actually responsible for the relationship between two variables--it's almost impossible to cover every possible angle. However, a successful experiment where a p-value is less than an alpha value (typically,
You've covered a lot about the null hypothesis and how it's used in experiments in this lesson, but there's a lot more to learn about it!
Read the following article, The Null Hypothesis Loves You and Wants You To Be Happy. This does an excellent job of explaining why the concept of the Null Hypothesis is crucial to good science.
In this lesson, you learned about the relationship between P-values and the Null Hypothesis. Now you'll see how effect sizes affect your tests!