Question #314275

b). Seven students went on a diet in an attempt to lose weight, with two of them losing weight while all the others added weight. Is the diet is an effective way to losing weight α=1% (5mks)

c) Two judges in a beauty contest rank the ten competitors in the following order.

x 6 4 3 9 2 7 1 5 10 8

 y 4 1 6 7 5 8 2 3 9 10

Do the two judges appear to agree in their standards?                                                        (6mks)



Expert's answer

b) Let p denote the proportion of people who lose weight with the diet. The null hypothesis is that the diet is not effective, i.e. the proportion is 0.5, the alternative is that the proportion is greater than 0.5.

 

We have the

sample proportion

p^=27\hat{p}=\frac{2}{7}

The P- value

P(p^27)=P(np^pp(1p)n27pp(1p))==P(Z7270.50.5(10.5))==P(Z1.13389)=1Φ(1.13389)=0.87158P\left( \hat{p}\geqslant \frac{2}{7} \right) =P\left( \sqrt{n}\frac{\hat{p}-p}{\sqrt{p\left( 1-p \right)}}\geqslant \sqrt{n}\frac{\frac{2}{7}-p}{\sqrt{p\left( 1-p \right)}} \right) =\\=P\left( Z\geqslant \sqrt{7}\frac{\frac{2}{7}-0.5}{\sqrt{0.5\left( 1-0.5 \right)}} \right) =\\=P\left( Z\geqslant -1.13389 \right) =1-\Phi \left( -1.13389 \right) =0.87158


c) The differences of ranks di,i=1,...,10d_i,i=1,...,10 are:

2 3 -3 2 -3 -1 -1 2 1 -2

Then the Spearman correlation coefficient is

r=16di2n(n21)=0.7212r=1-\frac{6\sum{{d_i}^2}}{n\left( n^2-1 \right)}=0.7212

Test this coefficient for significance:

t=rn21r2=0.721210210.72122=2.94468t=r\sqrt{\frac{n-2}{1-r^2}}=0.7212\sqrt{\frac{10-2}{1-0.7212^2}}=2.94468

The P-value is

P(Tn22.94468)=2FT,8(2.94468)=20.00929=0.01858P\left( \left| T_{n-2} \right|\geqslant 2.94468 \right) =2F_{T,8}\left( -2.94468 \right) =2\cdot 0.00929=0.01858

Hence the coefficient is significant at α=0.05\alpha =0.05 level. We conclude that there is a strong positive correlation, hence the judges agree in their standards.


LATEST TUTORIALS
APPROVED BY CLIENTS