When there is a decision being made on the basis of experimental data , it is termed as test of hypothesis in statistics. There are two terms assosicated with test of hypothesis – Null hypothesis and Alternative hypothesis.
Null Hypothesis : This hypothesis is denoted by H0 and it is usually a hypothesis that results predicted by chance.
Alternative Hypothesis : This is denoted by H1 and the results are influenced by some non random causes.
Example : Let us suppose we have a coin which is fair and we have to toss it for 20 times. The Null hypothesis is – there is a chance of 50% getting head and 50% getting tails.
Alternative hypothesis is – the percentage of getting head and tails might be different.
Result : When we tossed the coin for 20 times, we found that there are 15 nos. of times, when there is a head and only 5 times, there is tail. So, we have to reject the null hypothesis and accept the Alternative hypothesis.