In common situation,each measurement with the same error,so we can simple average the measurement value to get the result and uncertainty.But some times the error of each measurement is not same,that may beacause the instrument retrieval of indirect Physical quantity(such from the optical to concentration). So we get a series of data
$x_i$ with error $e_i$ i~1,2,3,..,N.
So,how to represent the result and the uncertainty by ($\hat{x} \pm \hat{\sigma}$)?