A consumer products company is formulating a new shampoo and is interested in foam height (in mm). Foam height is approximately normally distributed and has a standard deviation of 20 mm. The company wishes to test H0: μ = 175 mm versus H1: μ > 175 mm, using a random sample of n = 10 samples.



(a) Find P-value if the sample average is = 185? Round your final answer to 3 decimal places.

(b) What is the probability of type II error if the true mean foam height is 200 mm and we assume that α = 0.05? Round your intermediate answer to 1 decimal place. Round the final answer to 4 decimal places.

(c) What is the power of the test from part (b)? Round your final answer to 4 decimal places.

Respuesta :

Answer:

Part a

The test statistic and P-value of the test is 1.581 and 0.057.

Part b

The type-II error is 0.0088.

Part c

The power of the test is 0.9912.

Step-by-step explanation:

The Z− test is a statistical test for the mean of a population. It can be used when [tex]n \geq 30[/tex] or when the population is normally distributed and population standard deviation [tex]\left( \sigma \right)[/tex] is known.

The type-II error is defined as the probability of accepting the null hypothesis when it is actually false. It is denoted by the Greek letter beta [tex]\left( \beta \right)[/tex].

The power of a test against a specific alternative is the probability that the test will reject [tex]{H_0}[/tex] at a chosen significance level [tex]\alpha[/tex] when the specified alternative value of the parameter is true.

 

The formula for the Z− test is, [tex]Z = \frac{{\bar X - \mu }}{{\sigma /\sqrt[/tex]

Here, [tex]\bar X[/tex] represents the sample mean

[tex]\mu[/tex] represents the population mean

[tex]\sigma[/tex] represents the population standard deviation

[tex]n[/tex] represents the sample size

The formula for the type-II error is, [tex]\beta = P\left( {{\rm{Accepting}}{H_0}|\mu = {\mu _0}} \right)[/tex]

The formula for the power is, [tex]{\rm{Power}} = 1 - \beta[/tex]

Here, [tex]\beta[/tex] represents the type-II error

a)

The sample size is [tex]n = 10[/tex]

The population standard deviation is, [tex]\sigma = 20[/tex]

The sample average is [tex]\bar X = 185[/tex]

Null hypothesis [tex]{H_0}:\mu = 175[/text

Alternative hypothesis, [tex]{H_0}:\mu > 175{\rm{ }}\left( {{\rm{Right tailed test}}} \right)[/tex]

Calculate the test statistic value.

[tex]\begin{array}{c}\\Z = \frac{{\bar X - \mu }}{{\sigma /\sqrt n }}\\\\ = \frac{{185 - 175}}{{20/\sqrt {10} }}\\\\ = {\rm{1}}.{\rm{581139}}\\\\ = {\rm{1}}.{\rm{581 }}\left( {{\rm{Round to 3 decimal place}}} \right)\\\end{array} [/tex]

Calculate the P− value of the hypothesis test.

[tex]\begin{array}{c}\\P - {\rm{value}} = P\left( {Z > {Z_{{\rm{statistic}}}}} \right)\\\\ = 1 - P\left( {Z \le 1.581} \right)\\\\ = 1 - \left( {{\rm{ = NORMSDIST(1}}{\rm{.581)}}} \right){\rm{ }}\left( {{\rm{Use MS Excel}}} \right)\\\\ = 1 - 0.{\rm{943}}0{\rm{61}}\\\\ = 0.0{\rm{56939}}\\\\ = 0.0{\rm{57 }}\left( {{\rm{Round to 3 decimal place}}} \right)\\\end{array} [/tex]

b)

Calculate the type-II error.

[tex]\begin{array}{c}\\\beta = P\left( {{\rm{Accepting}}{H_0}|\mu = {\mu _0}} \right)\\\\ = P\left( {\bar X = 185|\mu = 200} \right)\\\\ = P\left( {Z \le \frac{{185 - 200}}{{20/\sqrt {10} }}} \right)\\\\ = P\left( {Z \le - 2.372} \right)\\\\ = \left( {{\rm{ = NORMSDIST( - 2}}{\rm{.372)}}} \right){\rm{ }}\left( {{\rm{Use MS Excel}}} \right)\\\\ = 0.00{\rm{8846}}\\\\ = 0.00{\rm{88 }}\left( {{\rm{Round to 4 decimal place}}} \right)\\\end{array} [/tex]

c)

Calculate the power of the test.

[tex]\begin{array}{c}\\{\rm{Power}} = 1 - \beta \\\\ = 1 - 0.0088\\\\ = 0.9912\\\end{array}[/tex]