How To Do Linear Regression With Excel
How To Do Linear Regression With Excel
MA4880
First, please make sure that you have Analysis ToolPak installed.
Copy the Forecast Data and
LAX Master Plan Equation
To specify
the input
range, click
on this button
to go to range
specification
screen.
Let’s Do Regression
Here, you can select the data set you want to include as the value of Dependent or Independent
variables. (Have to be done one at a time.)
• For Dependent variables, all data sets must be in one column.
• For Independent variables, data sets can be in multiple columns, and they will be your “X Variable 1,2, …
n” in the output worksheet.
• There must be the same number of data sets for Dependent and Independent variables. So please
construct your table carefully.
Let’s Do Regression
When you press: OK, the regression result will be shown on another worksheet. Statistics
useful for our purpose are highlighted.
The R-Square and the Adjusted R-Square are both close to one signaling a high goodness of fit.
The Significance F is very close to zero, implying that the regression is highly significant overall.
The t-Stat of all the coefficients is much higher than 2, except for the intercept, implying that the coefficients of PCPI,
EMP and YIELD are highly significant