146k views
5 votes
The heights of 1/4 sheet cakes baked by a bakery have been normally distributed with a mean of μ = 2.05 inches and a standard deviation of σ = 0.12 inches, respectively. Before deciding if the baking procedure needs adjustment, a random sample of n = 9 such cakes is selected and the sample mean is x = 2.01 inches. A hypothesis test at a significance level a = 0.05 is to be conducted to test if this mean has changed.

1. The null and alternative hypotheses should be ?2. Using the critical value to set up the decision rule, the decision rule should be?3. The test statistic of this test is?
4. The conclusion of this test should be

1 Answer

2 votes

Answer:

1. Null hypothesis:
\mu = 2.05

Alternative hypothesis:
\mu \\eq 2.05

2.
P(Z>a)=0.025, P(Z<-a)=0.025

And the value of a that satisfy this is a=1.96. So our critical regions are:
(-\infty,-1.96), (1.96,\infty)

3.
z=(2.01-2.05)/((0.12)/(√(9)))=-1

4. If we compare the p value and a significance level assumed
\alpha=0.05 we see that
p_v>\alpha so we can conclude that we FAIL to reject the null hypothesis, and the actual true mean for the heights is NOT significant different than 2.05. Using the critical region founded on part 2 we agree with the decision obtained with the p value since -1 is not on the critical zones, so we FAIL to reject the null hypothesis.

Explanation:

Data given and notation


\bar X=2.01 represent the sample mean


\sigma=0.12 represent the standard deviation for the population


n=9 sample size


\mu_o =2.05 represent the value that we want to test


\alpha=0.05 represent the significance level for the hypothesis test.

z would represent the statistic (variable of interest)


p_v represent the p value for the test (variable of interest)

1) The null and alternative hypotheses should be ?

We need to conduct a hypothesis in order to determine if the mean change from 2.05, the system of hypothesis would be:

Null hypothesis:
\mu = 2.05

Alternative hypothesis:
\mu \\eq 2.05

2. Using the critical value to set up the decision rule, the decision rule should be?

For this case we need two critical values since we are conducting a two tailed test. We have this equality:


P(Z>a)=0.025, P(Z<-a)=0.025

And the value of a that satisfy this is a=1.96. So our critical regions are:
(-\infty,-1.96), (1.96,\infty)

3. The test statistic of this test is?

We know the population deviation, so for this case is better apply a z test to compare the actual mean to the reference value, and the statistic is given by:


z=(\bar X-\mu_o)/((\sigma)/(√(n))) (1)

z-test: "Is used to compare group means. Is one of the most common tests and is used to determine if the mean is (higher, less or not equal) to an specified value".

We can replace in formula (1) the info given like this:


z=(2.01-2.05)/((0.12)/(√(9)))=-1

4. The conclusion of this test should be

Since is a two tailed test the p value would be:


p_v =2*P(Z<-1)=0.159

Conclusion

If we compare the p value and a significance level assumed
\alpha=0.05 we see that
p_v>\alpha so we can conclude that we FAIL to reject the null hypothesis, and the actual true mean for the heights is NOT significant different than 2.05. Using the critical region founded on part 2 we agree with the decision obtained with the p value since -1 is not on the critical zones, so we FAIL to reject the null hypothesis.

User Martins Balodis
by
7.7k points