Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Training Systems Using Python Statistical Modeling

You're reading from   Training Systems Using Python Statistical Modeling Explore popular techniques for modeling your data in Python

Arrow left icon
Product type Paperback
Published in May 2019
Publisher Packt
ISBN-13 9781838823733
Length 290 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Curtis Miller Curtis Miller
Author Profile Icon Curtis Miller
Curtis Miller
Arrow right icon
View More author details
Toc

Evaluating linear models

In this section, we will examine a number of metrics that we can use to evaluate the performance of a linear model other than using the MSE and cross-validation. We will look at some of the statistical tests and metrics that are used to evaluate how well a linear model performs, and to help decide between different linear model forms.

There are two statistical tests to be aware of for linear models, as follows:

  • First, is the test for whether one particular coefficient in the model is 0 or not. Failing to reject the null hypothesis indicates that the feature does not seem to contribute much to predictions. The following formulas show these hypotheses:
  • Second, is an overall test, that is, the F-test. This tests whether any features have coefficients that are nonzero. Rejecting the null hypothesis suggests that your model has some predictive ability....
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime