In: Statistics and Probability
\
15. A researcher interested in eating behavior wants to determine if thriller movies cause people to eat more M&Ms than musicals. The researcher randomly assigns 10 participants to a group that watches a scary movie (Get Out) and another 10 participants to a group that watches a musical (Cats). At the beginning of the movie, you give each participant a box of 15 M&Ms and tell each person not to share their M&Ms with anyone. At the end of the movie, you measure the number of M&Ms eaten by each participant. The data are shown below. Based on the results of this t-test, state the conclusions about the difference between the number of M&Ms eaten by subjects viewing a thriller movie versus a musical. Identify your research hypothesis (18 pts).
Get Out (Thriller) Cats (Musical) XY
13 2 11 8 97 84 75 12 61 88
The calculations are given below
d | s1=(d-dbar)^2 |
13 | 1030.41 |
2 | 1857.61 |
11 | 1162.81 |
8 | 1376.41 |
97 | 2693.61 |
84 | 1513.21 |
75 | 894.01 |
12 | 1095.61 |
61 | 252.81 |
88 | 1840.41 |
dbar=sum(d)/10 | variance=sum(s1)/9 |
45.1 | 1524.1 |
sd=sqrt(variance) | |
39.0397 | |
The r-code sfor reference
> d=c(13, 2, 11, 8, 97, 84, 75, 12, 61, 88)
> t.test(d,mu=0,)
One Sample t-test
data: d
t = 3.6532, df = 9, p-value = 0.002646
alternative hypothesis: true mean is greater than 0
95 percent confidence interval:
22.46941 Inf
sample estimates:
mean of x
45.1