A matched pairs experiment compares the taste of instant versus fresh-brewed coffee. Each subject tastes two unmarked cups of coffee, one of each type, in random order and states which he or she prefers. Of the 50 subjects who participate in the study, 16 prefer the instant coffee. Let p be the probability that a randomly chosen subject prefers fresh-brewed coffee to instant coffee. (In practical terms, p is the proportion of the population who prefer fresh-brewed coffee.)


Test the claim that a majority of people prefer the taste of fresh-brewed coffee. Report the large-sample z statistic and its P-value.

Respuesta :

Answer:

We conclude that the majority of people prefer the taste of fresh-brewed coffee.

Step-by-step explanation:

We are given that of the 50 subjects who participate in the study, 16 prefer the instant coffee.

We have to test the claim that a majority of people prefer the taste of fresh-brewed coffee.

Let p = proportion of the population who prefer fresh-brewed coffee

So, Null Hypothesis, [tex]H_0[/tex] : p [tex]\leq[/tex] 50%     {means that the majority of people does not prefer the taste of fresh-brewed coffee}

Alternate Hypothesis, [tex]H_A[/tex] : p > 50%     {means that the majority of people prefer the taste of fresh-brewed coffee}

The test statistics that would be used here One-sample z proportion statistics;

                        T.S. =  [tex]\frac{\hat p-p}{\sqrt{\frac{\hat p(1-\hat p)}{n} } }[/tex]  ~ N(0,1)

where, [tex]\hat p[/tex] = sample proportion who prefer fresh-brewed coffee = [tex]\frac{34}{50}[/tex] = 0.68

            n = sample of subjects = 50

So, test statistics  =  [tex]\frac{0.68-0.50}{\sqrt{\frac{0.68(1-0.68)}{50} } }[/tex]  

                               =  2.73

The value of z test statistics is 2.73.

Now, P-value of the test statistics is given by;

         P-value = P(Z > 2.73) = 1 - P(Z [tex]\leq[/tex] 2.73)

                       = 1 - 0.99683 = 0.0032

Since, in the question we are not given with the level of significance so we assume it to be 5%. Now, at 5% significance level the z table gives critical values of 1.645 for right-tailed test.

Since our test statistics is more than the critical value of z, so we have sufficient evidence to reject our null hypothesis as it will fall in the rejection region due to which we reject our null hypothesis.

Therefore, we conclude that the majority of people prefer the taste of fresh-brewed coffee.