Tutorial 8 Solutions

.pdf

School

University of Cape Town *

*We aren’t endorsed by this school

Course

2030

Subject

Statistics

Date

Nov 24, 2024

Type

pdf

Pages

5

Uploaded by tessarichardson2001

UNIVERSITY OF CAPE TOWN DEPARTMENT OF STATISTICAL SCIENCES STA2030S Tutorial 8 Solutions 2. a) Y is a statistic. It does not depend on a population parameter b) Z is NOT a statistic. It depends on μ and σ c) S 2 is a statistic. It does not depend on a population parameter d) Z is NOT a statistic. It depends on μ 3. We have X i N ( μ, σ 2 ) and 16 i =1 ( X i - ¯ X ) 2 = 133. The hypotheses for this two-sided test are: H 0 : σ 2 = 4 . 8 vs. H 1 : σ 2 > 4 . 8 The test statistic can be calculated as T = n i =1 ( X i - ¯ X ) 2 σ 2 0 = 133 4 . 8 = 27 . 7 where T χ 2 n - 1 = χ 2 15 Looking at the chi-squared table, we see that this test statistic of 27 . 7 exceeds the point χ 2 15;0 . 05 = 27 . 488. There is strong evidence to suggest that σ 2 > 4 . 8, and we would reject this null hypothesis at a significant level of at least 2 . 5% Note: We can use software to calculate the exact p-value as Pr( T 27 . 7) = 0 . 0235 4. Given that n = 21 and s 2 = 5 . 1, we can use the properties of the χ 2 - distribution to construct a 95% confidence interval for σ 2 as follows: Pr " χ 2 20;0 . 975 21 i =1 ( X i - ¯ X ) 2 σ 2 χ 2 20;0 . 025 # = 0 . 95 Pr " 21 i =1 ( X i - ¯ X ) 2 χ 2 20;0 . 025 σ 2 21 i =1 ( X i - ¯ X ) 2 χ 2 20;0 . 975 # = 0 . 95 1
We can now use the fact that n i =1 ( X i - ¯ X ) 2 = ( n - 1) S 2 and determine the above percentage points: χ 2 20;0 . 025 = 34 . 17 and χ 2 20;0 . 975 = 9 . 591 Yielding Pr (20)(5 . 1) 34 . 17 σ 2 (20)(5 . 1) 9 . 591 = 0 . 95 Therefore, a 95% confidence interval for σ 2 is: [2 . 985; 10 . 635] 8. (a) 95% Confidence Interval for μ , assuming σ 2 = 27: Pr ¯ X - z 0 . 025 σ n μ ¯ X + z 0 . 025 σ n = 0 . 95 Now we are given that σ 2 = 27. From the data we see that n = 18 and ¯ X = 80 . 39. From the tables we find that z 0 . 025 = 1 . 96. Therefore a 95% confidence interval for μ is given by " 80 . 39 - 1 . 96 r 27 18 μ 80 . 39 + 1 . 96 r 27 18 # or [77 . 99 ; 82 . 79] 95% Confidence Interval for μ , assuming σ 2 is unknown: Pr ¯ X - t 17 , 0 . 025 s n μ ¯ X + t 17 , 0 . 025 s n = 0 . 95 where s 2 is the sample variance. From the data we see that s = 5 . 15 and from the tables we find that t 17 , 0 . 025 = 2 . 11. Therefore a 95% confidence interval for μ is given by 80 . 39 - 2 . 11 5 . 15 18 μ 80 . 39 + 2 . 11 5 . 15 18 or [77 . 83 ; 82 . 95] 2
(b) 95% Confidence Interval for σ 2 , assuming μ = 80 . 5: Pr n i =1 ( X i - μ ) 2 χ 2 18;0 . 025 σ 2 n i =1 ( X i - μ ) 2 χ 2 18;0 . 975 = 0 . 95 Now we are given that μ = 80 . 5. From the data we see that n = 18 and 18 i =1 ( X i - 80 . 5) 2 = 450 . 5. From the tables we find that χ 2 18 , 0 . 975 = 8 . 23 and χ 2 18 , 0 . 025 = 31 . 53. Therefore a 95% confidence interval for σ 2 is given by 450 . 5 31 . 53 μ 450 . 5 8 . 23 or [14 . 29 ; 54 . 74] 95% Confidence Interval for σ 2 , assuming μ is unknown: Pr n i =1 ( X i - ¯ X ) 2 χ 2 17;0 . 025 σ 2 n i =1 ( X i - ¯ X ) 2 χ 2 17;0 . 975 = 0 . 95 From the data we see that n = 18 and 18 i =1 ( X i - 80 . 39) 2 = 450 . 28. From the tables we find that χ 2 17 , 0 . 975 = 7 . 56 and χ 2 17 , 0 . 025 = 30 . 19. Therefore a 95% confidence interval for σ 2 is given by 450 . 28 30 . 19 μ 450 . 28 7 . 56 or [14 . 91 ; 59 . 56] 3
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help