Q. 39

Question

Refer to Exercise 37. Do the data provide convincing evidence of a difference in the effectiveness of the four treatments? Carry out an appropriate test at the α=0.05 significance level

Step-by-Step Solution

Verified
Answer

Yes, there is sufficient evidence that there is an association between the variables.

1Step 1: Given information

The given data is,


2Step 2: Explanation


In the question, there are various methods for quitting smoking, as well as a table with various methods and their success. In a two-way table, the summary of this data can be represented as:

As a result, the expected counts are the total of the rows multiplied by the total of the columns, divided by the sample size.n=893 as:

The chi-square statistic is defined as the total of squared deviations between expected and observed counts divided by expected count, as follows:

χ2=(4061.7514)261.7514+(7461.7514)261.7514+(8762.0045)262.0045+(2540.4927)240.4927+(204182.2486)2182.2486+(170182.2486)2182.2486+(158182.9955)2182.9955+(135119.5073)2119.5073

    =34.937

The degrees of freedom are determined as follows:

df=(c1)(r1)    =(41)(21)    =3

The test statistic has three degrees of freedom and follows the X2 distribution.

Therefore,

p-value 0

Thus, the P-value interval can be discovered in table C in the column title that has X2-value in the appropriate interval in the row with degree of freedom as:

P<0.0005

The null hypothesis is rejected if the  P-value is less than the significance level, as we know. As a result,P<0.05 Reject  H0

As a result, we find that there is sufficient evidence of a relationship between the variables.