In: Statistics and Probability
How do I even begin to solve this using
R?
A random sample of eight pairs of twins was randomly assigned to
treatment A or treatment B. The data are given in the following
table.
| 
 Twins  | 
 1  | 
 2  | 
 3  | 
 4  | 
 5  | 
 6  | 
 7  | 
 8  | 
| 
 Treatment A  | 
 48.3  | 
 44.6  | 
 49.7  | 
 40.5  | 
 54.3  | 
 55.6  | 
 45.8  | 
 35.4  | 
| 
 Treatment B  | 
 43.5  | 
 43.8  | 
 53.7  | 
 43.9  | 
 54.4  | 
 54.7  | 
 45.2  | 
 34.4  | 
What is the p-value of the Wilcoxon signed-rank test?
Is there any significant evidence that the two treatments differ using an α = 0.05 and Wilcoxon-signed rank test.
Compare the p-value of the Wilcoxon-signed rank test and paired t-test.