Presentation is loading. Please wait.

Presentation is loading. Please wait.

Linear Regression. Determine if there is a linear correlation between horsepower and fuel consumption for these five vehicles by creating a scatter plot.

Similar presentations


Presentation on theme: "Linear Regression. Determine if there is a linear correlation between horsepower and fuel consumption for these five vehicles by creating a scatter plot."— Presentation transcript:

1 Linear Regression

2 Determine if there is a linear correlation between horsepower and fuel consumption for these five vehicles by creating a scatter plot and calculating the correlation coefficient.ExampleExample Vehicle HorsepowerFuel Consumption Midsize sedan 1056.7 Minivan17023.5 Small sports utility vehicle 1245.9 Midsize motorcycle 173.4 Luxury Sports car 2968.4

3 Regression  analytic technique for determining a relationship between a dependent variable and an independent variable. If two variables have a linear correlation, you can use a simple mathematical model of the relationship by looking at the line of best fit. Find the equation of the line to make predictions by INTERPOLATION (estimating between data points) and EXTRAPOLATION (estimating beyond the range of the data).

4 When a correlation is strong, it is easy to draw a line of best fit. But if it is more complex, an analytic method called the least-squares fit must be used. The equation to use is: where and This formula looks complex, however it is not that bad if you organize your answer. You may sometimes see a and b reversed depending on the book that you read. Once you get the equation, you can place it on your graph.

5 Age (years)Annual Income($000) 33 2531 1918 4452 5056 5460 3844 2935 xy Find the equation for the line of best fit. Place two more columns on the table (x 2 )(xy) and sum up each column.

6 How do outliers effect the line of best fit? Homework Pg 180 # 1,2,5,7


Download ppt "Linear Regression. Determine if there is a linear correlation between horsepower and fuel consumption for these five vehicles by creating a scatter plot."

Similar presentations


Ads by Google