replaced calc_estimates with coef