But, this estimation is not very appropriate as it does not consider values of Xt that can differ significantly from the various values of argument x. Therefore the weighted average is used and the weights of wt(x) depends on the distance of Xt from x