When both variables are random, the hypothesis of interest is whether the variables are independent.
The null hypothesis states that the variables are independent, against the alternative hypothesis that the variables are not independent. That is, in terms of the contingency table, the null hypothesis states the event "an observation is in row i" is independent of the event "that same observation is in column j," for all i and j, against the alternative hypothesis that is the negation of the null hypothesis.
When the test p-value is small, you can reject the null hypothesis and conclude that the variables are not independent.
From the Statistical Reference Guide for Analyse-it 6.24.0: https://analyse-it.com/docs/user-guide/contingency/independence-hypothesis-test
We use essential cookies to run the site. With your permission we'd also like to use analytics and
advertising cookies to see how visitors find and use Analyse-it, so we can keep improving it and reach
more people like you.
You can change your mind at any time, see our
Privacy policy.