Clarification required - Multi category chi-squared tests : 4. Finding statistical significance

Screen Link:
https://app.dataquest.io/m/100/multi-category-chi-squared-tests/4/finding-statistical-significance

Here the calculated the p-value is zero which is less than the scientifically accepted 5%. Does that mean that we are not rejecting the null hypothesis? I presume our hypothesis are as below.

Null hypothesis : Gender has no impact on salary.
Alternative hypothesis : Gender has impact on salary.

Please provide an explanation.

1 Like

Hi @sreekanthac

If the p-value is less than 0.05, we reject the null hypothesis that there’s no difference between the means and conclude that a significant difference does exist. If the p-value is larger than 0.05, we cannot conclude that a significant difference exists.

That’s pretty straightforward, right? Below 0.05, significant. Over 0.05, not significant.
https://blog.minitab.com/blog/understanding-statistics/what-can-you-say-when-your-p-value-is-greater-than-005

Therefore, It means the opposite. It means that we are rejecting the null hypothesis.
This, in turn, means that gender has an impact on salary.

Best,
Sahil

@Sahil
Do you mean that the null and the alternative hypotheses, that I mentioned are incorrect. Then what are the null and the alternative hypotheses considered in this case?

Hey. Sorry for the delay in the response.

Sahil is on vacation right now and we actually discussed this. Sahil did not mean to say that what you said is incorrect, he meant to say that the null hypothesis is rejected here.

In other words, he meant to say that the answer to your question below is “No”.