EQ: How well does the line fit the data?

Slides:



Advertisements
Similar presentations
Chapter 3 Examining Relationships Lindsey Van Cleave AP Statistics September 24, 2006.
Advertisements

Regression BPS chapter 5 © 2006 W.H. Freeman and Company.
LSRLs: Interpreting r vs. r2
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
Chapter 3 Bivariate Data
2nd Day: Bear Example Length (in) Weight (lb)
Scatter Diagrams and Linear Correlation
Correlation A correlation exists between two variables when one of them is related to the other in some way. A scatterplot is a graph in which the paired.
Haroon Alam, Mitchell Sanders, Chuck McAllister- Ashley, and Arjun Patel.
Least Squares Regression Line (LSRL)
Examining Relationships YMS3e Chapter 3 3.3: Correlation and Regression Extras Mr. Molesky Regression Facts.
AP STATISTICS LESSON 3 – 3 LEAST – SQUARES REGRESSION.
AP Statistics Chapter 8 & 9 Day 3
1 Chapter 10 Correlation and Regression 10.2 Correlation 10.3 Regression.
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?
Chapter 5 Residuals, Residual Plots, & Influential points.
Chapter 5 Residuals, Residual Plots, Coefficient of determination, & Influential points.
Verbal SAT vs Math SAT V: mean=596.3 st.dev=99.5 M: mean=612.2 st.dev=96.1 r = Write the equation of the LSRL Interpret the slope of this line Interpret.
Regression BPS chapter 5 © 2010 W.H. Freeman and Company.
Section 3.2C. The regression line can be found using the calculator Put the data in L1 and L2. Press Stat – Calc - #8 (or 4) - enter To get the correlation.
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. DosageHeart rate
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.
Statistics Bivariate Analysis By: Student 1, 2, 3 Minutes Exercised Per Day vs. Weighted GPA.
Chapter 3-Examining Relationships Scatterplots and Correlation Least-squares Regression.
AP STATISTICS Section 3.2 Least Squares Regression.
Chapter 2 Examining Relationships.  Response variable measures outcome of a study (dependent variable)  Explanatory variable explains or influences.
 Chapter 3! 1. UNIT 7 VOCABULARY – CHAPTERS 3 & 14 2.
Linear Regression Day 1 – (pg )
Warm-up O Turn in HW – Ch 8 Worksheet O Complete the warm-up that you picked up by the door. (you have 10 minutes)
LEAST-SQUARES REGRESSION 3.2 Role of s and r 2 in Regression.
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.
Chapter 8 Linear Regression. Fat Versus Protein: An Example 30 items on the Burger King menu:
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.
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 3 Describing Relationships
Unit 4 LSRL.
LSRL.
Least Squares Regression Line.
Statistics 101 Chapter 3 Section 3.
CHAPTER 3 Describing Relationships
Chapter 5 LSRL.
LSRL Least Squares Regression Line
Chapter 4 Correlation.
Chapter 3.2 LSRL.
Chapter 3: Linear models
Warm Up A method to estimate the age of a lobster was investigated in a 2007 study. The length of the exterior shell (in mm) was compared to the known.
1) A residual: a) is the amount of variation explained by the LSRL of y on x b) is how much an observed y-value differs from a predicted y-value c) predicts.
Examining Relationships
Describing Bivariate Relationships
Least Squares Regression Line LSRL Chapter 7-continued
^ y = a + bx Stats Chapter 5 - Least Squares Regression
CHAPTER 3 Describing Relationships
Least-Squares Regression
Residuals, Residual Plots, & Influential points
The Least-Squares Line Introduction
Examining Relationships
Warm Up The following data lists the prices of 12 different bicycle helmets along with the quality rating. Make a scatterplot of the data (price is the.
Chapter 5 LSRL.
Chapter 5 LSRL.
Chapter 5 LSRL.
Least-Squares Regression
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.
Chapter 3 Vocabulary Linear Regression.
Homework: PG. 204 #30, 31 pg. 212 #35,36 30.) a. Reading scores are predicted to increase by for each one-point increase in IQ. For x=90: 45.98;
Presentation transcript:

EQ: How well does the line fit the data? Analysis of LSRL EQ: How well does the line fit the data?

What would you conclude based on the graph? Data from 1860-1940 Barrels of Rum Sold Ministers in Boston

Reasons for strong correlation Lurking variables: Something in the background that affects both variables the same way. For the historical data, as population increased the number of ministers increased as did the amount of alcohol being sold.

Shoe size vs. Height Determine if a linear model is a good idea. 8.5 66 9 68.5 67.5 9.5 70 10 72 10.5 71.5 69.5 11 73 12 73.5 74 12.5 Determine if a linear model is a good idea. Create a scatterplot and examine the relationship. DON’T FIND THE LSRL!!!!

Facts about the LSRL Line Every LSRL line passes through All found in 2 variable stats

Find the LSRL using summary statistics

Interpret all of the values r : There is a strong positive linear relationship a: when the shoe size is 0 the height is predicted to be 51.36 inches b: for every 1 increase in shoe size the height will increase by 1.87 inches

Coefficient of Determination The percent of variation in the y values that is explained by the linear model with x. Coefficient of determination = r2 where r is the correlation.

The coefficient of determination between shoe size and height is. 8575 The coefficient of determination between shoe size and height is .8575. What does this mean???? 85.75% of the variation in heights is explained by the linear model with shoe size.

Line of best fit Method: Minimize the sum of the squared errors Prediction line Predicted value Error Actual value

Residuals A residual is the difference between an observed value of the response variable and the value predicted by the LSRL

Predictions Predict the height of a person with a shoe size of 8.5

Residual Actual Data: Residual: Observed - Predicted 66-67.25 =-1.25 8.5 shoe size and 66 inches for height 66-67.25 =-1.25

Create the LSRL

Calculate Residuals

Evaluate Residual Plot A good residual plot has No patterns No outliers Balance between +’s and –’s

Bad Residual Plots

Example How are American female (30-39) heights and weights related? Create a scatterplot and comment on the relationship Determine the LSRL, r, and r2 and interpret the values. Evaluate the model by analyzing the residuals. Predict the weight for a 63 inch female. Calculate the residual for a 63 inch female. How confident are you in your prediction?