In the box, enter the confidence level you want applied in addition to the default 95 percent level.Ĭonstant is Zero - Select to force the regression line to pass through the origin. Clear if your input has no labels Excel generates appropriate data labels for the output table.Ĭonfidence Level - Select to include an additional level in the summary output table. Labels - Select if the first row or column of your input range or ranges contains labels. The maximum number of independent variables is 16. Microsoft Excel orders independent variables from this range in ascending order from left to right. Input X Range - Enter the reference for the range of independent data. Specify the output to be pasted in cell "B11" below this table. Specify the input Y range as C2:C8 and the input X range as D2:D8.
Press OK to display the Regression dialog box. Select (Data > Data Analysis) and choose Regression in the Data Analysis dialog box. Lets assume we have the following table of data.
The line is called the "least square fit" and the process of finding this line is called "least square fit regression" "the line where the sum of squares of the differences to all data points has the smallest possible value" The best fit line can be defined mathematically as: This is known as the method of least squares.Īll linear regressions take the equation y = mx + b It can be shown mathematically that the best line is one that minimises the total of the squared deviations. You can analyze how a single dependent variable is affected by the values of one or more independent variables. Regression attempts to show the relationship between two variables by providing a mean line which best indicates the trend of the co-ordinates. The Regression analysis tool performs linear regression analysis by using the "least squares" method to fit a line through a set of observations.