script.R
1
2
3
4
5
6
7
8
9
10
11
# define a function for the estimator
# repeatedly compute estimates and store the results in
est_biased
set.seed
(
123
)
# plot a histogram of est_biased
# add a red vertical line at mu = 10
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
R Console
1
>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX