Question

In: Statistics and Probability

Here is the data set concerning treatment groups A and B. 57 70 66 27 65...

Here is the data set concerning treatment groups A and B.

57 70
66 27
65 15
40 86
64 49
11 16
34 57
61 29
26 73
45 71
30 98
43 46
64 88
19 22
14 53
14 59
11 94
34 18
68 68
39 62

Before performing a t-test to determine if the two groups are different, researchers must first ascertain if the variance in the two groups is the same using an F test.

Indicate whether the hypothesis below is the null or alternate hypothesis for the F test.

"The variance in group A is equal to the variance in group B" _____________? Null/Alternate  

Calculate the F statistic for this data set and report it in the box below, rounded to two decimal places. ____________?

Use the formula =(1-(f.dist(F, df1,df2,true) in Excel to calculate the P value for the F statistic, and report it in the box below. Do not use the rounded value for F when calculating the P value. Use the value in the spreadsheet that has not been rounded. __________?

Based on this p value, would you recommend using a Student's t test or a Welch's t test to determine if the two treatment groups have different means? Enter either Student's or Welch's in the box below. ____________?

Solutions

Expert Solution

Using R,

CODE:

a <- fread("57 70

66 27

65 15

40 86

64 49

11 16

34 57

61 29

26 73

45 71

30 98

43 46

64 88

19 22

14 53

14 59

11 94

34 18

68 68

39 62")

names(a) <- c("A","B")

var.test(a$A,a$B,alternative = "two.sided")

OUTPUT:

> a <- fread("57 70

+ 66 27

+ 65 15

+ 40 86

+ 64 49

+ 11 16

+ 34 57

+ 61 29

+ 26 73

+ 45 71

+ 30 98

+ 43 46

+ 64 88

+ 19 22

+ 14 53

+ 14 59

+ 11 94

+ 34 18

+ 68 68

+ 39 62")

> names(a) <- c("A","B")

> var.test(a$A,a$B,alternative = "two.sided")

F test to compare two variances

data: a$A and a$B

F = 0.57577, num df = 19, denom df = 19, p-value =

0.238

alternative hypothesis: true ratio of variances is not equal to 1

95 percent confidence interval:

0.2278986 1.4546665

sample estimates:

ratio of variances

0.5757747

"The variance in group A is equal to the variance in group B" : Null hypothesis.

The value of the F-statistic is 0.58.

P-value is 0.238.

Here p-value is > 0.05. So, we can't reject the null hypothesis that variances are equal at 5% level of significance.

So, as the variances are equal, we use Student's t-test to determine if the two treatment groups have different means.

Student's t-test using R:

CODE:

t.test(a$A,a$B,alternative = "two.sided", var.equal = T)

OUTPUT:

> t.test(a$A,a$B,alternative = "two.sided", var.equal = T)

Two Sample t-test

data: a$A and a$B

t = -1.9691, df = 38, p-value = 0.05626

alternative hypothesis: true difference in means is not equal to 0

95 percent confidence interval:

-30.0154893 0.4154893

sample estimates:

mean of x mean of y

40.25 55.05

So, the P-value of the t-test is 0.05626 > 0.05. So, we can't reject the null hypothesis that the two means are equal at 5% level of significance,

So, we can conclude that the means are equal.


Related Solutions

Consider the data set below. 65 68 58 57 71 61 60 67 66 72 60...
Consider the data set below. 65 68 58 57 71 61 60 67 66 72 60 62 54 57 61 54 55 58 61 55 64 66 56 61 51 83 57 55 58 59 61 55 66 55 58 52 75 67 64 56 55 58 50 62 63 67 57 54 55 63 a.       Find the mean, median and mode. b.       Find the range, variance, and standard deviation. c.              Find the lower quartile, upper quartile, and inter-quartile range...
Math Reading 52 65 63 71 55 61 68 77 66 76 57 70 59 69...
Math Reading 52 65 63 71 55 61 68 77 66 76 57 70 59 69 76 77 69 76 59 70 74 78 73 80 62 66 59 66 72 76 61 67 55 61 73 77 Can you teach me how to solve the problem below An educator conducted an experiment to test whether new directed reading activities in the classroom will help elementary school pupils improve some aspects of their reading ability. She arranged for a third...
Here is a set of sample data. 3 87 7 57 15 90 25 55 68...
Here is a set of sample data. 3 87 7 57 15 90 25 55 68 70 89 20 26 93 9 5 86 23 37 52 96 4 91 Base on the data above, identify the 5 number summary _ , _ ,_ , _ , _
chap 2 A) Here is a set of sample data 3 12 19 27 29 30...
chap 2 A) Here is a set of sample data 3 12 19 27 29 30 32 33 34 44 45 49 51 55 56 62 72 74 77 80 82 83 90 Identify the 5 number summary (min, Q1, median, Q3, max) , , , , B) The five number summary of a dataset was found to be: 46, 51, 55, 59, 70 An observation is considered an outlier if it is below: An observation is considered an outlier...
Year Salary (A) Salary (B) 1 65 55 2 65 57 3 65 59 4 67...
Year Salary (A) Salary (B) 1 65 55 2 65 57 3 65 59 4 67 62 5 69 64 6 72 67 7 74 69 8 77 72 9 79 75 10 82 78 11 84 81 12 87 84 13 89 88 14 89 91 15 89 95 16 92 95 17 92 95 18 94 95 19 94 95 20 96 99 1. Economics assumes people are interested in their rational self interest. Suppose a person works...
Here are SPSS file no 1 survival time 43 45 53 56 56 57 58 66...
Here are SPSS file no 1 survival time 43 45 53 56 56 57 58 66 67 73 74 79 80 80 81 81 81 82 83 83 84 88 89 91 91 92 92 97 99 99 100 100 101 102 102 102 103 104 107 108 109 113 114 118 121 123 126 128 137 138 139 144 145 147 156 162 174 178 179 184 191 198 211 214 243 249 329 380 403 511 522 598...
2.1. For the following data values: 68 56 78 80 65 45 65 64 66 Find...
2.1. For the following data values: 68 56 78 80 65 45 65 64 66 Find the following 2.1.1 Mean [2] 2.1.2 Variance [3] 2.1.3 Standard deviation [1] 2.1.4 Coefficient of variation [3] 2.1.5 The interquartile range
The following represent the scores 63    96    71    91    65    62    73    66    85    28    70 &n
The following represent the scores 63    96    71    91    65    62    73    66    85    28    70    82    68    71    77    67    85    53    68    80    82    45 60    42    30    83    45    94    55    56    65    87    96    47    88    51    79    100 92    77    64    83    41    58 77    70    89    78    52    96    77    75    74    77    88    67    47    38    83    81    66    77    61    68    53    88 72    48    77    77 100 53    68    42    60   ...
The data set of Froot loops list data from 100 boxes, and 27% of them are...
The data set of Froot loops list data from 100 boxes, and 27% of them are red color.  the Florida candy company claims that the percentage of red color depot loops is equal to 24%. use 0.05 significance level to test that claim. show work of how you, 1) identify the claim. 2)give symbolic form that must be true when the original claim is false. 3) identify Null and alternative hypothesis. 4)select significance level. 5) identify the test statistic 6)find...
The following data are from a completely randomized design. Treatment Treatment Treatment A B C 32...
The following data are from a completely randomized design. Treatment Treatment Treatment A B C 32 44 34 30 43 37 30 44 36 26 46 37 32 48 41 Sample mean 30 45 37 Sample variance 6 4 6.5 At the = .05 level of significance, can we reject the null hypothesis that the means of the three treatments are equal? Compute the values below (to 1 decimal, if necessary). Sum of Squares, Treatment Sum of Squares, Error Mean...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT