1.
Find the Chi-square test for independence at 0.05 significance level.
Check whether to retain or reject the null hypothesis test by using the chi-square test for independence.
1.
Answer to Problem 21CAP
The value of test statistic is 6.482.
The decision is to reject the null hypothesis.
The cravings for cocaine and relapse are related.
Explanation of Solution
Calculation:
The given information is that, a study was conducted by the tests of cravings for
cocaine and relapse. The summarized table is,
Relapse | Totals | |||
Yes | No | |||
Craving | Yes | 20 | 10 | 30 |
No | 8 | 17 | 25 | |
Totals | 28 | 27 |
Table 1
The formula for total participants is,
In the formula,
The formula for expected frequency is,
In the formula, N denotes the total participants.
Test statistic:
The formula for chi-square test statistic is,
In the formula,
The formula for degrees of freedom for chi-square independence test is,
In the formula,
Null hypothesis:
Alternative hypothesis:
Expected frequency:
Substitute the corresponding values of roe totals, column totals and total frequencies for each level of categorical variable in the expected frequency formula.
Expected frequency | Relapse | Totals | ||
Yes | No | |||
Craving | Yes | 30 | ||
No | 25 | |||
Totals | 28 | 27 |
Table 2
Substitute,
Critical value:
The given significance level is
From the Appendix C: Table C.7 Critical values for Chi-square:
- Locate the value 1 in the degrees of freedom (df) column.
- Locate the 0.05 in level of significance row.
- The intersecting value that corresponds to the 1 with level of significance 0.05 is 3.84.
The critical value for
Test statistic value:
Substitute the corresponding values of observed and expected frequencies for each level of categorical variable in the test statistic formula.
Hence, the value of test statistic is 6.482.
Conclusion:
The test statistic value is 6.482.
The critical value is 3.84.
The test statistic value is greater than the critical value.
The null hypothesis is rejected.
The cravings for cocaine and relapse are related.
2.
Find the effect size using
Find the effect size using Cramer’s V.
2.
Answer to Problem 21CAP
The effect size using
The effect size using Cramer’s V is 0.34.
Explanation of Solution
Calculation:
The test statistic is 6.482, and value of N is 55.
The formula for Phi coefficient is,
In the formula,
The formula for effect size using Cramer’s V is,
In the formula,
Substitute,
Hence, effect size using
For
The smaller degrees of freedom are 1.
Substitute,
Hence, effect size using Cramer’s V is 0.34.
Want to see more full solutions like this?
Chapter 17 Solutions
BUNDLE: Privitera: Statistics for the Behavioral Sciences, 3e (Hardcover) + Privitera: Student Study
- An article includes the accompanying data on compression strength (lb) for a sample of 12-oz aluminum cans filled with strawberry drink and another sample filled with cola. Beverage Sample Size Sample Mean Sample SD Strawberry Drink 10 535 24 Cola 10 559 15 Does the data suggest that the extra carbonation of cola results in a higher average compression strength? Base your answer on a P-value. (Use ? = 0.05.) State the relevant hypotheses. (Use ?1 for the strawberry drink and ?2 for the cola.) H0: ?1 − ?2 = 0Ha: ?1 − ?2 ≥ 0H0: ?1 − ?2 = 0Ha: ?1 − ?2 ≠ 0 H0: ?1 − ?2 = 0Ha: ?1 − ?2 < 0H0: ?1 − ?2 = 0Ha: ?1 − ?2 > 0 Calculate the test statistic and determine the P-value. (Round your test statistic to one decimal place and your P-value to three decimal places.) t = P-value = State the conclusion in the problem context. Reject H0. The data suggests that cola has a higher average compression strength than the strawberry drink.Reject H0. The…arrow_forwardThe following data are from a random sample of 10 students who participated in a study undertaken to investigate the effect of sleep time (measured in average number of hours of sleep per night) on GPA (grade point average, measured on a 4-point scale). Student Sleep time GPA 1 7 3.28 2 9 3.16 3 8 3.75 4 6 2.50 5 4 2.45 6 8 2.91 7 7 3.53 8 6 3.02 9 3 2.30 10 8 3.48 a. Find the equation between GPA (y) as function of sleep time (x). b. What is the estimated GPA of a student who averages 5 hours of sleep per night? c. What is the coefficient of determination? *(no use EXCEL)arrow_forwardGiven the following data and using Jamovi, test (at an alpha of 0.05) whether type of music influences heart rate (measured in beats per minute, bpm). Participant Rock Classical Heavy Metal ROW MEANS = 1 70 64 90 74.67 2 78 69 85 77.33 3 80 72 67 73 4 82 65 100 82.33 5 81 67 120 89.33 6 80 58 98 78.67 GROUP MEANS = 78.5 65.83 93.33 Total mean = 79.22 Null (H0) and alternative (Ha) hypotheses:______________________________________________________________________________________________________________________________________________ What are your degrees of freedom for group (type of music)? _________ What are your degrees of freedom for error (within-subjects)? _________arrow_forward
- The owner of Showtime Movie Theaters, Inc., would like to predict weekly gross revenue as a function of advertising expenditures. Historical data for a sample of eight weeks follow. Weekly Gross Revenue ($1000s) Televison Advertising ($1000s) Newspaper Advertising ($1000s) 97 6 1.5 90 2 2 95 5 1.5 93 3.5 2.5 95 3 4.3 95 3.5 3.3 95 3.5 4.2 95 4 2.5 a. Use alpha= 0.01 to test the hypotheses Ho : Beta Sub1= Beta Sub2 =0 Ha : Beta Sub1 and/or Beta Sub2 is not equal to zero for the model y=Beta Sub 0+ Beta Sub1 Xsub1+Beta Sub2 Xsub2+E , where X1= television advertising ($1000s) X2+ newspaper advertising ($1000s) Compute the F test statistic (to 2 decimals). Use F table. What is the p-value? - Select your answer -less than .01between .01 and .025between .025 and .05between .05 and .10greater than .10Item 2 What is your conclusion? - Select your answer -The overall model is not significantThe overall model is significantItem 3 b. Use alpha =0.05 to…arrow_forwardA snack food manufacturer estimates that the variance of the number of grams of carbohydrates in servings of its tortilla chips is 1.34. A dietician is asked to test this claim and finds that a random sample of 16 servings has a variance of 1.22. At α=0.05, is there enough evidence to reject the manufacturer's claim? Assume the population is normally distributed. Complete parts (a) through (e) below.arrow_forwardThe average effect size in social psychology is around d = 0.21. Conventionally, a sample over 30individuals is considered 'large.' If we are running an experiment for which we will perform atwo-tailed test t-test and we have 30 individuals in each of the two conditions, what is ourpredicted power? (use the standard alpha)arrow_forward
- Glencoe Algebra 1, Student Edition, 9780079039897...AlgebraISBN:9780079039897Author:CarterPublisher:McGraw Hill