document.write( "Question 1190015: 1. You manage a bookstore. Your competitor claims that the average textbook at their bookstore costs less than $100. You want to test this claim. You randomly sample 40 books and get the average cost of $95 and the sample standard deviation of this sample to be $20.\r
\n" ); document.write( "\n" ); document.write( "a. Run the hypothesis test at the standard alpha level of 5% and copy and paste the results below. Make sure you show the Ho, Ha, critical value, test statistic, p-values and decision.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "b. Summarize your results at the 0.05 alpha level significance level.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #821604 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Ho: mu >= 100
\n" ); document.write( "Ha: mu < 100
\n" ); document.write( "This is a left-tailed test because of the inequality sign in the alternative hypothesis.
\n" ); document.write( "The rejection region is to the left of the critical value.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "n = 40 = sample size
\n" ); document.write( "n > 30 so we can use the Z distribution here\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Given info:
\n" ); document.write( "mu = 100 is what we assume is the case
\n" ); document.write( "xbar = sample mean = 95
\n" ); document.write( "s = sample standard deviation = 20\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Test Statistic:
\n" ); document.write( "z = (xbar - mu)/(s/sqrt(n))
\n" ); document.write( "z = (95 - 100)/(20/sqrt(40))
\n" ); document.write( "z = -1.58
\n" ); document.write( "The value is approximate\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Use a Z table or calculator to find that
\n" ); document.write( "P(Z < -1.58) = 0.05705
\n" ); document.write( "This is the approximate p-value\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The p-value is not less than alpha = 0.05, so we fail to reject the null.
\n" ); document.write( "In other words, we don't have enough info to overturn the null.
\n" ); document.write( "The null was that mu >= 100, so either mu = 100 or mu > 100.
\n" ); document.write( "We can interpret this as \"The average textbook is $100 or more\", or something along those lines.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If you were to use a table or calculator, you should find that the z critical value is roughly -1.645 when considering a left-tailed test.
\n" ); document.write( "Effectively,
\n" ); document.write( "P(Z < -1.645) = 0.05 approximately\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Compare the test statistic (-1.58) and the critical value (-1.645)
\n" ); document.write( "The test statistic is not to the left of the critical value, so the test statistic is not in the rejection region. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "--------------------------------------------
\n" ); document.write( "Summary:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Test Statistic: z = -1.58
\n" ); document.write( "critical value: z = -1.645
\n" ); document.write( "P-value = 0.05705
\n" ); document.write( "Decision: Fail to reject the null
\n" ); document.write( "Interpretation: The average textbook is $100 or more\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );