73.3k views
5 votes
Researchers randomly divided 500 volunteers into two equal-sized groups. One group spent 6 months on the Paleo diet. A control group received a pamphlet about controlling portion sizes. During the study, the Paleo group lost on average 7 pounds (standard deviation of 20 pounds) while the control group had lost on average 5 pounds (standard deviation of 12 pounds). Calculate the p-value assessing if the Paleo diet provides more weight control than the control treatment.

User SJHowe
by
5.5k points

1 Answer

3 votes

Answer:


p_v =P(t_((498))>1.356)=0.088

And we can use the following excel code to find it: "=1-T.DIST(1.356,498,TRUE)"

Explanation:

Data given and notation


\bar X_(P)=7 represent the mean for the sample Paleo


\bar X_(C)=5 represent the mean for the sample Control


s_(P)=20 represent the sample standard deviation for the sample Paleo


s_(C)=12 represent the sample standard deviation for the sample Control


n_(P)=250 sample size selected Paleo


n_(C)=250 sample size selected Control


\alpha represent the significance level for the hypothesis test.

t would represent the statistic (variable of interest)


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

State the null and alternative hypotheses.

We need to conduct a hypothesis in order to check if the Paleo diet provides more weight control than the control treatment, the system of hypothesis would be:

Null hypothesis:
\mu_(P)-\mu_(C)\leq 0

Alternative hypothesis:
\mu_(P)-\mu_(C)>0

We don't know the population deviations, so for this case is better apply a t test to compare means, and the statistic is given by:


t=\frac{(\bar X_(P)-\bar X_(C))-12}{\sqrt{(s^2_(P))/(n_(P))+(s^2_(C))/(n_(C))}} (1)

t-test: "Is used to compare group means. Is one of the most common tests and is used to determine whether the means of two groups are equal to each other".

Calculate the statistic

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


t=\frac{(7-5)-0}{\sqrt{(20^2)/(250)+(12^2)/(250)}}}=1.356

P-value

The first step is calculate the degrees of freedom, on this case:


df=n_(P)+n_(C)-2=250+250-2=498

Since is a one side right test the p value would be:


p_v =P(t_((498))>1.356)=0.088

And we can use the following excel code to find it: "=1-T.DIST(1.356,498,TRUE)"

User Uzbones
by
5.4k points