please use R programing to solve this problem. and then we can
use sigma=1 for solve this problem.
Weighted least squares method intends to correct for unequal variance in linear re- gression. We can set the weights parameter in the 1m () function to specify the weights of variance. When the weight