234,111 views
5 votes
5 votes
Hi, can you help me answer this question please, thank you

Hi, can you help me answer this question please, thank you-example-1
User Mloureiro
by
2.6k points

1 Answer

17 votes
17 votes

This is a question of matched samples with continuous outcomes where we compare the means of two results gotten by people in a survey before and after a test.

We are asked to find:

1. Test statistic

2. P-value

3. Compare the p-value with an alpha level

4. Decision to make given the p-value.

To get started on solving this question, there is one formula we need to know. This formula is:


\begin{gathered} Z_{\text{stat}}=\frac{\bar{X}-\mu_d}{\frac{s_d}{\sqrt[]{n}}} \\ \text{where,} \\ \bar{X}_d=\text{sample difference} \\ \mu_d=\text{population difference} \\ s_d=\text{sample difference standard deviation} \\ n=\text{ number of samples in the survey} \end{gathered}

(Note, we are using Z-statistic because the number of people in the survey is more than 30. If not, we would have used T-statistic)

With this formula, we can begin solving.

1. Test Statistic:


\begin{gathered} \bar{X}_d=-2.1 \\ \mu_d=0 \\ s_d=29.3 \\ n=335 \\ \\ \therefore Z_{\text{stat}}=\frac{-2.1-0}{\frac{29.3}{\sqrt[]{335}}}=-1.312 \end{gathered}

Thus, the value of the test statistic is -1.312 (To 3 decimal places)

2. P-value:

We can check the p-value corresponding to the test statistic using Z-distribution tables.

Checking the value -1.312 on the Z-distribution table, we have:


\begin{gathered} P-value=2*\phi(-Zscore) \\ P-\text{value}=2*0.09476 \\ \therefore P-\text{value}=0.18952\approx0.1895\text{ (To 4 decimal places)} \end{gathered}

(We multiply by two because this is a two-tailed test)

3. P-value Comparison:

The p-value of 0.1895 is much greater than the alpha level of 0.001

User YesThatIsMyName
by
2.5k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.