# Question: r probblem statistics suppose you have a data set that...

###### Question details

R probblem statistics

Suppose you have a data set that consists of 10 numerical
observations from group A, and 10 numerical observations from group
B. Suppose we also randomly permute the numerical observations, so
that each observation is equally likely to appear in group A and in
group B (as in a permutation test). Let X denote the mean of the
values in group A, and Y denote the mean of the values in group B.
Find E[X −Y ].