Page 250 - Touhpad Ai
P. 250

Step 5   Click on Add Chart Element Æ Trendline Æ More Trendline Options option. A Format Trendline Panel will
                       open on the right.





























              You will get the Regression Equation on the chart as follows:


                                                              Marks (y)
                               120


                               100

                                                                            y = 2.8076x + 57.764
                                80


                                60


                                40


                                20


                                 0
                                  0      1     2      3      4     5      6     7      8     9      10


               Step 6     You  can also  calculate  the  value of slope  by  using  the slope  function  in Excel. Click  on any  cell, and

                       type =slope((select all y values) , (select all x values). Press the Enter key to see the answer.
               Step 7     You can also calculate the value of intercept by using the intercept function in Excel. Click on any cell, and type

                       =intercept ((select all y values) , (select all x values). Press the Enter key to see the answer.
              Using the regression equation, we can calculate predicted values of y using any values of x.
              The  vertical distance  between  the observed  responses  in the dataset  and the line of best  fit is called the residual
              error (e) as shown in the graph below:








                 248    Touchpad Artificial Intelligence - XI
   245   246   247   248   249   250   251   252   253   254   255