Chapter 10

# Correlation and Regression

IN THIS CHAPTER

Exploring statistical relationships between numerical variables

Distinguishing between association, correlation, and causation

Making predictions based on known relationships

In this chapter, you analyze two numerical variables, X and Y, to look for patterns, find the correlation, and make predictions about Y from X, if appropriate, using simple linear regression.

## Picturing the Relationship with a Scatterplot

A fair amount of research supports the claim that the frequency of cricket chirps is related to temperature. And this relationship is actually used at times to predict the temperature using the number of times the crickets chirp per 15 seconds. To illustrate, I’ve taken a subset of some of the data that’s been collected on this; you can see it in Table 10-1.

Notice that each observation is composed of two variables that are tied together, in this case the number of times the cricket chirped in 15 seconds (the X-variable), and the temperature ...

Get Statistics Essentials For Dummies now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.