how to calculate estimated coefficient