Write down the R solutions of the following questions.
A shoe company wants to compare two materials, A and B, for use on the soles of boys' shoes. In this example, each of 10 boys in a study wore a special pair of shoes with the sole of one shoe made from Material A and the sole on the other shoe made from Material B. The sole types were randomly assigned to account for systematic differences in wear between the left and right foot. After three months, the shoes are measured for wear. The results are: Material A = 13.2, 8.2, 10.9, 14.3, 10.7, 6.6, 9.5, 10.8, 8.8, 13.3 Material B = 14, 8.8, 11.2, 14.2, 11.8, 6.4, 9.8, 11.3, 9.3, 13.6
Test the hypothesis H0: µdifference = 0 versus H1: µdifference≠ 0 at 95% confidence level.
Since the p-value of the test is less than the significance level of 0.05, we have sufficient evidence to reject the null hypothesis and conclude that there is a difference in the wear of shoes made of material A and B.
Comments
Leave a comment