script.R
1
2
3
4
5
set.seed
(
123
)
# generate 1000 random numbers from the given
distribution. Assign them to the variable x.
# compute the sample mean of x.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
R Console
1
>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX