Q:

A candy factory that produces chocolate bars claims each bar weighs 50 grams, at least that is what is printed on the label. Of course, there is bound to be a little variation. An inspector randomly chooses 9 bars from one day's output of 4000 bars. The average weight of the 9 bars is only 47 grams. The inspector wishes to test the null hypothesis that the factory is doing what it is supposed to on this day against the alternative that the company is cheating the consumer. Assume that the weights of all the candy bars that are produced follow the normal curve with a SD of 3 grams. a. Which significance test should be used?

Accepted Solution

A:
Answer:We use T-test to perform this hypothesis.                             Step-by-step explanation:We are given the following in the question: Population mean, μ = 50 gramsPopulation standard deviation, σ = 3 gramsSample mean, [tex]\bar{x}[/tex] = 47 gramsSample size, n = 9 First, we design the null and the alternate hypothesis [tex]H_{0}: \mu = 50\text{ grams}\\H_A: \mu < 50\text{ grams}[/tex] We use T-test to perform this hypothesis. because the sample size is 9 which is less than 30, hence it does not follows a normal distribution. Formula: [tex]t_{stat} = \displaystyle\frac{\bar{x} - \mu}{\frac{\sigma}{\sqrt{n-1}} }[/tex]