AP Statistics HW: p. 165 #42, 44, 45 Obj: to understand the meaning of r 2 and to use residual plots Do Now: On your calculator select: 2 ND ; 0; DIAGNOSTIC.

Slides:



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

AP Statistics Section 3.2 C Coefficient of Determination
AP Statistics Section 3.2 B Residuals
Linear Regression (C7-9 BVD). * Explanatory variable goes on x-axis * Response variable goes on y-axis * Don’t forget labels and scale * Statplot 1 st.
Chapter 8 Linear regression
Chapter 8 Linear regression
Lesson Diagnostics on the Least- Squares Regression Line.
2nd Day: Bear Example Length (in) Weight (lb)
Scatter Diagrams and Linear Correlation
Haroon Alam, Mitchell Sanders, Chuck McAllister- Ashley, and Arjun Patel.
Regression, Residuals, and Coefficient of Determination Section 3.2.
C HAPTER 3: E XAMINING R ELATIONSHIPS. S ECTION 3.3: L EAST -S QUARES R EGRESSION Correlation measures the strength and direction of the linear relationship.
1 Chapter 10 Correlation and Regression We deal with two variables, x and y. Main goal: Investigate how x and y are related, or correlated; how much they.
Linear Regression Analysis
The Line of Best Fit Linear Regression. Definition - A Line of Best or a trend line is a straight line on a Scatter plot that comes closest to all of.
Descriptive Methods in Regression and Correlation
5-7 Scatter Plots. _______________ plots are graphs that relate two different sets of data by displaying them as ordered pairs. Usually scatter plots.
VCE Further Maths Least Square Regression using the calculator.
1 Chapter 3: Examining Relationships 3.1Scatterplots 3.2Correlation 3.3Least-Squares Regression.
Correlation Correlation measures the strength of the LINEAR relationship between 2 quantitative variables. Labeled as r Takes on the values -1 < r < 1.
Ch 3 – Examining Relationships YMS – 3.1
Lesson Least-Squares Regression. Knowledge Objectives Explain what is meant by a regression line. Explain what is meant by extrapolation. Explain.
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.
1. Graph 4x – 5y = -20 What is the x-intercept? What is the y-intercept? 2. Graph y = -3x Graph x = -4.
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
AP STATISTICS LESSON 3 – 3 LEAST – SQUARES REGRESSION.
2-5: Using Linear Models Algebra 2 CP. Scatterplots & Correlation Scatterplot ◦ Relates two sets of data ◦ Plots the data as ordered pairs ◦ Used to tell.
Correlation & Regression – Non Linear Emphasis Section 3.3.
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?
Section 2.2 Correlation A numerical measure to supplement the graph. Will give us an indication of “how closely” the data points fit a particular line.
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
Scatterplot and trendline. Scatterplot Scatterplot explores the relationship between two quantitative variables. Example:
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.
STA291 Statistical Methods Lecture LINEar Association o r measures “closeness” of data to the “best” line. What line is that? And best in what terms.
Examining Bivariate Data Unit 3 – Statistics. Some Vocabulary Response aka Dependent Variable –Measures an outcome of a study Explanatory aka Independent.
Creating a Residual Plot and Investigating the Correlation Coefficient.
Chapter 4 Summary Scatter diagrams of data pairs (x, y) are useful in helping us determine visually if there is any relation between x and y values and,
Correlation The apparent relation between two variables.
Chapter 9: Correlation and Regression Analysis. Correlation Correlation is a numerical way to measure the strength and direction of a linear association.
Scatter Plots, Correlation and Linear Regression.
Chapter 3-Examining Relationships Scatterplots and Correlation Least-squares Regression.
2.5 Using Linear Models A scatter plot is a graph that relates two sets of data by plotting the data as ordered pairs. You can use a scatter plot to determine.
SWBAT: Calculate and interpret the residual plot for a line of regression Do Now: Do heavier cars really use more gasoline? In the following data set,
A P STATISTICS LESSON 3 – 3 (DAY 3) A P STATISTICS LESSON 3 – 3 (DAY 3) RISIDUALS.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 3 Association: Contingency, Correlation, and Regression Section 3.3 Predicting the Outcome.
Residuals Recall that the vertical distances from the points to the least-squares regression line are as small as possible.  Because those vertical distances.
^ y = a + bx Stats Chapter 5 - Least Squares Regression
LEAST-SQUARES REGRESSION 3.2 Least Squares Regression Line and Residuals.
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)
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.
Scatterplots and Linear Regressions Unit 8. Warm – up!! As you walk in, please pick up your calculator and begin working on your warm – up! 1. Look at.
.  Relationship between two sets of data  The word Correlation is made of Co- (meaning "together"), and Relation  Correlation is Positive when the.
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
Chapter 8 Linear Regression. Fat Versus Protein: An Example 30 items on the Burger King menu:
Simple Linear Regression The Coefficients of Correlation and Determination Two Quantitative Variables x variable – independent variable or explanatory.
1.5 Linear Models Warm-up Page 41 #53 How are linear models created to represent real-world situations?
Chapters 8 Linear Regression. Correlation and Regression Correlation = linear relationship between two variables. Summarize relationship with line. Called.
AP STATISTICS LESSON 3 – 3 (DAY 2) The role of r 2 in regression.
Correlation and Regression Ch 4. Why Regression and Correlation We need to be able to analyze the relationship between two variables (up to now we have.
Two-Variable Data Analysis
Describing Bivariate Relationships. Bivariate Relationships When exploring/describing a bivariate (x,y) relationship: Determine the Explanatory and Response.
Sections Review.
Section 3.2: Least Squares Regression
Day 13 Agenda: DG minutes.
^ y = a + bx Stats Chapter 5 - Least Squares Regression
Correlation and Regression
Least-Squares Regression
Adequacy of Linear Regression Models
y = mx + b Linear Regression line of best fit REMEMBER:
Adequacy of Linear Regression Models
Presentation transcript:

AP Statistics HW: p. 165 #42, 44, 45 Obj: to understand the meaning of r 2 and to use residual plots Do Now: On your calculator select: 2 ND ; 0; DIAGNOSTIC ON; ENTER: ENTER Now re-run the regression on the Manatee data from yesterday C3 D5

Now r is given. This is the correlation coefficient. It gives the strength and direction of the relationship between x and y. If |r| is close to 1  strong linear relationship. If |r| is close to 0  weak or no linear relationship. The numerical value of r basically tells us how close the point are to a line. If r is positive  positive relationship (increase in x means an increase in y). If r is negative  negative relationship (increase in x mean a decrease in y). The sign of r tells us the sign of the slope of the line that the points are close to.

r 2 is the coefficient of determination r 2 tells us the percentage of the variation in y that is explained by our regression equation. If r 2 =.8, then we have come up with an equation that accounts for 80% of the variation in y. The remaining variation would be due to random chance or possible another variable or variables that we have not included in our equaion. The closer r 2 is to 1, the better the fit of our equation.

Calculating r 2

SST = “Total Sum of Squares about the Mean” - gives the sum of the squares of the differences from the mean SSE = “Sum of Squares for Error” - gives the sum of the squares of the residuals

r 2 is algebraically equivalent to (r) 2

Residuals Residual = observed y – predicted y (error)(data) (value from eqn) = y - y hat The sum of the residuals for a least-squares regression line will always be 0.

Residual Plot We can use residuals as another way to check the fit of a regression equation (in addition to looking at a scatterplot, r, and r 2 ) We can create a residual plot (** Very important for AP Exam **) Plot the x-values vs residuals

The manatee data should still be in L 1 and L 2 Go to the heading of L 3 Press 2 ND ; 2; -; VARS; Y-VARS; 1: FUNCTION; 1: Y 1; (L 1 ) Press ENTER Now L 3 is the residuals OR, after you run the regression, press 2 nd STAT; and RESID will be the last choice. You could put this into the heading of L 3.

Plot 1: x-list should be L 1 y-list should be L 3 You are looking for a uniform scattering of points – no pattern. Any sort of patter would indicate the equation may not be a good fit

Data may not be linear:

The predicted y is less accurate for large values of x:

Line looks like a good fit:

Do p.180 #61