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)
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
The P- value
c) The differences of ranks are:
2 3 -3 2 -3 -1 -1 2 1 -2
Then the Spearman correlation coefficient is
Test this coefficient for significance:
The P-value is
Hence the coefficient is significant at level. We conclude that there is a strong positive correlation, hence the judges agree in their standards.
Comments