Is there a relationship between confidence intervals and two-tailed hypothesis tests? Let c be the level of confidence used to construct a confidence interval from sample data. Let α be the level of significance for a two-tailed hypothesis test. The following statement applies to hypothesis tests of the mean. For a two-tailed hypothesis test with level of significance α and null hypothesis H0: μ = k, we reject H0 whenever k falls outside the c = 1 − α confidence interval for μ based on the sample data. When k falls within the c = 1 − α confidence interval, we do not reject H0. (A corresponding relationship between confidence intervals and two-tailed hypothesis tests also is valid for other parameters, such as p, μ1 − μ2, or p1 − p2, which we will study later.) Whenever the value of k given in the null hypothesis falls outside the c = 1 − α confidence interval for the parameter, we reject H0. For example, consider a two-tailed hypothesis test with α = 0.01 and H0: μ = 20        H1: μ ≠ 20 A random sample of size 40 has a sample mean x = 22 from a population with standard deviation σ = 4.   1. What is the value of c = 1 − α?a) Construct a 1 − α confidence interval for μ from the sample data. (Round your answers to two decimal places.) lower limit       upper limit       b)What is the value of μ given in the null hypothesis (i.e., what is k)?k = c)Is this value in the confidence interval? a)Yes b)No     d)Do we reject or fail to reject H0 based on this information? a)We fail to reject the null hypothesis since μ = 20 is not contained in this interval. b)We fail to reject the null hypothesis since μ = 20 is contained in this interval.   c)We reject the null hypothesis since μ = 20 is not contained in this interval. d)We reject the null hypothesis since μ = 20 is contained in this interval. 2. Using methods of this chapter, find the P-value for the hypothesis test. (Round your answer to four decimal places.)a)Do we reject or fail to reject H0? a)We fail to reject the null hypothesis since there is insufficient evidence that μ differs from 20. b)We reject the null hypothesis since there is insufficient evidence that μ differs from 20.   c)We reject the null hypothesis since there is sufficient evidence that μ differs from 20. d)We fail to reject the null hypothesis since there is sufficient evidence that μ differs from 20. b)Compare your result to that of part (a). a)We rejected the null hypothesis in part (a) but failed to reject the null hypothesis in part (b). b)These results are the same.     c)We rejected the null hypothesis in part (b) but failed to reject the null hypothesis in part (a).

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Topic Video
Question
Is there a relationship between confidence intervals and two-tailed hypothesis tests? Let c be the level of confidence used to construct a confidence interval from sample data. Let α be the level of significance for a two-tailed hypothesis test. The following statement applies to hypothesis tests of the mean.
For a two-tailed hypothesis test with level of significance α and null hypothesis H0: μ = k, we reject H0 whenever k falls outside the c = 1 − α confidence interval for μ based on the sample data. When k falls within the c = 1 − α confidence interval, we do not reject H0.
(A corresponding relationship between confidence intervals and two-tailed hypothesis tests also is valid for other parameters, such as p, μ1 − μ2, or p1 − p2, which we will study later.) Whenever the value of k given in the null hypothesis falls outside the c = 1 − α confidence interval for the parameter, we reject H0. For example, consider a two-tailed hypothesis test with α = 0.01 and
H0: μ = 20        H1: μ ≠ 20
A random sample of size 40 has a sample mean x = 22 from a population with standard deviation σ = 4.
 
1. What is the value of c = 1 − α?


a) Construct a 1 − α confidence interval for μ from the sample data. (Round your answers to two decimal places.)
lower limit      
upper limit      

b)What is the value of μ given in the null hypothesis (i.e., what is k)?
k = 

c)Is this value in the confidence interval?
a)Yes
b)No    

d)Do we reject or fail to reject H0 based on this information?
a)We fail to reject the null hypothesis since μ = 20 is not contained in this interval.
b)We fail to reject the null hypothesis since μ = 20 is contained in this interval.  
c)We reject the null hypothesis since μ = 20 is not contained in this interval.
d)We reject the null hypothesis since μ = 20 is contained in this interval.

2. Using methods of this chapter, find the P-value for the hypothesis test. (Round your answer to four decimal places.)


a)Do we reject or fail to reject H0?
a)We fail to reject the null hypothesis since there is insufficient evidence that μ differs from 20.
b)We reject the null hypothesis since there is insufficient evidence that μ differs from 20.  
c)We reject the null hypothesis since there is sufficient evidence that μ differs from 20.
d)We fail to reject the null hypothesis since there is sufficient evidence that μ differs from 20.

b)Compare your result to that of part (a).
a)We rejected the null hypothesis in part (a) but failed to reject the null hypothesis in part (b).
b)These results are the same.    
c)We rejected the null hypothesis in part (b) but failed to reject the null hypothesis in part (a).
 
 
 
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 7 steps with 5 images

Blurred answer
Knowledge Booster
Hypothesis Tests and Confidence Intervals for Means
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman