290 likes | 342 Views
Learn how to find a quadratic regression using a graphing calculator, interpret scatter plots, and verify regression models. This lesson provides step-by-step guidance for entering data, selecting regression types, and graphing equations.
E N D
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. 5.9.2: Fitting a Function to Data
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. 5.9.2: Fitting a Function to Data
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. 5.9.2: Fitting a Function to Data
Key Concepts, continued Graphing Equations Using 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. 5.9.2: Fitting a Function to Data
Key Concepts, continued Graphing Equations Using a TI-Nspire: 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. 5.9.2: Fitting a Function to Data
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: 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: L1, Ylist: L2, Store RegEQ: Y1). To enter Y1, press [VARS] and arrow over to the right to “Y-VARS.” Select 1: Function. Select 1: Y1. 5.9.2: Fitting a Function to Data
Key Concepts, continued Entering Lists Using a TI-Nspire: 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. 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. 5.9.2: Fitting a Function to Data
Common Errors/Misconceptions not identifying the correct function for the data using the incorrect commands or sequence of commands on the graphing calculator 5.9.2: Fitting a Function to Data
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. 5.9.2: Fitting a Function to Data
Guided Practice: Example 1, continued 5.9.2: Fitting a Function to Data
Guided Practice: Example 1, continued 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. 5.9.2: Fitting a Function to Data
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]. 5.9.2: Fitting a Function to Data
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.” 5.9.2: Fitting a Function to Data
Guided Practice: Example 1, continued 5.9.2: Fitting a Function to Data
Guided Practice: Example 1, continued 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: L1, Ylist: L2, Store RegEQ: Y1). To enter Y1, press [VARS] and arrow over to the right to “Y-VARS.” Select 1: Function. Select 1: Y1. 5.9.2: Fitting a Function to Data
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. 5.9.2: Fitting a Function to Data
Guided Practice: Example 1, continued A quadratic regression model for this problem is y= –4.286x2 + 27.486x – 1.2. ✔ 5.9.2: Fitting a Function to Data
Guided Practice: Example 1, continued 5.9.2: Fitting a Function to Data
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. 5.9.2: Fitting a Function to Data
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. 5.9.2: Fitting a Function to Data
Guided Practice: Example 3, continued 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. 5.9.2: Fitting a Function to Data
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.” 5.9.2: Fitting a Function to Data
Guided Practice: Example 3, continued 5.9.2: Fitting a Function to Data
Guided Practice: Example 3, continued 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: L1, Ylist: L2, Store RegEQ: Y1). To enter Y1, press [VARS] and arrow over to the right to “Y-VARS.” Select 1: Function. Select 1: Y1. 5.9.2: Fitting a Function to Data
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. 5.9.2: Fitting a Function to Data
Guided Practice: Example 3, continued A quadratic regression model for this problem is y = –0.1243x2 + 6.6643x + 60.7143. 5.9.2: Fitting a Function to Data
Guided Practice: Example 3, continued 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. 5.9.2: Fitting a Function to Data
Guided Practice: Example 3, continued 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. ✔ 5.9.2: Fitting a Function to Data
Guided Practice: Example 3, continued 5.9.2: Fitting a Function to Data