23. A certain type of gasoline is supposed to have a mean octane rating of at least 90. Suppose measurements are taken on of 5 randomly selected samples, giving ratings of 89.7 89.4 87.4 89.8 88.5 Assume that the distribution of ratings is in fact known to be normal, and that the true standard deviation /sigma is known to be 0.8

a) For the alternative hypothesis that the mean octane rating is less than 90 , compute the p-value.
b) For significance level 0.01, what do we conclude? If we made an error, is it type I or II?
c) For a significance level 0.01 test and for a sampling of size 5, what is the probability of failing to conclude that the mean is less than 90, when in fact the true mean is 89?
d) If we are allowed to increase the sample size, what minimum size do we need so that the probability calculated in part c is 0.02 or less?

Respuesta :

Answer:

a) [tex]p_v =P(Z<-2.907)=0.00182[/tex]          

b) Since [tex]p_v <\alpha[/tex] we can reject the null hypothesis at the significance level given. So based on this we can commit type of Error I.

Because Type I error " is the rejection of a true null hypothesis".

c) [tex]P(\bar X >90)=1-P(Z<\frac{90-89}{\frac{0.8}{\sqrt{5}}})=1-P(Z<2.795)[/tex]

[tex]1-P(Z<2.795)=1-0.997=0.00260[/tex]

d) For this case we need a z score that accumulates 0.02 of the area on the right tail and 0.98 on the left tail and this value is z=2.054

And we can use this formula:

[tex]2.054=\frac{90-89}{\frac{0.8}{\sqrt{n}}}[/tex]

And if we solve for n we got:

[tex]n = (\frac{2.054 *0.8}{1})^2=2.7 \approx 3[/tex]

Step-by-step explanation:

Previous concepts  and data given  

The margin of error is the range of values below and above the sample statistic in a confidence interval.  

Normal distribution, is a "probability distribution that is symmetric about the mean, showing that data near the mean are more frequent in occurrence than data far from the mean".  

We can calculate the sample mean and deviation with the following formulas:

[tex]\bar X = \frac{\sum_{i=1}^n X_i}{n}[/tex]

[tex]s=\sqrt{\sum_{i=1}^n (X_i -\bar X)^2}{n-1}[/tex]

[tex]\bar X=88.96[/tex] represent the sample mean    

[tex]s=1.011[/tex] represent the sample standard deviation  

n=5 represent the sample selected  

[tex]\alpha[/tex] significance level    

State the null and alternative hypotheses.    

We need to conduct a hypothesis in order to check if the mean is less than 90, the system of hypothesis would be:    

Null hypothesis:[tex]\mu \geq 90[/tex]    

Alternative hypothesis:[tex]\mu < 90[/tex]    

If we analyze the size for the sample is < 30 and we don't know the population deviation so is better apply a t test to compare the actual mean to the reference value, and the statistic is given by:    

[tex]z=\frac{\bar X-\mu_o}{\frac{\sigma}{\sqrt{n}}}[/tex]  (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".    

Calculate the statistic  

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

[tex]z=\frac{88.96-90}{\frac{0.8}{\sqrt{5}}}=-2.907[/tex]      

Part a

P-value  

First we need to calculate the degrees of freedom given by:

[tex]df=n-1=5-1 = 4[/tex]

Then since is a left tailed test the p value would be:    

[tex]p_v =P(Z<-2.907)=0.00182[/tex]    

Part b

Since [tex]p_v <\alpha[/tex] we can reject the null hypothesis at the significance level given. So based on this we can commit type of Error I.

Because Type I error " is the rejection of a true null hypothesis".

Part c

We want this probability:

[tex]P(\bar X<90)[/tex]

The best way to solve this problem is using the normal standard distribution and the z score given by:

[tex]z=\frac{x-\mu}{\frac{\sigma}{\sqrt{n}}}[/tex]

If we apply this formula to our probability we got this:

[tex]P(\bar X >90)=1-P(Z<\frac{90-89}{\frac{0.8}{\sqrt{5}}})=1-P(Z<2.795)[/tex]

[tex]1-P(Z<2.795)=1-0.997=0.00260[/tex]

Part d

For this case we need a z score that accumulates 0.02 of the area on the right tail and 0.98 on the left tail and this value is z=2.054

And we can use this formula:

[tex]2.054=\frac{90-89}{\frac{0.8}{\sqrt{n}}}[/tex]

And if we solve for n we got:

[tex]n = (\frac{2.054 *0.8}{1})^2=2.7 \approx 3[/tex]

ACCESS MORE
EDU ACCESS
Universidad de Mexico