Search for question
Question

5. The data "dat_two_sample" simulate independent, identically distributed samples from

a population with the samples from X in the "val" column, labeled with "gp"="x" and

independent, identically distributed samples from a population with the distribution Y

in the "val" column, labeled with "gp"="y"

load("dat_two_sample.

RData")

5.a. Please visually assess the Normality of the x's and the y's. (5 points)

5.b. Please display density plots of the x's and the y's. (5 points)

5.c. Please carry out Welch's test of the null hypothesis that the means of x and y are equal.

Please interpret the result using the work in 5.a and 5.b. (5 points)

Fig: 1