Professional Documents
Culture Documents
Ilab5 LineEquationHint
Ilab5 LineEquationHint
I would like to give you some hints on the PART C questions of this weeks ilab assignment. Question (c)
asks for the line of best fit for the period and food court sales. It is basically asking you for the equation
of a line that would best fit the graph you created in Part B - Step 2.j.
You can read about independent and dependent variables in this weeks lecture. We can ignore about
the noise term. I and E are basically x and y axis of the graph. So the goal is to find alpha and beta. This
information actually comes out of the regression analysis. See below screenshot that clearly identifies
alpha and beta.
There is actually another way of getting the equation of the graph. First, click on the graph for which you
would like to create a best fit line. Then from the ribbon, choose Chart Tools > Layout, select
Trendline and hit Linear Trendline.
Make sure that Display Equation on chart option is checked and hit Close.
And, now the equation of the trendline is also displayed on the graph. I blurred it so that you can find
the equation yourself :-)