document.write( "Question 1177447: The Hinton Valley Bottling Company distributes cola in bottles labeled 32oz. An inspector randomly chooses 50 of these bottles, measures their contents, and obtains a sample mean of 31.4oz. and a sample standard deviation of 1.75oz. Using a 0.01 level of significance, test the inspector’s claim that the company is cheating the consumers. Find the p-value for this test. \n" ); document.write( "
Algebra.Com's Answer #850459 by CPhill(1959)\"\" \"About 
You can put this solution on YOUR website!
We're going to conduct a hypothesis test for a mean.\r
\n" ); document.write( "\n" ); document.write( "Let $\mu$ be the true mean volume of cola in the bottles.\r
\n" ); document.write( "\n" ); document.write( "1. **Hypotheses:**
\n" ); document.write( " * Null hypothesis: $\mu = 32$ (The company is not cheating.)
\n" ); document.write( " * Alternative hypothesis: $\mu < 32$ (The company is cheating.)\r
\n" ); document.write( "\n" ); document.write( "2. **Test statistic:**
\n" ); document.write( " We use the t-statistic, since the population standard deviation is unknown:
\n" ); document.write( " ```
\n" ); document.write( " t = \frac{\bar{x} - \mu_0}{s / \sqrt{n}}
\n" ); document.write( " ```
\n" ); document.write( " where $\bar{x} = 31.4$ is the sample mean, $\mu_0 = 32$ is the hypothesized mean, $s = 1.75$ is the sample standard deviation, and $n = 50$ is the sample size. This gives us
\n" ); document.write( " ```
\n" ); document.write( " t = \frac{31.4 - 32}{1.75 / \sqrt{50}} \approx -2.42.
\n" ); document.write( " ```\r
\n" ); document.write( "\n" ); document.write( "3. **P-value:**
\n" ); document.write( " The p-value is the probability of observing a sample mean as extreme as $\bar{x} = 31.4$, assuming the null hypothesis is true. Since this is a left-tailed test, the p-value is
\n" ); document.write( " ```
\n" ); document.write( " P(T < -2.42) \approx 0.0096,
\n" ); document.write( " ```
\n" ); document.write( " where $T$ has a t-distribution with $n - 1 = 49$ degrees of freedom.\r
\n" ); document.write( "\n" ); document.write( "4. **Conclusion:**
\n" ); document.write( " Since the p-value (0.0096) is less than $\alpha = 0.01$, we reject the null hypothesis. There is enough evidence to conclude that the company is cheating the consumers.
\n" ); document.write( "
\n" );