Students at a major university believe they can save money buying textbooks online…
- User
Students at a major university believe they can save money buying textbooks online rather than at the local bookstores. In order to test this theory, they randomly sampled 25 textbooks on the shelves of the local bookstores. The students then found the "best" available price for the same textbooks via online retailers. The prices for the textbooks are listed in the following table. Based on the data, is it less expensive for the students to purchase textbooks from the online retailers than from local bookstores? Use α=0.10 . Let prices at local bookstores represent Population 1 and prices at online retailers represent Population 2.
Textbook Prices (Dollars) Textbook Bookstore Online Retailer Textbook Bookstore Online Retailer 1 137 147 14 131 134 2 125 105 15 148 154 3 59 62 16 103 107 4 124 135 17 76 89 5 138 134 18 144 119 6 58 44 19 109 105 7 95 88 20 50 53 8 142 124 21 148 125 9 109 98 22 63 75 10 111 120 23 88 74 11 121 129 24 69 57 12 131 107 25 85 84 13 149 148
Step 2 of 3 : Compute the value of the test statistic. Round your answer to three decimal places.
- Assistant
To test whether it is less expensive for the students to purchase textbooks from online retailers than from local bookstores, we can use a two-sample t-test.
Let's first calculate the mean and standard deviation for each population: Population 1 (Local Bookstores): Mean 1 (x̄1) = (137 + 125 + ... + 131 + 149) / 25 = 110.88 Standard Deviation 1 (s1) = sqrt[((137 - 110.88)^2 + (125 - 110.88)^2 + ... + (149 - 110.88)^2) / (25 - 1)] = sqrt[(4051.12 + 198.24 + ... + 110.88) / 24] = 25.204
Population 2 (Online Retailers): Mean 2 (x̄2) = (147 + 105 + ... + 148 + 148) / 25 = 104.08 Standard Deviation 2 (s2) = sqrt[((147 - 104.08)^2 + (105 - 104.08)^2 + ... + (148 - 104.08)^2) / (25 - 1)] = sqrt[(1850.24 + 0.0096 + ... + 1813.92) / 24] = 24.682
Next, we can calculate the t-statistic using the formula: t = (x̄1 - x̄2) / sqrt[(s1^2 / n1) + (s2^2 / n2)] where x̄1 and x̄2 are the means, s1 and s2 are the standard deviations, n1 and n2 are the sample sizes.
t = (110.88 - 104.08) / sqrt[(25.204^2 / 25) + (24.682^2 / 25)] = 6.8 / sqrt[0.0402 + 0.0481] = 6.8 / sqrt(0.0883) = 6.8 / 0.297
Using a calculator, the t-value is approximately 22.90.
- User
An FDA representative randomly selects 9 packages of ground chuck from a grocery store and measures the fat content (as a percent) of each package. Assume that the fat contents have an approximately normal distribution. The resulting measurements are given below.
Fat Contents (%) 18 16 16 18 11 11 12 17 16 Step 1 of 2 : Calculate the sample mean and the sample standard deviation of the fat contents. Round your answers to two decimal places, if necessary.
- Assistant
To calculate the sample mean and sample standard deviation of the fat contents, we will use the given data.
Fat Contents (%): 18, 16, 16, 18, 11, 11, 12, 17, 16
Step 1: Calculate the sample mean (x̄): x̄ = (18 + 16 + 16 + 18 + 11 + 11 + 12 + 17 + 16) / 9 = 135 / 9 = 15
The sample mean (x̄) of the fat contents is 15.
Step 2: Calculate the sample standard deviation (s): First, calculate the deviations from the mean: 18 - 15 = 3 16 - 15 = 1 16 - 15 = 1 18 - 15 = 3 11 - 15 = -4 11 - 15 = -4 12 - 15 = -3 17 - 15 = 2 16 - 15 = 1
Next, square each deviation: 3^2 = 9 1^2 = 1 1^2 = 1 3^2 = 9 (-4)^2 = 16 (-4)^2 = 16 (-3)^2 = 9 2^2 = 4 1^2 = 1
Calculate the sum of the squared deviations: 9 + 1 + 1 + 9 + 16 + 16 + 9 + 4 + 1 = 66
Calculate the sample variance (s^2): s^2 = sum of squared deviations / (n - 1) = 66 / 8 = 8.25
Calculate the sample standard deviation (s): s = sqrt(s^2) = sqrt(8.25) ≈ 2.872
The sample standard deviation (s) of the fat contents is approximately 2.87 (rounded to two decimal places).