Least Squares Regression Lines Text: Chapter 3.3 Unit 4: Notes page 58.

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

Linear Regression (LSRL)
AP Statistics.  Least Squares regression is a way of finding a line that summarizes the relationship between two variables.
Examining Relationships Chapter 3. Least Squares Regression Line If the data in a scatterplot appears to be linear, we often like to model the data by.
AP Statistics Chapter 8 Linear Regression.
Chapter 3 Bivariate Data
2nd Day: Bear Example Length (in) Weight (lb)
Warm up Use calculator to find r,, a, b. Chapter 8 LSRL-Least Squares Regression Line.
Scatter Diagrams and Linear Correlation
AP Statistics Chapters 3 & 4 Measuring Relationships Between 2 Variables.
AP Statistics Mrs Johnson
LSRL Least Squares Regression Line
CHAPTER 3 Describing Relationships
Least Squares Regression
Haroon Alam, Mitchell Sanders, Chuck McAllister- Ashley, and Arjun Patel.
Least Squares Regression Line (LSRL)
Chapter 6 & 7 Linear Regression & Correlation
Least-Squares Regression Section 3.3. Why Create a Model? There are two reasons to create a mathematical model for a set of bivariate data. To predict.
AP Statistics Chapter 8 & 9 Day 3
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
Chapter 3 Section 3.1 Examining Relationships. Continue to ask the preliminary questions familiar from Chapter 1 and 2 What individuals do the data describe?
3.2 Least Squares Regression Line. Regression Line Describes how a response variable changes as an explanatory variable changes Formula sheet: Calculator.
Scatterplot and trendline. Scatterplot Scatterplot explores the relationship between two quantitative variables. Example:
Chapter 5 Residuals, Residual Plots, Coefficient of determination, & Influential points.
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. DosageHeart rate
3.2 - Least- Squares Regression. Where else have we seen “residuals?” Sx = data point - mean (observed - predicted) z-scores = observed - expected * note.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 3 Describing Relationships 3.2 Least-Squares.
WARM-UP Do the work on the slip of paper (handout)
Examining Bivariate Data Unit 3 – Statistics. Some Vocabulary Response aka Dependent Variable –Measures an outcome of a study Explanatory aka Independent.
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 3-Examining Relationships Scatterplots and Correlation Least-squares Regression.
CHAPTER 5 CORRELATION & LINEAR REGRESSION. GOAL : Understand and interpret the terms dependent variable and independent variable. Draw a scatter diagram.
AP STATISTICS Section 3.2 Least Squares Regression.
Least Squares Regression.   If we have two variables X and Y, we often would like to model the relation as a line  Draw a line through the scatter.
 Chapter 3! 1. UNIT 7 VOCABULARY – CHAPTERS 3 & 14 2.
POD 09/19/ B #5P a)Describe the relationship between speed and pulse as shown in the scatterplot to the right. b)The correlation coefficient, r,
Linear Regression Day 1 – (pg )
LSRLs: Interpreting r vs. r 2 r – “the correlation coefficient” tells you the strength and direction between two variables (x and y, for example, height.
Unit 4 Lesson 3 (5.3) Summarizing Bivariate Data 5.3: LSRL.
Chapter 7 Linear Regression. Bivariate data x – variable: is the independent or explanatory variable y- variable: is the dependent or response variable.
Response Variable: measures the outcome of a study (aka Dependent Variable) Explanatory Variable: helps explain or influences the change in the response.
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.
CHAPTER 5: Regression ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
Unit 3 Correlation. Homework Assignment For the A: 1, 5, 7,11, 13, , 21, , 35, 37, 39, 41, 43, 45, 47 – 51, 55, 58, 59, 61, 63, 65, 69,
Correlation and Regression Basic Concepts. An Example We can hypothesize that the value of a house increases as its size increases. Said differently,
Describing Bivariate Relationships. Bivariate Relationships When exploring/describing a bivariate (x,y) relationship: Determine the Explanatory and Response.
1. Analyzing patterns in scatterplots 2. Correlation and linearity 3. Least-squares regression line 4. Residual plots, outliers, and influential points.
Chapter 3 LSRL. Bivariate data x – variable: is the independent or explanatory variable y- variable: is the dependent or response variable Use x to predict.
Chapter 5 LSRL. Bivariate data x – variable: is the independent or explanatory variable y- variable: is the dependent or response variable Use x to predict.
CHAPTER 3 Describing Relationships
Bring project data to enter into Fathom
Unit 4 LSRL.
LSRL.
Chapter 4.2 Notes LSRL.
Least Squares Regression Line.
Chapter 5 LSRL.
LSRL Least Squares Regression Line
Chapter 4 Correlation.
Chapter 3.2 LSRL.
Describing Bivariate Relationships
Least Squares Regression Line LSRL Chapter 7-continued
CHAPTER 3 Describing Relationships
Chapter 5 LSRL.
Chapter 5 LSRL.
Chapter 5 LSRL.
Least-Squares Regression
Section 3.2: Least Squares Regressions
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.
Describing Bivariate Relationships
Presentation transcript:

Least Squares Regression Lines Text: Chapter 3.3 Unit 4: Notes page 58

Bivariate data x – variable: is the independent or explanatory variable y- variable: is the dependent or response variable Use x to predict y

b – is the slope –it is the approximate amount by which y increases when x increases by 1 unit a – is the y-intercept –it is the approximate height of the line when x = 0 –in some situations, the y-intercept has no meaning - (y-hat) means the predicted y Be sure to put the hat on the y

Least Squares Regression Line LSRL bestThe line that gives the best fit to the data set minimizesThe line that minimizes the sum of the squares of the deviations from the line

Sum of the squares = (-4) 2 + (4.5) 2 + (-5) 2 = y =.5(0) + 4 = 4 0 – 4 = -4 (0,0) (3,10) (6,2) (0,0) y =.5(3) + 4 = – 5.5 = 4.5 y =.5(6) + 4 = 7 2 – 7 = -5

(0,0) (3,10) (6,2) Sum of the squares = 54 Use a calculator to find the line of best fit STAT EDIT L1, L2 STAT CALC 4 LinReg (ax+b) Find y - y -3 6 What is the sum of the deviations from the line? Will it always be zero? minimizes LSRL The line that minimizes the sum of the squares of the deviations from the line is the LSRL.

Slope: unitx approximateincrease/decreaseby For each unit increase in x, there is an approximate increase/decrease of b in y. Interpretations Correlation coefficient: direction, strength, linear xy There is a direction, strength, and linear association between x and y.

The ages (in months) and heights (in inches) of seven children are given. x y Find the LSRL. Interpret the slope and correlation coefficient in the context of the problem.

Ans: r =.994, Correlation coefficient: Slope: age of one month increase.34 inches in heights of children. For an increase in age of one month, there is an approximate increase of.34 inches in heights of children. strong, positive, linear age and height of children There is a strong, positive, linear association between the age and height of children.

The ages (in months) and heights (in inches) of seven children are given. x y Predict the height of a child who is 4.5 years old. (4.5 yrs = 54 months) Predict the height of someone who is 20 years old. (240 months)

Extrapolation should not outsideThe LSRL should not be used to predict y for values of x outside the data set. It is unknown whether the pattern observed in the scatterplot continues outside this range.

The ages (in months) and heights (in inches) of seven children are given. The LSRL is Can this equation be used to estimate the age of a child who is 50 inches tall? LinReg L2,L1 Calculate: LinReg L2,L1 Do you get the same LSRL? However, statisticians will always use this equation to predict x from y For these data, this is the best equation to predict y from x.

The ages (in months) and heights (in inches) of seven children are given. x y Calculate x & y. Will this point always be on the LSRL? Plot the point (x, y) on the LSRL , YES!

non-resistant The correlation coefficient and the LSRL are both non-resistant measures.

Formulas – on chart

The following statistics are found for the variables posted speed limit and the average number of accidents. Find: the LSRL & predict the number of accidents for a posted speed limit of 50 mph. (Hint: Find b 1, then b 0, then LSRL)

Predict the number of accidents for a posted speed limit of 50 mph.

Homework: Packet page 64, “Linear Regression Activity” Packet page 68