问题
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:
The alternative is that they are associated:
The alternative is also commonly written .
Translate independence into probabilities
Under , knowing the category of one variable does not change the probability distribution of the other. For every row category and column category ,
For a contingency table, the expected count under this model is
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 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.
证据边界
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.
参考来源
这些来源支持上文解释中使用的概念和方法。