Making sense of result parameters

Apart from the R2 statistic, there are other statistics and parameters that one needs to look at in order to do the following:

  1. Select some variables and discard others for the model.
  2. Assess the relationship between the predictor and output variable and check whether a predictor variable is significant in the model or not.
  3. Calculate the error in the values predicted by the selected model.

Let us now see some of the statistics which helps to address the issues discussed earlier.

p-values

One thing to realize here is that the calculation of a and β are estimates and not the exact calculations. Whether their values are significant or not need to be tested using a hypothesis test.

The hypothesis tests whether the value of ...

Get Python: Advanced Predictive Analytics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.