Download presentation
Presentation is loading. Please wait.
Published byLauren Anthony Modified over 9 years ago
1
Introduction As we saw in the previous lesson, we can use a process called regression to fit the best equation with the data in an attempt to draw conclusions and make predictions. We have learned how to interpret and analyze regression models and how to come up with a regression model using what we know about quadratic equations. In this lesson, we will learn how to easily find a quadratic regression with a graphing calculator. 1 5.9.2: Fitting a Function to Data
2
Key Concepts A graphing calculator can graph a scatter plot of given data and find a regression equation that models the given data. Begin by entering the data into lists on your calculator, as outlined in the following steps. Decide whether the data would best be modeled with a quadratic regression, linear regression, or exponential regression. In this lesson, we focus on quadratic regressions, but you can choose the type of regression that is most appropriate for the situation. 2 5.9.2: Fitting a Function to Data
3
Key Concepts, continued To decide which regression model is best, look at the scatter plot of the data you entered. After you find the appropriate model using your calculator, you can graph this equation on top of the scatter plot to verify that it is a reasonable model. 3 5.9.2: Fitting a Function to Data
4
Key Concepts, continued Graphing Equations Using a TI-83/84: 4 5.9.2: Fitting a Function to Data Step 1: Press [STAT]. Step 2: Press [ENTER] to select Edit. Step 3: Enter x-values into L1. Step 4: Enter y-values into L2. Step 5: Press [2nd][Y=]. Step 6: Press [ENTER] twice to turn on the Stat Plot. Step 7: Press [ZOOM][9] to select ZoomStat and show the scatter plot.
5
Key Concepts, continued Graphing Equations Using a TI-Nspire: 5 5.9.2: Fitting a Function to Data Step 1: Press the [home] key and select the Lists & Spreadsheet icon. Step 2: Name Column A “x” and Column B “y.” Step 3: Enter x-values under Column A. Step 4: Enter y-values under Column B. Step 5: Select Menu then 3: Data, and then 6: Quick Graph. Step 6: Press [enter]. Step 7: Move the cursor to the x-axis and choose x. Step 8: Move the cursor to the y-axis and choose y.
6
Key Concepts, continued Your graphing calculator can help you to find a quadratic regression model after you input the data. Entering Lists Using a TI-83/84: 6 5.9.2: Fitting a Function to Data Step 1: Press [STAT]. Step 2: Arrow to the right to select Calc. Step 3: Press [5] to select QuadReg. Step 4: At the QuadReg screen, enter the parameters for the function (Xlist: L 1, Ylist: L 2, Store RegEQ: Y 1 ). To enter Y 1, press [VARS] and arrow over to the right to “Y- VARS.” Select 1: Function. Select 1: Y 1.
7
Key Concepts, continued Entering Lists Using a TI-Nspire: 7 5.9.2: Fitting a Function to Data Step 1: Select Menu, then 4: Analyze, then 6: Regression, and then 4: Show Quadratic. Step 2: Move the cursor over the equation and press the center key in the navigation pad to drag the equation for viewing, if necessary. Step 5: Press [ENTER] twice to see the quadratic regression equation. Step 6: Press [ZOOM][9] to view the graph of the scatter plot and the regression equation.
8
Common Errors/Misconceptions not identifying the correct function for the data using the incorrect commands or sequence of commands on the graphing calculator 8 5.9.2: Fitting a Function to Data
9
Guided Practice Example 1 The students in Ms. Swan’s class surveyed people of all ages to find out how many people in each of several age groups exercise on a regular basis. Their data is shown in the table on the next slide. Use your calculator to make a scatter plot of the data in the table and to find a quadratic regression of this data. Use the “Group number” column in the table to represent the age group, the x-values. Graph the regression equation on top of your scatter plot. 9 5.9.2: Fitting a Function to Data
10
Guided Practice: Example 1, continued 10 5.9.2: Fitting a Function to Data Age range 11– 20 21– 30 31– 40 41– 50 51– 60 61– 70 Group number (x) 123456 Number of people who exercise (y) 213843412611
11
Guided Practice: Example 1, continued 1.Make a scatter plot of the data. On a TI-83/84: Step 1: Press [STAT]. Step 2: Press [ENTER] to select Edit. Step 3: Enter x-values into L1. Step 4: Enter y-values into L2. Step 5: Press [2nd][Y=]. Step 6: Press [ENTER] twice to turn on the Stat Plot. Step 7: Press [ZOOM][9] to select ZoomStat and show the scatter plot. 11 5.9.2: Fitting a Function to Data
12
Guided Practice: Example 1, continued On a TI-Nspire: Step 1: Press the [home] key and select the Lists & Spreadsheet icon. Step 2: Name Column A “group” and Column B “people.” Step 3: Enter x-values under Column A. Step 4: Enter y-values under Column B. Step 5: Select Menu, then 3: Data, and then 6: Quick Graph. Step 6: Press [enter]. 12 5.9.2: Fitting a Function to Data
13
Guided Practice: Example 1, continued Step 7: Move the cursor to the x-axis and choose “group.” Step 8: Move the cursor to the y-axis and choose “people.” 13 5.9.2: Fitting a Function to Data
14
Guided Practice: Example 1, continued 14 5.9.2: Fitting a Function to Data
15
Guided Practice: Example 1, continued 2.Find the quadratic regression model that best fits this data. On a TI-83/84: Step 1: Press [STAT]. Step 2: Arrow to the right to select Calc. Step 3: Press [5] to select QuadReg. Step 4: At the QuadReg screen, enter the parameters for the function (Xlist: L 1, Ylist: L 2, Store RegEQ: Y 1 ). To enter Y 1, press [VARS] and arrow over to the right to “Y- VARS.” Select 1: Function. Select 1: Y 1. 15 5.9.2: Fitting a Function to Data
16
Guided Practice: Example 1, continued Step 5: Press [ENTER] twice to see the quadratic regression equation. Step 6: Press [ZOOM][9] to view the graph of the scatter plot and the regression equation. On a TI-Nspire: Step 1: Select Menu, then 4: Analyze, then 6: Regression, and then 4: Show Quadratic. Step 2: Move the cursor over the equation and press the center key in the navigation pad to drag the equation for viewing, if necessary. 16 5.9.2: Fitting a Function to Data
17
Guided Practice: Example 1, continued A quadratic regression model for this problem is y = –4.286x 2 + 27.486x – 1.2. 17 5.9.2: Fitting a Function to Data ✔
18
Guided Practice: Example 1, continued 18 5.9.2: Fitting a Function to Data
19
Guided Practice Example 3 Doctors recommend that most people exercise for 30 minutes every day to stay healthy. To get the best results, a person’s heart rate while exercising should reach between 50% and 75% of his or her maximum heart rate, which is usually found by subtracting your age from 220. The peak rate should occur at around the 25th minute of exercise. Alice is 30 years old, and her maximum heart rate is 190 beats per minute (bpm). Assume that her resting rate is 60 bpm. 19 5.9.2: Fitting a Function to Data
20
Guided Practice: Example 3, continued The table below shows Alice’s heart rate as it is measured every 5 minutes for 30 minutes while she exercises. Interpret the model. Make a scatter plot of the data. Use a graphing calculator to find a quadratic regression model for the data. Use your model to extrapolate Alice’s heart rate after 35 minutes of exercise. 20 5.9.2: Fitting a Function to Data Time (minutes)051015202530 Heart rate (bpm)6093113 13 4 14 2 15 2 14 8
21
Guided Practice: Example 3, continued 1.Make a scatter plot of the data. On a TI-83/84: Step 1: Press [STAT]. Step 2: Press [ENTER] to select Edit. Step 3: Enter x-values into L1. Step 4: Enter y-values into L2. Step 5: Press [2nd][Y=]. Step 6: Press [ENTER] twice to turn on the Stat Plot. Step 7: Press [ZOOM][9] to select ZoomStat and show the scatter plot. 21 5.9.2: Fitting a Function to Data
22
Guided Practice: Example 3, continued On a TI-Nspire: Step 1: Press the [home] key and select the Lists & Spreadsheet icon. Step 2: Name Column A “time” and Column B “rate.” Step 3: Enter x-values under Column A. Step 4: Enter y-values under Column B. Step 5: Select Menu, then 3: Data, and then 6: Quick Graph. Step 6: Move the cursor to the x-axis and choose “time.” Step 7: Move the cursor to the y-axis and choose “rate.” 22 5.9.2: Fitting a Function to Data
23
Guided Practice: Example 3, continued 23 5.9.2: Fitting a Function to Data
24
Guided Practice: Example 3, continued 2.Find a quadratic regression model using your graphing calculator. On a TI-83/84: Step 1: Press [STAT]. Step 2: Arrow to the right to select Calc. Step 3: Press [5] to select QuadReg. Step 4: At the QuadReg screen, enter the parameters for the function (Xlist: L 1, Ylist: L 2, Store RegEQ: Y 1 ). To enter Y 1, press [VARS] and arrow over to the right to “Y- VARS.” Select 1: Function. Select 1: Y 1. 24 5.9.2: Fitting a Function to Data
25
Guided Practice: Example 3, continued Step 5: Press [ENTER] twice to see the quadratic regression equation. Step 6: Press [ZOOM][9] to view the graph of the scatter plot and the regression equation. On a TI-Nspire: Step 1: Select Menu, then 4: Analyze, then 6: Regression, and then 4: Show Quadratic. Step 2: Move the cursor over the equation and press the center key in the navigation pad to drag the equation for viewing, if necessary. 25 5.9.2: Fitting a Function to Data
26
Guided Practice: Example 3, continued 26 5.9.2: Fitting a Function to Data A quadratic regression model for this problem is y = –0.1243x 2 + 6.6643x + 60.7143.
27
Guided Practice: Example 3, continued 3.Use your model to extrapolate Alice’s heart rate after 35 minutes of exercise. Substitute 35 for x in the regression model. y = –0.1243(35) 2 + 6.6643(35) + 60.7143 y ≈ 141.70 After 35 minutes of exercise, we can expect Alice’s heart rate to be approximately 141.7 beats per minute. 27 5.9.2: Fitting a Function to Data
28
Guided Practice: Example 3, continued 4.Interpret the model. Alice appears to be reducing her heart rate and, therefore, reducing her exercise intensity after a peak at approximately 27 minutes. If she continues the trend, her heart rate will be back to her resting heart rate at approximately 54 minutes. Heart rates below her resting heart rate can be ignored. 28 5.9.2: Fitting a Function to Data ✔
29
Guided Practice: Example 3, continued 29 5.9.2: Fitting a Function to Data
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.