Answer:
Let μ1 and μ2 represent the mean number of days with symptoms of a diaper rash when diapers were changed every three hours and two hours, respectively.
Let μd be the mean of the differences in the number of days with symptoms of a diaper rash.
The null hypothesis and alternative hypotheses are two mutually exclusive things about any population. The null hypothesis is that, which is to be actually tested but an alternative hypothesis gives an alternative to the null hypothesis.
Here the appropriate null and alternative hypotheses will be :
H0: μd=0 (null)
Ha: μd>0 (alternative)
This given study is a matched pair design study, so we are using μd : the mean of the differences.
Also, here we are testing if the number of diaper rashes are more when they are changed every 3 hours than 2 hours. This is why we chose the above hypothesis H0: μd = 0 and Ha: μd > 0.