Moment estimation of measurement errors