An experiment designed to study the relationship between hypertension and cigarette smoking yielded the following data.
Test the hypothesis that whether or not an individual has hypertension is independent of how much that person smokes.
Skilled2021-03-03Added 93 answers
Under the null hypothesis of the independence of hypertension and smoking status, we have the following expected table (rounding off the expected frequencies)
This gives the value of T to be 16.486, which, under the null, follows an asymptotic chi-squared distribution, with 2 degrees of freedom. This yields a p value of 0.00026, and hence we reject the null hypothesis.