In: Math
The P value, or calculated probability, is the smallest level of significance. The probability of finding the observed, or more extreme, results when the null hypothesis (H0) of a study question is true – the definition of ‘extreme’ depends on how the hypothesis is being tested. P is also described in terms of rejecting H0 when it is actually true, however, it is not a direct probability of this state.
So the p-value makes the decision of the null hypothesis on the basis of the level of significance. So if p-value is higher than Alpha then the null hypothesis is accepted and if it is lower than alpha then the null hypothesis is rejected.
Rejecting the null hypothesis makes the alternative hypothesis true because the alternative hypothesis is exactly the opposite of the null hypothesis.
For example Null Hypothesis: Mean marks of class 1 is equal to the mean marks of class 2
Alternative Hypothesis: Mean marks of class 1 is not equal to the mean marks of class 2
Type 1 error = 0.05 and p-value = 0.3
Since the p-value is greater than type 1 error so the null hypothesis is accepted.