Polynomial Regression Section 4.1.3. Starter 4.1.3 Johnny’s Pizza Shack sells pizzas in seven different sizes. The diameters and costs are shown in the.

Slides:



Advertisements
Similar presentations
Warm Up… Solve each equation for y.
Advertisements

Write an exponential function
 In the 2 scenarios below, find the change in x and the change in y.  What conclusions can you draw? What are the similarities & differences? How would.
State the domain and range of each function. 3.1 Graphs of Exponential Functions.
Graphing Linear Equations In Slope-Intercept Form.
Graph linear functions EXAMPLE 1 Graph the equation. Compare the graph with the graph of y = x. a.a. y = 2x b.b. y = x + 3 SOLUTION a.a. The graphs of.
Released Items Aligned to McDougal Littell “Algebra 1” Copyright 2007
1 Learning Objectives for Section 1.3 Linear Regression After completing this section, you will be able to calculate slope as a rate of change. calculate.
EXAMPLE 3 Write an equation for a function
Fitting a Function to Data Adapted from Walch Education.
WARM - UP. SOLVING EXPONENTIAL & LOGARITHMIC FUNCTIONS SECTION 3.4.
Residuals and Residual Plots Most likely a linear regression will not fit the data perfectly. The residual (e) for each data point is the ________________________.
Use mental math to evaluate.
Warm Up #10 1.) Graph 5x + 7y =35 2.) Graph y= 2x -3.
 If m & n are positive AND m = n, then  Can solve exponential equation by taking logarithm of each side of equation  Only works with base 10.
Unit 2 – Quadratic, Polynomial, and Radical Equations and Inequalities Chapter 5 – Quadratic Functions and Inequalities 5.7 – Analyzing Graphs of Quadratic.
Scatter plots and Regression Algebra II. Linear Regression  Linear regression is the relationship between two variables when the equation is linear.
Copyright © Cengage Learning. All rights reserved. Polynomials 4.
Evaluate and Graph Polynomial Functions Section 2.2 How do you identify and evaluate polynomial functions? What is synthetic substitution? How do you graph.
Inference for Regression Section Starter The Goodwill second-hand stores did a survey of their customers in Walnut Creek and Oakland. Among.
State the domain and range of each function Exponential Growth and Decay.
Exponential Regression Section Starter The city of Concord was a small town of 10,000 people in Returning war veterans and the G.I.
Solving Logarithmic Equations To solve today's equations, we are going to rewrite them in exponential form and use the methods learned in the last unit.
5.7 Completing the Square Ch. 6 Notes Page 38 P38 6.1: Polynomial Functions.
Logarithms 1 Converting from Logarithmic Form to Exponential Form and Back 2 Solving Logarithmic Equations & Inequalities 3 Practice Problems.
Residuals and Residual Plots Section Starter A study showed that the correlation between GPA and hours of study per week was r =.6 –Which.
7.3 Linear Equations and Their Graphs Objective: To graph linear equations using the x and y intercepts To graph horizontal and vertical lines.
Target: We will be able to identify parent functions of graphs.
Graphing Linear Equations
Chapter 1 Linear Equations and Linear Functions.
CHAPTER 3 Describing Relationships
distance prediction observed y value predicted value zero
8-6 Solving Polynomial equations in factored form
Chapter 2 Section 2 Linear Equations Pt 1
Chapter 4: Graphing Linear Equations
Objectives Transform quadratic functions.
Math 3 final exam review Part 1
4.8 Modeling Real-World Data with Polynomial Functions
5-4 Point Slope Form.
PARENT GRAPH FOR LINEAR EQUATIONS
Model Direct Variation
Linear Models and Equations
Model Direct Variation
2.5 Linear Equations.
Before: March 12, 2018 Evaluate x² + 5x for x = 4 and x = -3.
Quick Graphs Using Slope-Intercept Form
Scatter Plots and Best-Fit Lines
Regression.
Graphing Nonlinear Functions Pages 694 – 697
Residuals and Residual Plots
Using Factoring To Solve
Comparing Linear, Exponential, and Quadratic Functions.
3.4 Exponential and Logarithmic Equations
Comparing Linear, Exponential, and Quadratic Functions.
3.1 Graphing Linear Equations
Algebra 1 Section 6.3.
Graphing Linear Equations
Ch 4.1 & 4.2 Two dimensions concept
Evaluate and Graph Polynomial Functions
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. Find the correlation coefficient & interpret.
Modelling Quadratic Functions
Integrated Math 3 – Mod 3 Test Review
Solve each quadratic using whatever method you choose!
Write Linear Equations in Point-Slope Form
Model Direct Variation
5.1 -Systems of Linear Equations
Scatterplots Regression, Residuals.
Writing Rules for Linear Functions Pages
exponential equations
MATH 2311 Section 5.5.
Presentation transcript:

Polynomial Regression Section 4.1.3

Starter Johnny’s Pizza Shack sells pizzas in seven different sizes. The diameters and costs are shown in the table. Use regression analysis, including residual plots, to argue whether these data are linear, exponential, or neither. Diameter (in) Cost ($)

Objectives Convert polynomial data to linear data by use of logarithm principles Perform linear regression on linearized data Evaluate linear fit by using a residual plot Convert linear results to a polynomial function that models the original data

Starter Continued Consider a polynomial function of the form y=ax b The shape of the graph is controlled by b –If b = 2 the function is a quadratic –If b = 3 the function is a cubic, etc. The growth of y is controlled by a –Last year we discussed this as vertical stretch or shrink

Linearizing Polynomial Data For the function y=ax b, start by taking logs of both sides –log y = log (ax b ) –log y = log a + log x b product rule –log y = log a + b log xpower rule Now define A = log a Then we have a linear function: –log y = A + b log x(where A and b are unknown) Note that in this case we have the linear association between log y and log x instead of just plain x

Starter Concluded You already have the x values in L 1 and the y values in L 2 and the log y values in L 3 Now paste the logs of the x values into L 4 Perform linear regression on L 4 and L 3 –Note the order: L 4 has log x and comes first –Check the residual plot to see if this is a good model It does not matter whether you use x or log x. Why? Note the intercept and slope values you get –These are A and b as previously defined –Find a by evaluating 10 A as before –You already found b: No conversion is needed Look at the equation again to see why: log y = A + b log x

The Pizza Model You should have found A = –Calculate “little a” –So a = 10 A =.048 You should have found b = –So b = (No conversion needed) Now write the polynomial model into Y 2 and draw the graph on top of the scatterplot of the data –The equation isy =.048 x –If you did it right, they should match

Why are the data polynomial? Notice that the exponent was close to 2 –So the function is roughly quadratic. –In other words, price varies as the square of diameter. Why would you expect this association? –Price should depend on area because larger area needs more ingredients. But area varies as the square of radius. –So price should also vary as the square of radius and diameter is just radius / 2. Conclusion: For area problems, expect a quadratic association between explanatory and response variables.

Objectives Convert polynomial data to linear data by use of logarithm principles Perform linear regression on linearized data Evaluate linear fit by using a residual plot Convert linear results to a polynomial function that models the original data

Homework Read pages 190 – 195 Do Example 4.3 (NOT problem 4.3 !!!)