Section 1.6 Fitting Linear Functions to Data. Consider the set of points {(3,1), (4,3), (6,6), (8,12)} Plot these points on a graph –This is called a.

Slides:



Advertisements
Similar presentations
Least-Squares Regression Section 3.3. Correlation measures the strength and direction of a linear relationship between two variables. How do we summarize.
Advertisements

AP Statistics.  Least Squares regression is a way of finding a line that summarizes the relationship between two variables.
1-4 curve fitting with linear functions
Regression Chapter 10 Understandable Statistics Ninth Edition By Brase and Brase Prepared by Yixun Shi Bloomsburg University of Pennsylvania.
Lecture 3: Bivariate Data & Linear Regression 1.Introduction 2.Bivariate Data 3.Linear Analysis of Data a)Freehand Linear Fit b)Least Squares Fit c)Interpolation/Extrapolation.
Descriptive Methods in Regression and Correlation
Relationship of two variables
Copyright © Cengage Learning. All rights reserved.
1.4 Data in 2 Variables Definitions. 5.3 Data in 2 Variables: Visualizing Trends When data is collected over long period of time, it may show trends Trends.
© 2008 Pearson Addison-Wesley. All rights reserved Chapter 1 Section 13-6 Regression and Correlation.
AP STATISTICS LESSON 3 – 3 LEAST – SQUARES REGRESSION.
Regression Section 10.2 Bluman, Chapter 101. Example 10-1: Car Rental Companies Construct a scatter plot for the data shown for car rental companies in.
1.6 Linear Regression & the Correlation Coefficient.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
Least-Squares Regression: Linear Regression Section 3.2 Reference Text: The Practice of Statistics, Fourth Edition. Starnes, Yates, Moore.
Regression Regression relationship = trend + scatter
Linear Regression. Determine if there is a linear correlation between horsepower and fuel consumption for these five vehicles by creating a scatter plot.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 3 Describing Relationships 3.2 Least-Squares.
CHAPTER 5 Regression BPS - 5TH ED.CHAPTER 5 1. PREDICTION VIA REGRESSION LINE NUMBER OF NEW BIRDS AND PERCENT RETURNING BPS - 5TH ED.CHAPTER 5 2.
CHAPTER curve fitting with linear functions.
Copyright © Cengage Learning. All rights reserved. 1 STRAIGHT LINES AND LINEAR FUNCTIONS.
SECTIONS B Chapter 2. Objectives To draw scatter plots. To find and use prediction equations. Using a graphing calculator to graph lines of regression.
Chapter 2 Examining Relationships.  Response variable measures outcome of a study (dependent variable)  Explanatory variable explains or influences.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 3: Describing Relationships Section 3.2 Least-Squares Regression.
^ y = a + bx Stats Chapter 5 - Least Squares Regression
Statistics: Unlocking the Power of Data Lock 5 STAT 250 Dr. Kari Lock Morgan Simple Linear Regression SECTION 2.6 Least squares line Interpreting coefficients.
1 Simple Linear Regression and Correlation Least Squares Method The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES.
Unit 4 Lesson 3 (5.3) Summarizing Bivariate Data 5.3: LSRL.
Simple Linear Regression The Coefficients of Correlation and Determination Two Quantitative Variables x variable – independent variable or explanatory.
Method 3: Least squares regression. Another method for finding the equation of a straight line which is fitted to data is known as the method of least-squares.
Chapter 5 Lesson 5.2 Summarizing Bivariate Data 5.2: LSRL.
Chapters 8 Linear Regression. Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called.
Scatter Plots & Lines of Best Fit To graph and interpret pts on a scatter plot To draw & write equations of best fit lines.
Fitting Lines to Data Points: Modeling Linear Functions Chapter 2 Lesson 2.
Graphing Linear Equations
Lesson 4.5 Topic/ Objective: To use residuals to determine how well lines of fit model data. To use linear regression to find lines of best fit. To distinguish.
CHAPTER 3 Describing Relationships
Unit 4 LSRL.
4-5 Scatter Plots and Lines of Best Fit
10.2 Regression If the value of the correlation coefficient is significant, the next step is to determine the equation of the regression line which is.
Chapter 5 LSRL.
LSRL Least Squares Regression Line
Chapter 4 Correlation.
Cautions about Correlation and Regression
The Least-Squares Regression Line
2.1 Equations of Lines Write the point-slope and slope-intercept forms
Suppose the maximum number of hours of study among students in your sample is 6. If you used the equation to predict the test score of a student who studied.
5-7 Scatter Plots and Trend Lines
Linear Regression.
Correlation and Regression
Algebra 1 Section 6.6.
Ice Cream Sales vs Temperature
Graphing Review.
Chapter 3: Describing Relationships
^ y = a + bx Stats Chapter 5 - Least Squares Regression
Chapter 3: Describing Relationships
Least-Squares Regression
Residuals and Residual Plots
Line of Best Fit.
Section 2: Linear Regression.
Least-Squares Regression
11C Line of Best Fit By Eye, 11D Linear Regression
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
Warmup A study was done comparing the number of registered automatic weapons (in thousands) along with the murder rate (in murders per 100,000) for 8.
Scatterplots line of best fit trend line interpolation extrapolation
Homework: pg. 180 #6, 7 6.) A. B. The scatterplot shows a negative, linear, fairly weak relationship. C. long-lived territorial species.
Distance – Time Graphs Time is usually the independent variable (plotted on the x-axis) Distance is usually the dependent variable (plotted on the y-axis)
Ch 9.
9/27/ A Least-Squares Regression.
Presentation transcript:

Section 1.6 Fitting Linear Functions to Data

Consider the set of points {(3,1), (4,3), (6,6), (8,12)} Plot these points on a graph –This is called a scatterplot Sketch a straight line that best ‘fits’ the given data

There is a standard way of picking a ‘line of best fit’ Creating a line of best fit is called linear regression Let’s see how to do this in our calculators

The following table gives the closing value of the Dow-Jones average, D, for several different years, t Use your graphing calculators to find the equation of the regression line Based on the equation predict the Dow-Jones value in 1984 and 1987 Based on the equation predict the Dow-Jones value in 1993 and 2000 t D

Interpolation vs. Extrapolation When you estimate the output value for an input that is within your extreme values it is called interpolation –When we found the values for 1984 and 1987 we used interpolation –This is considered more reliable because we are within an interval we know something about When you estimate the output value for an input that is outside your extreme values it is called interpolation –We did this when we found the values for 1993 and 2000 –This is considered less reliable because we are outside the known inter al

How regression works We assume the value y is related to the value of x The line is chosen to minimize the sum of the squares of the vertical distances between the data points and the line Such a line is called a least-squares line

Correlation Way of measuring ‘goodness of fit’ Values between -1 and 1 Values near -1 or 1 imply strong linear relationship between variables Values near 0 imply no (or weak) linear relationship between variables This does not mean there is no relationship –See figure 1.56 on page 45 This does not mean one variable causes the other –Example: there is a strong positive correlation between boat sales and car sales but one does not cause the other