Add degrees of freedom
O CHI SQUARE TESTS. INFERENCES FOR REGRESSION, AND ANOVA Alexia Chi-square test of independence Among the huge body of literature on smoking are data detailing the relative successfulness of males and females in quitting smoking. A study of 400 adults (ages 20 and older) who began various smoking cessation programs produced the data in the contingency table below. The table shows data from the study regarding two variables: the smoker's sex ("male" or "female") and the length of the smoking cessation period ("less than two weeks", "between two weeks and one year", or "at least one year"). In the table, "less than two weeks" means that the individual returned to smoking within two weeks of beginning the program, "between two weeks and one year" means that the individual survived the first two weeks but returned to smoking within a year, and "at least one year" means that the individual did not smoke for at least a year after beginning the program. The cells of the table each contain three numbers. The first number in each cell is the observed cell frequency (); the second number is the expected cell frequency () under the assumption that there is no association between sex and the length of the smoking cessation period; and the third number is the following value. (So SE) (Observed cell frequency " Expected cell frequency)" Expected cell frequency The numbers labeled "Total" are totals for observed frequency. Part 1 Fill in the missing values in the contingency table. Round your expected frequencies to two or more decimal places, and round your (O SE ) - values to three or more decimal places. Send data to Excel Length of smoking cessation period X Between Less than two weeks At least one and one Total two weeks year year 118 67 Male 124.80 240 0.37 Sex 47 90 23 Female 13.20 0 160 0.556 Total 102 208 90 400 Part 2 Answer the following to summarize the test of the hypothesis that there is no association between sex and the length of the smoking cessation period. For your test, use the 0.05 level of significance. (a) Determine the type of test statistic to use. X 5 ? Type of test statistic: (Choose one) V (b) Find the value of the test statistic. (Round to two or more decimal places. (c) Find the p-value. (Round to three or more decimal places.) (d) Can we conclude that there is an association between sex and the length of the smoking cessation period? Use the 0.05 level of significance. Yes O No Explanation Check