document.write( "Question 1078507: nEED HELP WITH LOWER, UPPER AND P VALUE
\n" ); document.write( "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.
\n" ); document.write( "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.
\n" ); document.write( "(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
\n" ); document.write( "H0: μ = 20 H1: μ ≠ 20
\n" ); document.write( "A random sample of size 39 has a sample mean x = 23 from a population with standard deviation σ = 5.
\n" ); document.write( "(a) What is the value of c = 1 − α?
\n" ); document.write( "
\n" ); document.write( ".99
\n" ); document.write( "
\n" ); document.write( "Correct: Your answer is correct.
\n" ); document.write( " \r
\n" ); document.write( "\n" ); document.write( "Construct a 1 − α confidence interval for μ from the sample data. (Round your answers to two decimal places.)
\n" ); document.write( "lower limit
\n" ); document.write( "17.57
\n" ); document.write( "
\n" ); document.write( "Incorrect: Your answer is incorrect.
\n" ); document.write( "upper limit
\n" ); document.write( "25.17
\n" ); document.write( "
\n" ); document.write( "Incorrect: Your answer is incorrect.\r
\n" ); document.write( "\n" ); document.write( "What is the value of μ given in the null hypothesis (i.e., what is k)?
\n" ); document.write( "k =
\n" ); document.write( "20
\n" ); document.write( "
\n" ); document.write( "Correct: Your answer is correct.
\n" ); document.write( " \r
\n" ); document.write( "\n" ); document.write( "Is this value in the confidence interval?
\n" ); document.write( "Yes
\n" ); document.write( "No
\n" ); document.write( "Correct: Your answer is correct.\r
\n" ); document.write( "\n" ); document.write( "Do we reject or fail to reject H0 based on this information?
\n" ); document.write( "We fail to reject the null hypothesis since μ = 20 is not contained in this interval.
\n" ); document.write( "We fail to reject the null hypothesis since μ = 20 is contained in this interval.
\n" ); document.write( "We reject the null hypothesis since μ = 20 is not contained in this interval.
\n" ); document.write( "We reject the null hypothesis since μ = 20 is contained in this interval.
\n" ); document.write( "Correct: Your answer is correct.\r
\n" ); document.write( "\n" ); document.write( "(b) Using methods of this chapter, find the P-value for the hypothesis test. (Round your answer to four decimal places.)
\n" ); document.write( "
\n" ); document.write( ".0034
\n" ); document.write( "
\n" ); document.write( "Incorrect: Your answer is incorrect.
\n" ); document.write( "
\n" ); document.write( "thANK YOU!
\n" ); document.write( "

Algebra.Com's Answer #693011 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
The 99% CI is mean +/- z(0.995) sigma/sqrt(39)
\n" ); document.write( "(20.94, 25.06)
\n" ); document.write( "This is 2.576*5/sqrt(39)=2.06
\n" ); document.write( "20 is not in the CI
\n" ); document.write( "p-value will be very small.
\n" ); document.write( "It is <0.0002
\n" ); document.write( "Note: if the CI doesn't contain what is hypothesized, the p-value is less than alpha.
\n" ); document.write( "If the p-value is less than alpha, the CI won't contain the CI. That is a basic check to do.
\n" ); document.write( "
\n" );