StatisticsInferential Statistics

Select the Null Hypothesis for a Test of Independence: H₀ and H₁

Select the null hypothesis for a test of independence: state H₀ and H₁ for two categorical variables and explain what a chi-square test can conclude.

Question

For a chi-square independence test, give both hypotheses in terms of the relationship between the two categorical variables.

Answer

Select the statement that the two categorical variables are independent as the null hypothesis:

H0: The two categorical variables are independent.H_0:\ \text{The two categorical variables are independent.}

The alternative is that they are associated:

H1: The two categorical variables are not independent.H_1:\ \text{The two categorical variables are not independent.}

The alternative is also commonly written HaH_a.

Translate independence into probabilities

Under H0H_0, knowing the category of one variable does not change the probability distribution of the other. For every row category ii and column category jj,

P(A=i,B=j)=P(A=i)P(B=j).P(A=i,B=j)=P(A=i)P(B=j).

For a contingency table, the expected count under this model is

Eij=(row i total)(column j total)grand total.E_{ij}=\frac{(\text{row }i\text{ total})(\text{column }j\text{ total})}{\text{grand total}}.

These expected counts need not be equal across cells. They reflect the observed margins under a model of independence.

Keep the conclusion separate from the hypothesis

A sufficiently small p-value provides evidence against independence. Failing to reject H0H_0 means the data do not provide sufficient evidence of association at the chosen significance level; it does not establish independence as a fact. An observed association also does not establish causation.

This question asks only for the hypotheses. Without observed counts and a significance level, there is no numerical test result to report.

Evidence boundary

This answers OpenStax Practice Test 3, question 86, which requests both hypotheses in general terms. There are no multiple-choice options or observed counts in this exercise. No chi-square statistic, p-value, rejection decision, or causal claim is inferred.

Sources

These references support the concepts and methods used in the explanation above.

Select the Null Hypothesis for a Test of Independence: H₀ and H₁ | Verla