regression analysis formula accounting