The Science of Predicting Outcome

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

AP Stat Day Days until AP Exam
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 116.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 40.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 28.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 38.
Chapter 1 Image Slides Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Break Time Remaining 10:00.
The basics for simulations
15. Oktober Oktober Oktober 2012.
We are learning how to read the 24 hour clock
AP Statistics Chapter 3 Review.
AP Statistics Chapter 3 Review.
X y x y Review of definition: A function is a relation for which there is exactly one value of the dependent variable for.
Number bonds to 10,
The Right Questions about Statistics: How hypothesis testing works Maths Learning Centre The University of Adelaide A hypothesis test is designed to DECIDE.
Graph Linear Systems Written in Standard Form
Clock will move after 1 minute
Copyright © 2013 Pearson Education, Inc. All rights reserved Chapter 11 Simple Linear Regression.
Business Statistics, 4e by Ken Black
Select a time to count down from the clock above
AP Statistics.  Least Squares regression is a way of finding a line that summarizes the relationship between two variables.
Chapter 3 Bivariate Data
Chapter 6: Exploring Data: Relationships Lesson Plan
LSRL Least Squares Regression Line
Haroon Alam, Mitchell Sanders, Chuck McAllister- Ashley, and Arjun Patel.
Least Squares Regression Line (LSRL)
LSRL Chapter 4.
Chapter 6: Exploring Data: Relationships Chi-Kwong Li Displaying Relationships: Scatterplots Regression Lines Correlation Least-Squares Regression Interpreting.
Chapter 6: Exploring Data: Relationships Lesson Plan Displaying Relationships: Scatterplots Making Predictions: Regression Line Correlation Least-Squares.
Examining Relationships YMS3e Chapter 3 3.3: Correlation and Regression Extras Mr. Molesky Regression Facts.
Correlation is a statistical technique that describes the degree of relationship between two variables when you have bivariate data. A bivariate distribution.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
3.2 Least Squares Regression Line. Regression Line Describes how a response variable changes as an explanatory variable changes Formula sheet: Calculator.
Chapter 14 Inference for Regression AP Statistics 14.1 – Inference about the Model 14.2 – Predictions and Conditions.
Chapter 3-Examining Relationships Scatterplots and Correlation Least-squares Regression.
LEAST-SQUARES REGRESSION 3.2 Least Squares Regression Line and Residuals.
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.
Chapter 5 Lesson 5.2 Summarizing Bivariate Data 5.2: LSRL.
Describing Relationships. Least-Squares Regression  A method for finding a line that summarizes the relationship between two variables Only in a specific.
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.
Sections 3.3 & 3.4 Quiz tomorrow.
Unit 4 LSRL.
LSRL.
Least Squares Regression Line.
LEAST – SQUARES REGRESSION
Linear Regression Special Topics.
Chapter 6: Exploring Data: Relationships Lesson Plan
Chapter 5 LSRL.
LSRL Least Squares Regression Line
Chapter 4 Correlation.
Chapter 3.2 LSRL.
Module 12 Math 075.
Examining Relationships
Chapter 6: Exploring Data: Relationships Lesson Plan
Least Squares Regression Line LSRL Chapter 7-continued
The Science of Predicting Outcome
Examining Relationships
Chapter 5 LSRL.
Chapter 5 LSRL.
Chapter 5 LSRL.
Least-Squares Regression
Chapter 14 Inference for Regression
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.
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:

The Science of Predicting Outcome Linear Regression The Science of Predicting Outcome

Least-Squares Regression LSR is a method for finding a line that summarizes the relationship between two variables Regression line is a straight line that describes how a response variable y changes as an explanatory variable x changes We often use a regression line to predict the value of y for a given value of x

LSRL: Least Square Regression Line Y-intercept Slope

Example #1 - Finding the LSRL Shoe Size (men’s U.S.) Height (in) 7 64 10 69 12 71 8 68 9.5 10.5 70 11 72 12.5 74 13.5 77 Consider the following data: With this data, find the LSRL Start by entering this data into list 1 and list 2

Example #1 - Finding the LSRL We need our graphing calculator to solve the first Case for today

Example #1 - Finding the LSRL You should then see the results of the regression. a=53.24 b=1.65 r-squared=.8422 r=.9177 This is the correlation coefficient for the scatterplot!!!

Example #2 – Interpreting LSRL Interpreting the intercept When your shoe size is 0, you should be about 53.24 inches tall (Of course this does not make much sense in the context of the problem) Interpreting the slope For each increase of 1 in the shoe size, we would expect the height to increase by 1.65 inches

Example #3 – Using LSRL Making predictions How tall might you expect someone to be who has a shoe size of 12.5? Just plug in 12.5 for the shoe size above, so… Height = 53.24+1.65 (12.5)=73.865 inches (this is a prediction and is therefore not exact.)

Practice A. Find the strength of correlation between the 2 variables Student Number of Beers Blood Alcohol Level 1 5 0.1 2 0.03 3 9 0.19 6 7 0.095 0.07 0.02 11 4 13 0.085 8 0.12 0.04 0.06 10 0.05 12 14 0.09 15 0.01 16 A. Find the strength of correlation between the 2 variables B. Write the linear model for this data set C. What will be your BAC level if you drink 6 bottle of beers.

Coefficients a and b The slope is: The intercept is: S-sub y and s-sub x are the sample standard deviations of y and x (kinda like rise over run) The slope is: The intercept is: y-bar and x-bar are the mean y and x respectively The equation of the least squares regression line is written as:

This table describes a study that recorded data on number of beers consumed and blood alcohol content (BAC) for 16 students. Here is some partial computer output from Minitab relating to these data: Y-intercept Slope (a) Use the computer output to write the equation of the least-squares line. (b) Interpret the slope and y intercept of the equation in this setting. (c) What blood alcohol level would your equation predict for a student who consumed 6 beers?

Answers (a) If y = blood alcohol content (BAC) and x = number of beers, BAC = −0.01270 + 0.017964(number of beers). (b) Slope: for every extra beer consumed, the BAC will increase by an average of 0.017964. Intercept: if no beers are consumed, the BAC will be, on average, −0.01270 (obviously meaningless). (c) Predicted BAC = 0.0951

Here’s a computer generated output of 2 bivariate data Here’s a computer generated output of 2 bivariate data. Write a linear model that corresponds to these set of data. y-hat = -0.124 + 0.0179(x)

“On predicting height given arm span “ Class Activity: Arm-span vs Height “On predicting height given arm span “ Students will measure their height and arm span. Then they will write the LSRL from the data they collected and predict a person’s arm span with their height.