I want to weight the two variables based on the amount of error. More the error lesser the weight I want to give.
e.g My variables are the distance from the origin(0,0) to two points with a gaussian noise of (0 ,5m) .
dist1 = 2.8m , Var(dist1) = 13.05, Weight1 = 1/Var(dist1) = 0.08
dist2 = 70m ,Var(dist2) =25.5. , Weight2 = 1/Var(dist2) = 0.03
My problem is dist1 is getting more weight even its measurement is noisier than dist2 . What I can do correct this issue. Thanks for your time and help.
Note: In actual problem, I don't know the real distance, but i know the mean and variance.