Skip to Content
Introductory Statistics and Analytics: A Resampling Perspective
book

Introductory Statistics and Analytics: A Resampling Perspective

by Peter C. Bruce
December 2014
Beginner
312 pages
8h 30m
English
Wiley
Content preview from Introductory Statistics and Analytics: A Resampling Perspective

11

REGRESSION

With correlation, all we can measure is the relative strength of an association and whether it is statistically significant. With regression, we can model that association in a linear form and predict values of Y given the values of X.

After completing this chapter, you will be able to

  • specify the equation format for a simple linear regression model,
  • define residuals (errors),
  • fit a linear regression line by eye,
  • describe how fitting the regression line by minimizing residuals works,
  • use the fitted regression model to make predictions of y, based on the values of x,
  • interpret residual plots,
  • determine the confidence interval for the slope of a regression line.

The simple form of a linear regression model is as follows:

y = ax + b

We read this as “y equals a times x, plus a constant b.” You will note that this is the equation for a line with slope a and intercept b. The value a is also termed the coefficient for x (Figure 11.1). The constant b is where the regression line intersects the y-axis and is also called the y-intercept.

images

Figure 11.1 Slope and intercept of a line.

11.1 FINDING THE REGRESSION LINE BY EYE

Using the baseball payroll example and assuming that a correlation exists between the payroll amount in dollars and the number of wins over three seasons, can we predict wins based on a given payroll amount?

On the basis of Figure 11.2, it appears that an ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

The Definitive Guide to Marketing Analytics and Metrics (Collection)

The Definitive Guide to Marketing Analytics and Metrics (Collection)

Cesar Brea, Rajkumar Venkatesan, Paul Farris, Ronald T. Wilcox, Neil Bendle, Phillip E. Pfeifer, David Reibstein
Data Science for Marketing Analytics - Second Edition

Data Science for Marketing Analytics - Second Edition

Mirza Rahim Baig, Gururajan Govindan, Vishwesh Ravi Shrimali

Publisher Resources

ISBN: 9781118881354Purchase book