Statistical analysis of curve fitting methods in errors-in-variables models