Presentation on theme: "Advanced Algebra II Notes 3.5 Residuals Residuals: y-value of data point – y-value on the line Example: The manager of Big K Pizza must order supplies."— Presentation transcript:
Advanced Algebra II Notes 3.5 Residuals Residuals: y-value of data point – y-value on the line Example: The manager of Big K Pizza must order supplies for the month of November. The numbers of pizzas sold in November during the past four years were 512, 603, 642, and 775, respectively. How many pizzas should she plan for this November?
Step 1: Put the x values into List 1, and the y-values into List 2. Do a scatter plot of the data. Step 2: On the home screen, press STAT, right arrow to CALC, down arrow to Med-Med, ENTER. Step 3: Press 2 nd 1, a comma, 2 nd 2, a comma, VARS, right arrow to Y-VARS, enter on Function, and again on Y 1. Step 4: Copy the equation into the chart above, and using that equation, find f(1), f(2), f(3) and f(4). Step 5: Find the residuals and enter into the chart. Step 6: What is the sum of the residuals? What should it be? Step 7: What does it mean if the sum of the residuals is positive? Negative? Year (x) 1234 # pizzas (y) Y-value from line Y= Residual: (see above definition of residuals)
Root Mean Square Error: A measure of the spread of data points from a model. represents the y-values of the data pairs represents the y-values of the model (equation) What does this appear to be similar to?
Example B: A scientist measures the current in milliamps through a circuit with constant resistance as the voltage in volts is varied. Make a scatter plot of the data, use the regression capability of the calculator to find: Linear regression equation: __________________________ b) Median-Median equation: __________________________ Complete the table below: Voltage (x) 57.51012.51517.520 Current (y) 2.3543.5274.6985.8717.0538.2259.403 Linear Reg Prediction Residual Med-Med prediction Residual residual 2
To use the calculator to compute the residuals: Step 1: In List 3 command (highlight L 3 ) enter Step 2: In List 4 command: (L 3 ) 2 Step 3: 2 nd STAT, right arrow to MATH, down arrow to sum(L 3 ) enter. Step 4: Divide Step 3 by (n-2) Step 5: Take the square root of Step 4. According to residuals, which is the best fit?