Skip to Content
Making Sense of Data: A Practical Guide to Exploratory Data Analysis and Data Mining
book

Making Sense of Data: A Practical Guide to Exploratory Data Analysis and Data Mining

by Glenn J. Myatt
November 2006
Beginner to intermediate
292 pages
7h 26m
English
Wiley-Interscience
Content preview from Making Sense of Data: A Practical Guide to Exploratory Data Analysis and Data Mining

7.2 SIMPLE REGRESSION MODELS

7.2.1 Overview

A simple regression model is a formula describing the relationship between one descriptor variable and one response variable. These formulas are easy to explain; however, the analysis is sensitive to any outliers in the data. The following section presents methods for generating simple linear regression models as well as simple nonlinear regression models.

7.2.2 Simple Linear Regression

Overview

Where there appears to be a linear relationship between two variables, a simple linear regression model can be generated. For example, Figure 7.9 shows the relationship between a descriptor variable B and a response variable A. The diagram shows a high degree of correlation between the two variables. As descriptor variable B increases, response variable A increases at the same rate. A straight line representing a model can be drawn through the center of the points. A model that would predict values along this line would provide a good model.

A straight line can be described using the formula:

y = a + bx

where a is the point of intersection with the y-axis and b is the slope of the line. This is shown graphically in Figure 7.10.

In Table 7.8, a data set of observations from a grocery store contains variables Income and Monthly sales. The variable Income refers to the yearly income for a customer and the Monthly sales represent the amount that particular customer purchases per month. This data can be plotted on a scatterplot and a linear relationship ...

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

Making Sense of Data I: A Practical Guide to Exploratory Data Analysis and Data Mining, 2nd Edition

Making Sense of Data I: A Practical Guide to Exploratory Data Analysis and Data Mining, 2nd Edition

Glenn J. Myatt, Wayne P. Johnson
Intelligent Data Analysis

Intelligent Data Analysis

Deepak Gupta, Siddhartha Bhattacharyya, Ashish Khanna, Kalpna Sagar

Publisher Resources

ISBN: 9780470074718Purchase book