A bank wants to know if the enrollment for new savings accounts has improved at various branches after offering a free iPhone X to customers.
Use the data from "iphoneX" sheet in excel
Which of the following is the correct p-value used for the statistical test?
0.1876 |
||
2.0452 |
||
0.9229 |
||
0.05 |
before iPhoneX | after iPhoneX |
69 | 34 |
35 | 28 |
28 | 11 |
9 | 45 |
50 | 88 |
24 | 89 |
31 | 25 |
6 | 2 |
88 | 54 |
19 | 20 |
31 | 95 |
74 | 94 |
7 | 74 |
21 | 1 |
17 | 28 |
82 | 100 |
24 | 71 |
84 | 42 |
88 | 29 |
72 | 2 |
13 | 24 |
55 | 70 |
22 | 11 |
25 | 34 |
38 | 2 |
15 | 14 |
3 | 56 |
83 | 52 |
59 | 80 |
96 | 14 |
> x=scan("clipboard");x
Read 30 items
[1] 69 35 28 9 50 24 31 6 88 19 31 74 7 21 17 82 24 84 88 72 13 55
22 25 38
[26] 15 3 83 59 96
> y=scan("clipboard");y
Read 30 items
[1] 34 28 11 45 88 89 25 2 54 20 95 94 74 1 28 100 71 42 29
[20] 2 24 70 11 34 2 14 56 52 80 14
#herewe use paired t test for thesing the hypothesis
> t.test(y,x,paired=T)
Paired t-test
data: y and x
t = 0.097672, df = 29, p-value = 0.9229
alternative hypothesis: true difference in means is not equal to
0
95 percent confidence interval:
-13.95783 15.35783
sample estimates:
mean of the differences
0.7
# the correct p-value used for the statistical test is 0.9229
option c is correct
Get Answers For Free
Most questions answered within 1 hours.