Another ttest question with the pre and post test copmpasite scores
pre
49 |
67 |
61 |
61 |
64 |
58 |
58 |
61 |
49 |
67 |
55 |
55 |
58 |
67 |
52 |
43 |
58 |
58 |
70 |
52 |
64 |
61 |
58 |
Post
55 |
70 |
64 |
67 |
73 |
88 |
67 |
82 |
82 |
73 |
76 |
88 |
55 |
88 |
58 |
76 |
76 |
76 |
66 |
76 |
76 |
61 |
82 |
Solution:-
State the hypotheses. The first step is to state the null hypothesis and an alternative hypothesis.
Null hypothesis: ud = 0
Alternative hypothesis: ud ≠ 0
Note that these hypotheses constitute a two-tailed test. The null hypothesis will be rejected if the difference between sample means is too big or if it is too small.
Formulate an analysis plan. For this analysis, the significance level is 0.05. Using sample data, we will conduct a matched-pairs t-test of the null hypothesis.
Analyze sample data. Using sample data, we compute the standard deviation of the differences (s), the standard error (SE) of the mean difference, the degrees of freedom (DF), and the t statistic test statistic (t).
Before | After | d = A - B | (d - dbar)^2 | |
49 |
55 | -6 | 68.96219282 | |
67 | 70 | -3 | 127.7882798 | |
61 | 64 | -3 | 127.7882798 | |
61 | 67 | -6 | 68.96219282 | |
64 | 73 | -9 | 28.13610586 | |
58 | 88 | -30 | 246.3534972 | |
58 | 67 | -9 | 28.13610586 | |
61 | 82 | -21 | 44.83175803 | |
49 | 82 | -33 | 349.5274102 | |
67 | 73 | -6 | 68.96219282 | |
55 | 76 | -21 | 44.83175803 | |
55 | 88 | -33 | 349.5274102 | |
58 | 55 | 3 | 299.4404537 | |
67 | 88 | -21 | 44.83175803 | |
52 | 58 | -6 | 68.96219282 | |
43 | 76 | -33 | 349.5274102 | |
58 | 76 | -18 | 13.65784499 | |
58 | 76 | -18 | 13.65784499 | |
70 | 66 | 4 | 335.0491493 | |
52 | 76 | -24 | 94.00567108 | |
64 | 76 | -12 | 5.310018904 | |
61 | 61 | 0 | 204.6143667 | |
58 | 82 | -24 | 94.00567108 | |
Sum | 1346 | 1675 | -329 | 3076.869565 |
Mean | 58.521739 | 72.82608696 | -14.304348 | 133.7769376 |
s = sqrt [ (\sum (di - d)2 / (n - 1) ]
s = 11.826
SE = s / sqrt(n)
S.E = 2.4659
DF = n - 1 = 23 -1
D.F = 22
t = [ (x1 - x2) - D ] / SE
t = - 5.80
where di is the observed difference for pair i, d is mean difference between sample pairs, D is the hypothesized mean difference between population pairs, and n is the number of pairs.
Since we have a two-tailed test, the P-value is the probability that a t statistic having 22 degrees of freedom is more extreme than - 5.80; that is, less than - 5.80 or greater than 5.80.
Thus, the P-value = less than 0.0001
Interpret results. Since the P-value (0.00) is less than the significance level (0.05), we have to reject the null hypothesis.
Reject H0. The mean difference appears to differ from zero.
Another ttest question with the pre and post test copmpasite scores pre 49 67 61 61...
Problem #1: Consider the below matrix A, which you can copy and paste directly into Matlab. The matrix contains 3 columns. The first column consists of Test #1 marks, the second column is Test # 2 marks, and the third column is final exam marks for a large linear algebra course. Each row represents a particular student.A = [36 45 75 81 59 73 77 73 73 65 72 78 65 55 83 73 57 78 84 31 60 83...
Question 1 (30 marks) The scores of 60 students in a test are: 58 49 48 62 50 76 61 82 60 72 70 35 61 55 82 66 50 47 36 58 84 55 68 32 62 58 48 75 80 49 55 67 71 46 40 57 69 70 52 60 48 53 42 68 54 60 63 70 72 68 42 55 36 70 36 82 66 46 59 50 (i) Find the mean score of the...
1. Forecast demand for Year 4. a. Explain what technique you utilized to forecast your demand. b. Explain why you chose this technique over others. Year 3 Year 1 Year 2 Actual Actual Actual Forecast Forecast Forecast Demand Demand Demand Week 1 52 57 63 55 66 77 Week 2 49 58 68 69 75 65 Week 3 47 50 58 65 80 74 Week 4 60 53 58 55 78 67 57 Week 5 49 57 64 76 77...
estimate the average age at which multiple sclerosis patients were diagnosed with the condition for the first time in a given city. How big should the sample be? Define your procedures for this estimate (if necessary, set your own values of unknown parameters, based on statistical theory). In Table 1 you will find all ages of this patient population. 54 58 56 48 62 59 55 56 60 52 53 61 56 56 53 37 71 62 39 61 54...
Use the accompanying data set on the pulse rates (in beats per minute) of males to complete parts (a) and (b) below. LOADING... Click the icon to view the pulse rates of males. a. Find the mean and standard deviation, and verify that the pulse rates have a distribution that is roughly normal. The mean of the pulse rates is 71.871.8 beats per minute. (Round to one decimal place as needed.) The standard deviation of the pulse rates is 12.212.2...
Problem 1: Confidence Interval for Percentage of B’s. The data set “STAT 250 Final Exam Scores” contains a random sample of 269 STAT 250 students’ final exam scores (maximum of 80) collected over the past two years. Answer the following questions using this data set. a) What proportion of students in our sample earned B’s on the final exam? A letter grade of B is obtained with a score of between 64 and 71 inclusive. Hint: You can do this...
Please compute your z -don't use a package State your conclusion in plain English - not just rejection 1 Students in the online class are suspicious that their schools 60 point loss may have caused their teacher to take out his frustration on the students by giving them a harder than usual exam. They manage to hack into his computer and get the following data: Scores for test Nov 2011 71 74 64 77 58 72 73 79 50 78...
A statistics professor would like to build a model relating student scores on the first test to the scores on the second test. The test scores from a random sample of 21 students who have previously taken the course are given in the table. Test Scores Student First Test Grade Second Test Grade 1 86 78 2 47 61 3 95 82 4 53 66 5 69 74 6 97 86 7 59 66 8 45 62 9 44 60...
The given data is the grades for people in this class. The goal here is to determine the factors that effect student's Grade in the class. 4) Find the mean and median for the men's and the women's Quizzes. Gender Men Women 5) Test the claim that the majority of students at this class are women. F M F F M F F F F M M F F F M F F F F M M F F M...
QUESTION 27 Problem 5) Final scores of all the students in randomly selected 3 sections in a course, "Statistical Methods at Sam Houston State University we presented below. There are 25 sections in total Section 3: (69.92, 66, 81, 76, 55, 70, 83, 68, 57, 80, 66, 69, 55, 88, 70, 70, 70, 56, 50) Section 6: (10, 73, 88, 58, 89, 69, 63, 76, 87, 82, 97, 76, 66, 95, 84, 88, 82, 81, 68, 89) Section 9: (30,...