Regression - Equations This relationship is best expressed in an equation of the form: The slope (b) and the Y intercept (a) of this best fit line are calculated as follows: