Calculation Methods for Linear Regression
Given the linear regression model Y = βx + ε, finding the least squares solution is equivalent to solving the normal equations . Thus the solution for is given by:
The Business Analysis Module includes three classes for calculating multiple linear regression parameters: RWLeastSqQRCalc, RWLeastSqQRPvtCalc, and RWLeastSqSVDCalc. The following three sections provide a brief description of the method encapsulated by each class, and its pros and cons.