AP Statistics Chapter 8 Linear Regression.

Slides:



Advertisements
Similar presentations
2nd Day: Bear Example Length (in) Weight (lb)
Advertisements

Warm up Use calculator to find r,, a, b. Chapter 8 LSRL-Least Squares Regression Line.
CHAPTER 8: LINEAR REGRESSION
LSRL Least Squares Regression Line
Math 227 Elementary Statistics Math 227 Elementary Statistics Sullivan, 4 th ed.
CHAPTER 3 Describing Relationships
Haroon Alam, Mitchell Sanders, Chuck McAllister- Ashley, and Arjun Patel.
Linear Regression.
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.
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
AP STATISTICS LESSON 3 – 3 LEAST – SQUARES REGRESSION.
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.3 Least-Squares Regression.  Calculate the least squares regression line  Predict data using your LSRL  Determine and interpret the coefficient of.
Notes Bivariate Data Chapters Bivariate Data Explores relationships between two quantitative variables.
3.2 Least Squares Regression Line. Regression Line Describes how a response variable changes as an explanatory variable changes Formula sheet: Calculator.
Chapters 8 & 9 Linear Regression & Regression Wisdom.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 3 Describing Relationships 3.2 Least-Squares.
Examining Bivariate Data Unit 3 – Statistics. Some Vocabulary Response aka Dependent Variable –Measures an outcome of a study Explanatory aka Independent.
Warm Up Feel free to share data points for your activity. Determine if the direction and strength of the correlation is as agreed for this class, for the.
Chapter 3-Examining Relationships Scatterplots and Correlation Least-squares Regression.
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,
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.
CHAPTER 3 Describing Relationships
Least Squares Regression Lines Text: Chapter 3.3 Unit 4: Notes page 58.
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.
Chapter 7 Linear Regression. Bivariate data x – variable: is the independent or explanatory variable y- variable: is the dependent or response variable.
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.
1 Objective Given two linearly correlated variables (x and y), find the linear function (equation) that best describes the trend. Section 10.3 Regression.
Describing Bivariate Relationships. Bivariate Relationships When exploring/describing a bivariate (x,y) relationship: Determine the Explanatory and Response.
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
CHAPTER 3 Describing Relationships
Unit 4 LSRL.
LSRL.
Least Squares Regression Line.
LEAST – SQUARES REGRESSION
Linear Regression Special Topics.
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Chapter 5 LSRL.
LSRL Least Squares Regression Line
Chapter 4 Correlation.
Chapter 3.2 LSRL.
LEAST – SQUARES REGRESSION
Least Squares Regression Line LSRL Chapter 7-continued
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Unit 4 Vocabulary.
Chapter 5 LSRL.
Chapter 5 LSRL.
Chapter 5 LSRL.
Least-Squares Regression
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
CHAPTER 3 Describing Relationships
Algebra Review The equation of a straight line y = mx + b
Chapters Important Concepts and Terms
9/27/ A Least-Squares Regression.
CHAPTER 3 Describing Relationships
Presentation transcript:

AP Statistics Chapter 8 Linear Regression

Correlation: The measurement of the direction and strength of the linear relationship between two quantitative variables. Correlation is usually written as r.

Did You Mean Association Or Correlation? Be careful not to use the word correlation when you really mean association. Often times people will incorrectly use the word correlation when talking about relationships in order to sound scientific. However, associations just describe a general relationship between two variable whereas correlations specifically describes the linear relationship between the two variables if any.

Always Check Your Conditions The conditions for correlation: The variables must be numerical. People who misuse correlation to mean association often fail to notice whether the variables they discuss are quantitative The association is linear. Correlations only describe linear associations No outliers. Outliers can drastically change your data. Always be aware of any points that may sway your data.

A Regression Line: a straight line that describes how a response variable y changes as an explanatory variable x changes. Least-Squares Regression Line: The line that makes the sum of the squares of the vertical distances of the data points from the line as small as possible.

Linear Regression It would be great to be able to look at multi-variable data and reduce it to a single equation that might help us make predictions “Given the data of tuition at Arizona State University during the 1990’s, can you predict the tuition in 2002?” Let’s take this step by step to see how to perform a linear regression

Linear Regression Make a new list labeled Year and Tuit (for tuition) Then, input the following data into your calculator Year Tuition 1990 6546 1996 8377 1991 6996 1997 8710 1992 1998 9110 1993 7350 1999 9411 1994 7500 2000 9800 1995 7978

Linear Regression Next, check your conditions. Are the variables quantitative? Does the data look somewhat linear? Are there outliers?

Linear Regression Now, let’s calculate the linear regression line TI-84 TI-89

Linear Regression The Y1 variable automatically inputs the “Least-Squared Regression Line” (also called the LSRL) into the Y1 function in your calculator:

The Least-Square Regression The LSRL finds the best fit line by trying to minimize the areas formed by the difference of the real data from the predicted data.

The Least-Square Regression The LSRL helps us make predictions and creates a line that “best fits” the data. It is called the Least Squares Regression Line because it is the ONE line that has the smallest Least Squares Error – it gives the smallest sum of squared deviation. The LSRL equation that we received from the Arizona Tuition problem was: The LSRL helps us make predictions and creates a line that “best fits” the data. What is the y-intercept of the line? What is the slope of the line? a = -642463 b = 326.08

The Least-Square Regression The LSRL equation that we received from the Arizona Tuition problem was: What does the y-intercept represent? It represents the tuition at year 0 Does the y-intercept make sense in the context of this problem? No, since at year 0 was during Jesus’ time, it doesn’t make sense to speak of the tuition of Arizona State during this time frame! Plus, it means they would pay you to attend!!! What does the slope represent? It represents the amount of money that tuition will raise for every increase of 1 year. In this example, the model predicts that tuition will raise $326.08 every year at Arizona State.

The Least-Square Regression Note: when asked about the y-intercept (a) and the slope (b), you should memorize this phrase: y-intercept (a): at an (explanatory variable) value of 0 (units), our model predicts a (response variable) of (y units). Always ask if this makes sense!!! Slope (b): for every (1 unit) increase in the (explanatory variable), our model predicts an average (increase/decrease) of (y units) in the (response variable). Let’s apply these phrases with our Arizona State example… y-intercept (a): at year 0, our model predicts a tuition of -$642,463. This makes no sense at all!!! Slope (b): for every 1 year increase, our model predicts an average increase of $326.08 in the tuition.

The Least-Square Regression The LSRL equation that we received from the Arizona Tuition problem was: Using this formula, what is was the approximate tuition in 1989? $6113.87 Using this formula, what is was the approximate tuition in 2001? $10,026.90 Using this formula, what is was the approximate tuition in 2011? $13,287.70 The actual tuition in 2011 is $9720, why the difference?

Extrapolation Extrapolation is using a model to make predictions outside the domain of the data. It is very unreliable since the pattern of the data may not stay the say when you go beyond the given data. Always be wary of extrapolation when you are predicting a y-value outside of the given data

Assignment Chapter 8 Chapter 9 Lesson: Read: Problems: Linear Regression Regression Wisdom Read: Problems: 1 – 49 (odd) 1 - 31 (odd)