Linear regression, as is known in the art, is a technique in which a straight line is fitted to a set of data points to determine the relationship between two random variables X and Y. The linear regression model postulates that Y=a+bX+e where the residual e is a random variable with a mean of zero.