Presentation is loading. Please wait.

Presentation is loading. Please wait.

Warm up 1. Calculate the slope of a line passing through (2, 3) and (1, 5). 2. Write the equation of a line given a slope of 3 and a y-intercept of 4 (hint:

Similar presentations


Presentation on theme: "Warm up 1. Calculate the slope of a line passing through (2, 3) and (1, 5). 2. Write the equation of a line given a slope of 3 and a y-intercept of 4 (hint:"— Presentation transcript:

1 Warm up 1. Calculate the slope of a line passing through (2, 3) and (1, 5). 2. Write the equation of a line given a slope of 3 and a y-intercept of 4 (hint: use y = mx + b). 3. Calculate the slope of a line given the table of values below: 4.2.4: Fitting Linear Functions to Data1 x1357 y5101520

2 Unit 4 Part B Concept: Best fit Line EQ: How do we create a line of best fit to represent data? Vocabulary: R – correlation coefficient y = mx + b slope 4.2.4: Fitting Linear Functions to Data2

3 Standard… S.ID.6cFit a linear function for a scatter plot that suggests a linear association. 4.2.4: Fitting Linear Functions to Data3

4 Before you can find the line of best fit….. Graph your data Determine if the data can be represented using a linear model…does the data look linear??? Draw a line through the data that is close to most points. Some values should be above the line and some values will be below the line. Now you can write the equation of the line. Let’s try one together. 4.2.4: Fitting Linear Functions to Data4

5 Guided Practice Example 1 A weather team records the weather each hour after sunrise one morning in May. The hours after sunrise and the temperature in degrees Fahrenheit are in the table to the right. Can the temperature 0–7 hours after sunrise be represented by a linear function? If yes, find the equation of the function. 5 4.2.4: Fitting Linear Functions to Data Hours after sunrise Temperature in ˚F 052 153 256 357 460 563 664 767 Graph the points!!!

6 Guided Practice: Example 1, continued 1.Create a scatter plot of the data. Let the x-axis represent hours after sunrise and the y-axis represent the temperature in degrees Fahrenheit. 6 4.2.4: Fitting Linear Functions to Data Temperature (°F) Hours after sunrise

7 Guided Practice: Example 1, continued 2.Determine if the data can be represented by a linear function. The graph of a linear equation is a line. If the data looks like it could fit a line, then a linear equation could be used to represent the data. The temperatures appear to increase in a line, and a linear equation could be used to represent the data set. 7 4.2.4: Fitting Linear Functions to Data

8 Guided Practice: Example 1, continued 3.Draw a line to estimate the data set. Two points in the data set can be used to draw a line that estimates that data. When the line is drawn, some of the data values should be above the line, and some should be below the line. A line through (2, 56) and (6, 64) looks like a good fit for the data. 8 4.2.4: Fitting Linear Functions to Data

9 Guided Practice: Example 1, continued 9 4.2.4: Fitting Linear Functions to Data Temperature (°F) Hours after sunrise

10 GO Best Fit Line Steps 1. 2. 3. 4. Example

11 GO Best Fit Line Steps 1.Identify two points on the line of best fit 2. 3. 4. Example (2, 56), (6, 64) 4.2.4: Fitting Linear Functions to Data11

12 GO Best Fit Line Steps 1.Identify two points on the line of best fit 2. Find the slope of the line using the points 3. 4. Example (2, 56), (6, 64) 4.2.4: Fitting Linear Functions to Data12

13 GO Best Fit Line Steps 1.Identify two points on the line of best fit 2. Find the slope of the line using the points 3. Substitute into y = m(x – x 1 ) + y 1 4. Example (2, 56), (6, 64) 4.2.4: Fitting Linear Functions to Data13 y = 2(x – 2) + 56

14 GO Best Fit Line Steps 1.Identify two points on the line of best fit 2. Find the slope of the line using the points 3. Substitute into y = m(x – x 1 ) + y 1 4. Simplify Example (2, 56), (6, 64) 4.2.4: Fitting Linear Functions to Data14 y = 2(x – 2) + 56 y = 2x – 4 +56 y = 2x +52

15 Guided Practice Example 2 Automated tractors can mow lawns without being driven by a person. A company runs trials using fields of different sizes, and records the amount of time it takes the tractor to mow each field. The field sizes are measured in acres. 15 4.2.4: Fitting Linear Functions to Data Acres Time in hours 515 710 22 1732.3 1846.8 2034 2239.6 2575 3070 40112

16 Guided Practice: Example 2, continued Can the time to mow acres of a field be represented by a linear function? If yes, find the equation of the function. 16 4.2.4: Fitting Linear Functions to Data

17 Guided Practice: Example 2, continued 1.Create a scatter plot of the data. Let the x-axis represent the acres and the y-axis represent the time in hours. 17 4.2.4: Fitting Linear Functions to Data Time Acres

18 Guided Practice: Example 2, continued 2.Determine if the data can be represented by a linear function. The graph of a linear equation is a line. If the data looks like it could fit a line, then a linear equation could be used to represent the data. The temperatures appear to increase in a line, and a linear equation could be used to represent the data set. 18 4.2.4: Fitting Linear Functions to Data

19 Guided Practice: Example 2, continued 3.Draw a line to estimate the data set. Two points in the data set can be used to draw a line that estimates the data. When the line is drawn, some of the data values should be above the line, and some should be below the line. A line through (7, 10) and (40, 112) looks like a good fit for the data. 19 4.2.4: Fitting Linear Functions to Data

20 Guided Practice: Example 2, continued 20 4.2.4: Fitting Linear Functions to Data Time Acres

21 GO Best Fit Line Steps 1. 2. 3. 4. Example

22 GO Best Fit Line Steps 1.Identify two points on the line of best fit 2. 3. 4. Example (7, 10) and (40, 112) 4.2.4: Fitting Linear Functions to Data22

23 GO Best Fit Line Steps 1.Identify two points on the line of best fit 2. Find the slope of the line using the points 3. 4. Example (7, 10) and (40, 112) 4.2.4: Fitting Linear Functions to Data23

24 GO Best Fit Line Steps 1.Identify two points on the line of best fit 2. Find the slope of the line using the points 3. Substitute into y = m(x – x 1 ) + y 1 4. Example (7, 10) and (40, 112) 4.2.4: Fitting Linear Functions to Data24 y = 3.09(x – 7) + 10

25 GO Best Fit Line Steps 1.Identify two points on the line of best fit 2. Find the slope of the line using the points 3. Substitute into y = m(x – x 1 ) + y 1 4. Simplify Example (7, 10) and (40, 112) 4.2.4: Fitting Linear Functions to Data25 y = 3.09(x – 7) + 10 y = 3.09x – 21.63 + 10 y = 3.09x – 11.63

26 Resource http://www.shodor.org/interactivate/activities/Regression/ 26


Download ppt "Warm up 1. Calculate the slope of a line passing through (2, 3) and (1, 5). 2. Write the equation of a line given a slope of 3 and a y-intercept of 4 (hint:"

Similar presentations


Ads by Google