fixed last part of code to evaluate the estimation method