You may use this document as a starting point for this assignment. Your submission should be written in R and include all points addressed below.

To keep this assignment simple, we are going to use the built in dataset ChickWeight that is included with R.

head(ChickWeight)
##   weight Time Chick Diet
## 1     42    0     1    1
## 2     51    2     1    1
## 3     59    4     1    1
## 4     64    6     1    1
## 5     76    8     1    1
## 6     93   10     1    1

Wilcoxson Ranked Sign Test

  1. Chickens that do not put on weight early in life are most likely to die. Examine the hypothesis that diet 1 will not have early weight gain of the chicks. Use a non-parametric method for matched pairs.

Kruskal-Wallis

We are going to repeat the test above but examine if there is a difference in the diets.

  1. Examine the claim that there is a difference in early weight gain between the different diets. Use a non-parametetric method for comparing multiple medians. Be sure to include an appropriate visualization.