1970’s |
2000’s |
|||
97 |
99 |
|||
105 |
131 |
|||
109 |
83 |
|||
87 |
95 |
|||
96 |
81 |
|||
102 |
100 |
|||
102 |
88 |
|||
114 |
113 |
|||
118 |
108 |
|||
113 |
116 |
construct a 99% confidence interval estimate for the mean of the differences. Does this interval contain zero?
Here in this question, the main objective is to perform the hypothesis testing in whether the means of the samples are the same or not. Hence we will conduct a two-sample t-test to check the hypothesis against the alternative one which is not equal. The test will be a two-sided test with a confidence level of 0.01. (Hence the confidence interval will be 99%)
The hypothesis is stated below:
We shall now explain how the test should be constructed:
Using sample data, find the standard error, degrees of freedom, test statistic, and the P-value associated with the test statistic.
SE = sqrt[ (s12/n1) + (s22/n2) ]
where s1 is the standard deviation of sample 1, s2 is the standard deviation of sample 2, n1 is the size of sample 1, and n2 is the size of sample 2.DF = (s12/n1 + s22/n2)2 / { [ (s12 / n1)2 / (n1 - 1) ] + [ (s22 / n2)2 / (n2 - 1) ] }
If DF does not compute to an integer, round it off to the nearest whole number. Some texts suggest that the degrees of freedom can be approximated by the smaller of n1 - 1 and n2 - 1; but the above formula gives better results.t = [ (x1 - x2) - d ] / SE
where x1 is the mean of sample 1, x2 is the mean of sample 2, d is the hypothesized difference between population means, and SE is the standard error.Here, as the number of samples are same then the n1 and n2 will be replaced by n only.
Getting the confidence interval estimate. Here I have used R for calculating the confidence interval estimates. But before that we will discuss how the confidence interval can be constructed:
Here in this formula, z is the z-score for the 99% confidence, Sp is the pooled variance, here we are considering that the variance is same for the two samples, hence the variance is a single value. n1 and n2, we have discussed earlier.
I am attaching the R code for getting the results of the
t-test:
t_test = t.test(data$X, data$Y, alternative = c("two.sided",
"less", "greater"), mu = 0,
paired = FALSE, var.equal = FALSE, conf.level = 0.99)
t_test
Here data$X is nothing but the first sample and dfata$Y is the second sample.
the result is given below:
Explaining the results:
Thanks!!
weight of 30 people: 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110 screenshot of matlab is needed, please and thank you Create your own data that represents the weight of 30 people.Test the null hypothesis that the data comes from a normal distribution with mean mu = 70 and standard deviation sigma = 8. Hint: use the “ztest"...
82 96 99 102 103 103 106 107 108 108 108 108 109 110 110 111 113 113 113 113 115 115 118 118 119 121 122 122 127 132 136 140 146 -- g a wversity mo school a. Calcualte a point estimate of the mean value of IQ for the population of first graders at this school What estimator did you use? b. Calculate a point estimate of the IW value that separates the lowert 50% of all...
Here is your (discrete) data 108 83 93 118 88 58 88 65 113 103 119 101 91 92 95 86 85 73 94 61 121 71 116 78 114 119 118 131 41 70 68 98 202 155 41 93 78 96 93 110 100 61 98 39 94 86 108 75 64 50 90 123 109 69 118 85 102 86 153 109 89 134 80 104 96 129 48 81 102 31 97 130 98 105 109...
Weight IQ 88 99 112 103 107 97 112 99 80 100 86 90 103 118 121 79 116 80 82 88 65 82 107 103 100 116 91 112 110 92 113 115 105 100 108 94 90 118 73 106 102 126 99 95 80 119 114 116 90 79 95 92 106 78 86 111 106 80 Use the Weight_vs_IQ data. SETUP: Common sense dictates that a person’s IQ and Weight should not be related. However, one...
52 97 66 109 59 59 58 83 98 98 82 91 43 107 88 84 91 73 112 87 91 137 73 108 64 96 119 87 Construct a grouped frequency distribution table (GFDT) for this data set. You want 10 classes with a "nice" class width. Your classes should be labeled using interval notation. Each class contains its lower class limit, and the lower class limits should all be multiples of the class width. In that the data...
1. For each set below, using Excel, construct a. a frequency distribution, b. a relative frequency distribution, and c. a cumulative relative frequency distribution. Consider whether or not you should group your data. Describe how you determined your bin width, if you grouped the data in intervals. Set 1 75 95 103 100 93 91 90 92 89 105 86 85 81 96 103 99 94 95 91 97 92 107...
FIQ: Full-Scale IQ 96 88 85 97 124 101 93 94 114 113 96 87 101 103 127 89 87 103 96 126 Use the Brains data. SETUP: Is it reasonable to claim that the average IQ of the population is less than 110 ? 5. What test/procedure did you perform? a. One-sided t-test b. Two-sided t-test c. Regression d. Confidence interval 6. What is the P-value/margin of error? a. 2.30791 b. 0.00166 c. 4.72877 d. 5.21228 e. None of...
Boats (tens of thousands) Manatees 66 55 65 38 69 34 67 49 74 42 75 59 78 53 84 69 81 82 87 79 90 81 94 93 92 74 98 67 99 78 102 91 100 73 98 91 97 97 93 82 88 89 87 80 90 71 92 68 idrresponding numbe o ms for 880.000 registered Use the accompanying paired data consisting of registered boats (tens of thousands) and manatee fatalities from boat encounters. Let x...
24) Two groups of randomly selected drivers are surveyed to see how many miles per week they drive for pleasure trips. At alpha equal to 0.01, can it be concluded that single drivers do more driving for pleasure trips on average than married drivers? Assume the population standard deviation for single drivers to be 16.7 and the population standard deviation for married drivers to be 16.1. Test the hypothesis using the methods listed below. Single drivers 110 97 Married drivers...
How do I plot a series graph with this data provided? Month 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 Jan 95 104 101 88 132 125 111 127 119 147 Feb 94 100 96 110 109 118 123 129 147 146 Mar 98 99 82 129 101 121 121 132 164 133 Apr 96 88 84 113 111 140 139 108 135 148 May 95 89 85 114 140 141 119 115 124 141 Jun 115 108...