23
Draw Scatter Plots and Best-Fitting Lines Section 2.6

Draw Scatter Plots and Best-Fitting Lines Section 2.6

Embed Size (px)

Citation preview

Page 1: Draw Scatter Plots and Best-Fitting Lines Section 2.6

Draw Scatter Plots and Best-Fitting Lines

Section 2.6

Page 2: Draw Scatter Plots and Best-Fitting Lines Section 2.6

A scatter plot is a graph of a set of data pairs (x, y). If y tends to increase as x increases, then the data have a positive correlation.

If y tends to decrease as x increases, then the data have a negative correlation.

If the points show no obvious pattern, then the data have approximately no correlation.

Page 3: Draw Scatter Plots and Best-Fitting Lines Section 2.6

Negative Correlation No Correlation

Page 4: Draw Scatter Plots and Best-Fitting Lines Section 2.6

Describe the correlation shown by each scatter plot.

Example 1

Page 5: Draw Scatter Plots and Best-Fitting Lines Section 2.6

Positive Correlation

Page 6: Draw Scatter Plots and Best-Fitting Lines Section 2.6

Col

ors

in a

Rai

nbow

Shoe Size

No Correlation

Page 7: Draw Scatter Plots and Best-Fitting Lines Section 2.6

Negative Correlation

Page 8: Draw Scatter Plots and Best-Fitting Lines Section 2.6

A correlation coefficient, denoted by r, is a number from -1 to 1 that measures how well a line fits a set of data pairs (x, y).

If r is near 1, the points lie close to a line with a positive slope.

If r is near -1, the points lie close to a line with negative slope.

If r is near 0, the points do not lie close to any line.

This line is called the best fit line or line of best fit.

Correlation Coefficients

Page 9: Draw Scatter Plots and Best-Fitting Lines Section 2.6

Approximating a Best-Fit Line

Page 10: Draw Scatter Plots and Best-Fitting Lines Section 2.6

1. Draw a scatter plot of the data.

2. Sketch the line that appears to follow most closely the trend given by the data points. There should be about as many points above the line as below.

3. Choose two points on the line, and estimate the coordinates of each point. These points do not have to be original data point.

4. Write an equation of the line that passes through the two points. This is a model for the data.

Page 11: Draw Scatter Plots and Best-Fitting Lines Section 2.6

Dogs are aged differently from humans. You may have heard someone say that a dog ages 1 year for every 7 human years. However, that is not the case. The table on the next slide shows the relationship between dog years and human years.

Example 2

Page 12: Draw Scatter Plots and Best-Fitting Lines Section 2.6

DogYears

HumanYears

1 152 243 284 325 376 427 47

Page 13: Draw Scatter Plots and Best-Fitting Lines Section 2.6

a. Plot each of these points on the graph.

b. What type of correlation does this data have?

Positive

Dog Years

Hum

an Years

Page 14: Draw Scatter Plots and Best-Fitting Lines Section 2.6

c. Is the correlation coefficient closer to -1, 0, or 1?

Closer to 1.

Dog Years

Hum

an Years

Page 15: Draw Scatter Plots and Best-Fitting Lines Section 2.6

d. Sketch the best-fit line for this data.

Dog Years

Hum

an Years

Page 16: Draw Scatter Plots and Best-Fitting Lines Section 2.6

e. Write the slope-intercept form of equation of the best-fit line for this data.

Dog Years

Hum

an Years

(5, 37)

(6, 42)

42 375

6 5m

37 5 5y x

5 12y x

Page 17: Draw Scatter Plots and Best-Fitting Lines Section 2.6

Graphing a scatterplot and best fit line on a graphing calculator.

1. Press 2nd + 4 to clear all lists.

Page 18: Draw Scatter Plots and Best-Fitting Lines Section 2.6

2. Press STAT EDIT.

Page 19: Draw Scatter Plots and Best-Fitting Lines Section 2.6

3. Type the x values in L1 and the y values in L2.

Press ENTER to move to the next x value or next y value

Page 20: Draw Scatter Plots and Best-Fitting Lines Section 2.6

4. Press STAT CALC 4 and press ENTER.

Arrow down to Calculate and press ENTER.

y = 5.03x + 12 is the approximate equation of the best fit line.

Page 21: Draw Scatter Plots and Best-Fitting Lines Section 2.6

5. To graph the scatterplot press 2nd STAT PLOT (above Y=). Press ENTER

Page 22: Draw Scatter Plots and Best-Fitting Lines Section 2.6

6. Make an appropriate window for your data

Press WINDOW. Type the following and then press GRAPH.

Page 23: Draw Scatter Plots and Best-Fitting Lines Section 2.6

7. Go to Y= and type in the best fit equation and then press GRAPH.