script.R
1
2
3
4
5
6
7
8
set.seed
(
1
)
# define the function `DGP_GLS()`
# estimate the variance, assign the value to
`var_est_GLS`
# compare the estimated variances
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
R Console
1
>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX