2-5 using linear models make predictions by writing linear equations that model real-world data

13
2-5 Using Linear Models Make predictions by writing linear equations that model real-world data.

Upload: wesley-clarke

Post on 28-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 2-5 Using Linear Models Make predictions by writing linear equations that model real-world data

2-5 Using Linear Models

Make predictions by writing linear equations that model real-world

data.

Page 2: 2-5 Using Linear Models Make predictions by writing linear equations that model real-world data

Scatter Plots

• A scatter plot is a graph that displays two sets of data as ordered pairs.

• Scatter plots can help show whether or not two sets of data are related.

Page 3: 2-5 Using Linear Models Make predictions by writing linear equations that model real-world data

0 1 2 3 4 5 6 7 8 90

2000

4000

6000

8000

10000

12000

14000

16000

Age (yr)

Valu

e (d

olla

rs)

Making a Scatter Plot• Make a scatter plot for the data• What’s a car worth?

Age (yr)

Value (dollars)

Age (yr)

Value (dollars)

3 11,000 1 15,000

2 12,000 4 8,000

7 3,000 5 7,000

8 1,000 3 6,000

2 10,000 6 6,000

Page 4: 2-5 Using Linear Models Make predictions by writing linear equations that model real-world data

Correlation• A correlation is a relationship between the

sets of data• Also called a trend

• Positive correlation or trend

Page 5: 2-5 Using Linear Models Make predictions by writing linear equations that model real-world data

Correlation• Negative correlation or trend

Page 6: 2-5 Using Linear Models Make predictions by writing linear equations that model real-world data

Correlation• No correlation or trend

Page 7: 2-5 Using Linear Models Make predictions by writing linear equations that model real-world data

Line of Best Fit• A line you draw on a graph to approximate the

relationship between data sets.• Also called a trend line• A line of best fit should have an equal number of

data points on each side• If there is no correlation, you cannot draw a line

of best fit

Page 8: 2-5 Using Linear Models Make predictions by writing linear equations that model real-world data

You Try!• Create a scatter plot for the data and draw the

trend line.2 2

5 4

3 3.5

7 4.5

9 5

6 4 1 2 3 4 5 6 7 8 9 100

1

2

3

4

5

6

1 2 3 4 5 6 7 8 9 100

1

2

3

4

5

6

Page 9: 2-5 Using Linear Models Make predictions by writing linear equations that model real-world data

Making Predictions

• What is the approximate weight of a7 month old panda?

• We have just used interpolation toestimate a value between two known values using a line of best fit.

• Extrapolation is used to predict a value outside the range of known values.

• Ex: Use your model to find the body weight of a 3-year old panda.

Page 10: 2-5 Using Linear Models Make predictions by writing linear equations that model real-world data

Causation

• A change in one quantity causes a change in the second quantity.

• Correlation does not always imply causation

Page 11: 2-5 Using Linear Models Make predictions by writing linear equations that model real-world data

Using a Calculator

• Correlation coefficient (r) can be found using a graphing calculator.– Ranges between -1 and 1– The nearer r is to 1 or -1, the more closely the trend line fits the

data– r close to 1 shows a strong positive correlation– r close to -1 shows a strong negative correlation– r close to 0 means a weaker correlation or no correlation

Page 12: 2-5 Using Linear Models Make predictions by writing linear equations that model real-world data

Using a Calculator

• Press STAT and then 1 to select EDIT• Enter x-values into L1 and y-values into L2– (if x-values are years, do not enter the year, but enter 1 for one

year from the start, 2 for 2 years from start, etc.)

• Press STAT then move Right to the CALC menu• Move Down to LinReg(ax+b) and press Enter• Press Enter again– a will represent slope– b will represent the y-intercept– And r will show the correlation coefficient (NOT r2)

Page 13: 2-5 Using Linear Models Make predictions by writing linear equations that model real-world data

Assignment• ODDS• P.96 #7-17