215k views
2 votes
Paul owns a mobile wood-fired pizza oven operation. A couple of his clients complained about his dough at a recent catering, so he changed his dough to a newer product. Using the old dough, there were 6 complaints out of 385 pizzas. With the new dough, there were 16 complaints out of 340 pizzas. Let p 1 be the proportion of customer complaints with the old dough and p 2 be the proportion of customer complaints with the new dough. State the competing hypotheses to determine if the proportion of customer complaints using the old dough is less than the proportion of customer complaints using the new dough g

1 Answer

0 votes

Answer:


z=\frac{0.0156-0.0471}{\sqrt{0.0303(1-0.0303)((1)/(385)+(1)/(340))}}=-2.469

Now we can calculate the p value with this probability:


p_v =P(Z<-2.469)= 0.0068

Since the p value is a very low value and using any significance level 5% or 10% we have enough evidence to reject the null hypothesis and we can conclude that the true proportion of customer complaints using the old dough is less than the proportion of customer complaints using the new dough.

Explanation:

Information provided


X_(1)=6 represent the complaints with the old dough


X_(2)=16 represent the complaints with the new dough


n_(1)=385 sample 1 selected


n_(2)=340 sample 2 selected


p_(1)=(6)/(385)=0.0156 represent the proportion of complaints with the old dough


p_(2)=(16)/(340)=0.0471 represent the proportion of complaints with the new dough


\hat p represent the pooled estimate of p

z would represent the statistic


p_v represent the value

Hypothesis to test

We want to verify if the proportion of customer complaints using the old dough is less than the proportion of customer complaints using the new dough, the system of hypothesis would be:

Null hypothesis:
p_(1) \geq p_(2)

Alternative hypothesis:
p_(1) < p_(2)

The statitsic is given by:


z=\frac{p_(1)-p_(2)}{\sqrt{\hat p (1-\hat p)((1)/(n_(1))+(1)/(n_(2)))}} (1)

Where
\hat p=(X_(1)+X_(2))/(n_(1)+n_(2))=(6+16)/(385+340)=0.0303

Replacing the info provided we got:


z=\frac{0.0156-0.0471}{\sqrt{0.0303(1-0.0303)((1)/(385)+(1)/(340))}}=-2.469

Now we can calculate the p value with this probability:


p_v =P(Z<-2.469)= 0.0068

Since the p value is a very low value and using any significance level 5% or 10% we have enough evidence to reject the null hypothesis and we can conclude that the true proportion of customer complaints using the old dough is less than the proportion of customer complaints using the new dough.

User Boogaloo
by
6.7k points