3.2 (part 2) 9.26.2017.

Slides:



Advertisements
Similar presentations
1.5 Scatter Plots and Least Squares Lines
Advertisements

Square root of the Variance:
Using TI graphing calculators
T-6 Five Number Summary. Five Number Summary Includes: Minimum: the lowest value in the data set Lower Quartile (Q1): the 25 th percentile Median: the.
Scatter Plots with Your calculator Section 4-6. Page 636#10.
Least Squares Regression
4.4 – Graphing Sine and Cosine Functions APPLICATIONS.
AP Statistics.  Least Squares regression is a way of finding a line that summarizes the relationship between two variables.
Example 3 Earnings and Gender Chapter 2.2 The table shows the earnings of year- round full-time workers by gender and educational attainment. a.Let x represent.
Identifying the general polynomial shape Example 1 General Rule: Basic polynomial function is one more that the number of direction changes.
Warm Up 1. Please have your homework and tracking sheet out and ready for me when I get to you.   a. Find the line of best fit for these data. _______________________.
EXAMPLE 3 Approximate a best-fitting line Alternative-fueled Vehicles
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.
VCE Further Maths Least Square Regression using the calculator.
Setting Up Clear any equations or lists from your calculator to start! Clear any equations or lists from your calculator to start! ~From the Y= list ~From.
Warm-up with 3.3 Notes on Correlation
1.Max is a computer salesman. For each day that he works, he receives $50 plus a fixed commission amount per computer. Max is currently earning $122 for.
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.
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.
Warm-up with 3.3 Notes on Correlation Universities use SAT scores in the admissions process because they believe these scores provide some insight into.
Dealing with Data Basic Steps to Using the TI-83 Graphing Calculator.
Scatter Diagrams Objective: Draw and interpret scatter diagrams. Distinguish between linear and nonlinear relations. Use a graphing utility to find the.
Investigating Scatter Plots Scatter plots – show correlations (relationships) between two different pieces of data.  dependent variable (y’s or range)
Correlation The apparent relation between two variables.
Section 2-5 Continued Scatter Plots And Correlation.
Scatter Plots, Correlation and Linear Regression.
Chapter 4.1: Scatter Plots. Lesson 4.1: Scatter Plots.
Residuals and Residual Plots Section Starter A study showed that the correlation between GPA and hours of study per week was r =.6 –Which.
Objective: To write linear equations that model real-world data. To make predictions from linear models. Bell Ringer: Write 3 ways you used math over your.
When you finish your assessment In 2-3 complete sentences answer each question 1. How is the first unit going for you so far in this class? 2. If you are.
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)
Regression on the Calculator Hit the “STAT” button and then select edit Enter the data into the lists. The independent data goes in L 1 and the dependent.
LEAST-SQUARES REGRESSION 3.2 Role of s and r 2 in Regression.
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.
Unit 3 Section : Regression Lines on the TI  Step 1: Enter the scatter plot data into L1 and L2  Step 2 : Plot your scatter plot  Remember.
Chapter 8 Linear Regression. Fat Versus Protein: An Example 30 items on the Burger King menu:
Regression and Median Fit Lines
1.5 Linear Models Warm-up Page 41 #53 How are linear models created to represent real-world situations?
6.7 Scatter Plots. 6.7 – Scatter Plots Goals / “I can…”  Write an equation for a trend line and use it to make predictions  Write the equation for a.
Linear Regression A step-by-step tutorial… Copyright © 2007 College of the Redwoods First edition by Aeron Ives.
Using the Calculator to Graph Scatter Plots. Everything we just learned about Scatter Plots we will now do with the calculator. Plot points Plot points.
2/27/2016 exponential growth and exponential decay larry scandone Gavin Middle School.
5.8: Modeling with Quadratic Functions Objectives: Students will be able to… Write a quadratic function from its graph given a point and the vertex Write.
Regression Math 12. Regression You can use this when the question does not specify that you must solve “algebraically” You can use regression when you.
Plotting Data & the Finding Regression Line. Clear Old Data 2 nd MEM 4 ENTER.
Goal: I can fit a linear function for a scatter plot that suggests a linear association. (S-ID.6)
Scatter Plots on the TI-73 This Power Point is to help guide someone through the following: 1.Create a scatter plot using lists 2.Find the equation for.
Fitting Lines to Data Points: Modeling Linear Functions Chapter 2 Lesson 2.
1.) Write an equation for the line containing the following: y-intercept of 6 and has a slope of ¼. 2.) Find the x-intercept and y-intercept of 4x + 2y.
CHAPTER 3 Describing Relationships
Flashback Use the table that shows the number of goals Pierre scored playing hockey to answer problems 1–3. 1. Using the data from 2001 and 1997,
CHAPTER 3 Describing Relationships
Warm Up Practice 6-5 (p. 78) #13, 15, 16, 18, 22, 25, 26, 27, 31 – 36
3.2A Least Squares Regression
2.5 Scatter Plots & Lines of Regression
Polar Coordinates Graphs of Polar Equations
The following data represents the amount of Profit (in thousands of $) made by a trucking company dependent on gas prices. Gas $
UNIT 2 – Linear Functions
3.2 Residuals and the Least-Squares Regression Line
Module 15-2 Objectives Determine a line of best fit for a set of linear data. Determine and interpret the correlation coefficient.
Using linear regression features on graphing calculators.
2.5 Scatterplots and Lines of Regression
^ y = a + bx Stats Chapter 5 - Least Squares Regression
Scatter Plots and Best-Fit Lines
Do Now Create a scatterplot following these directions
Residuals and Residual Plots
2.4 Linear Functions and Models
Flashback Write an equation for the line that satisfies the given conditions. 1) through: (1, 2), slope = 7 2) through: (4, 2), parallel to y =-3/4.
Section 3.2: Least Squares Regressions
b) Create a graph of your table.
Presentation transcript:

3.2 (part 2) 9.26.2017

An Example Test 1 Test 2 Student 1 83.73 90.57 Student 2 88.8 74.59 Student 3 82.65 76.23 Student 4 75.42 69.67 Let’s use scores on the chapter 1 test to predict scores on the chapter 2 test First step: we need to find the mean and st. dev for each variable

An Example Test 1 Test 2 Student 1 83.73 90.57 Student 2 88.8 74.59 Student 3 82.65 76.23 Student 4 75.42 69.67 First step: we need to find the mean and st. dev for each variable Test 1 𝑥 =82.65 𝑠 𝑥 =5.52 Test 2 𝑥 =77.77 𝑠 𝑥 =8.98

An Example Second step: we need to find the correlation Test 1 Test 2 Student 1 83.73 90.57 Student 2 88.8 74.59 Student 3 82.65 76.23 Student 4 75.42 69.67 𝑥 77.77 𝑠 𝑥 5.52 8.98 Second step: we need to find the correlation For now, I’m just going to give it to you: r=.36 Now we can find the slope: 𝑏=(.36) 8.98 5.52 𝑏=.59

An Example Now we can find the y-intercept 𝑎=77.77− .59 82.65 𝑎=28.94 Test 1 Test 2 Student 1 83.73 90.57 Student 2 88.8 74.59 Student 3 82.65 76.23 Student 4 75.42 69.67 𝑥 77.77 𝑠 𝑥 5.52 8.98 Now we can find the y-intercept 𝑎=77.77− .59 82.65 𝑎=28.94 So our regression equation is: 𝑇𝑒𝑠𝑡2 =28.94+.59(𝑇𝑒𝑠𝑡1) r=.36 b=.59

An Example So our regression equation is: 𝑇𝑒𝑠𝑡2 =28.94+.59(𝑇𝑒𝑠𝑡1) Test 1 Test 2 Student 1 83.73 90.57 Student 2 88.8 74.59 Student 3 82.65 76.23 Student 4 75.42 69.67 𝑥 77.77 𝑠 𝑥 5.52 8.98 So our regression equation is: 𝑇𝑒𝑠𝑡2 =28.94+.59(𝑇𝑒𝑠𝑡1) A fifth student got a 79.04 on the Chapter 1 Test. What would we expect his/her grade to be on the chapter 2 test? r=.36 b=.59

An Example So our regression equation is: 𝑇𝑒𝑠𝑡2 =28.94+.59(𝑇𝑒𝑠𝑡1) Test 1 Test 2 Student 1 83.73 90.57 Student 2 88.8 74.59 Student 3 82.65 76.23 Student 4 75.42 69.67 𝑥 77.77 𝑠 𝑥 5.52 8.98 So our regression equation is: 𝑇𝑒𝑠𝑡2 =28.94+.59(𝑇𝑒𝑠𝑡1) A fifth student got a 79.04 on the Chapter 1 Test. What would we expect his/her grade to be on the chapter 2 test? 28.94+(.59)(79.04) We would expect him/her to get a 75.57 r=.36 b=.59

An Example Let’s do the same thing on our calculator Test 1 Test 2 Student 1 83.73 90.57 Student 2 88.8 74.59 Student 3 82.65 76.23 Student 4 75.42 69.67 𝑥 77.77 𝑠 𝑥 5.52 8.98 Let’s do the same thing on our calculator Enter our x-values (Test1 scores) into L1 and our y-values (Test2 scores) into L2 𝑇𝑒𝑠𝑡2 =28.94+.59(𝑇𝑒𝑠𝑡1)

An Example Let’s do the same thing on our calculator Test 1 Test 2 Student 1 83.73 90.57 Student 2 88.8 74.59 Student 3 82.65 76.23 Student 4 75.42 69.67 𝑥 77.77 𝑠 𝑥 5.52 8.98 Let’s do the same thing on our calculator Enter our x-values (Test1 scores) into L1 and our y-values (Test2 scores) into L2 Stat---Calc---Linreg(a+bx) 𝑇𝑒𝑠𝑡2 =28.94+.59(𝑇𝑒𝑠𝑡1)

An Example Let’s do the same thing on our calculator Test 1 Test 2 Student 1 83.73 90.57 Student 2 88.8 74.59 Student 3 82.65 76.23 Student 4 75.42 69.67 𝑥 77.77 𝑠 𝑥 5.52 8.98 Let’s do the same thing on our calculator Stat---Calc---Linreg(a+bx) A=29.92 B=.58 Notice: very similar to our equation Why is it a bit different? 𝑇𝑒𝑠𝑡2 =28.94+.59(𝑇𝑒𝑠𝑡1)

A New Example: Stadium Size Stadium Size (thousands) 2016 Win Pct Texas 100.1 .417 Old Dominion 20.1 .769 Auburn 87.5 .615 Hawaii 50.0 .500 Kansas 50.1 .167 Colorado 50.2 .714 Colorado State 41.2 .538 Using your calculator, find the regression line that uses stadium size to predict 2016 Winning Percentage Use the regression line to predict the 2016 winning percentage for Tulane (stadium seats 30,000)

A New Example: Stadium Size Stadium Size (thousands) 2016 Win Pct Texas 100.1 .417 Old Dominion 20.1 .769 Auburn 87.5 .615 Hawaii 50.0 .500 Kansas 50.1 .167 Colorado 50.2 .714 Colorado State 41.2 .538 Using your calculator, find the regression line that uses stadium size to predict 2016 Winning Percentage 𝑤𝑖𝑛 =.654−.002(Stadium) Use the regression line to predict the 2016 winning percentage for Tulane (stadium seats 30,000) .594

A New Example: Stadium Size Stadium Size (thousands) 2016 Win Pct Texas 100.1 .417 Old Dominion 20.1 .769 Auburn 87.5 .615 Hawaii 50.0 .500 Kansas 50.1 .167 Colorado 50.2 .714 Colorado State 41.2 .538 𝑤𝑖𝑛 =.654−.002(Stadium) Use the regression line to predict the 2016 winning percentage for Tulane (stadium seats 30,000) .594 Tulane’s actual winning percentage last year was .333. Did our model do a very good job of predicting this?

No Pattern—Good!

Residual Plots What if the residual plot DOES have a pattern? Linear regression is probably not appropriate For now, we just stop there There are non-linear regression methods (your calculator can even do some of them) But for now we are focused only on linear regression

Using Technology—making a scatterplot We still have these data in L1 and L2 of our calculator We can use L1 and L2 to make a scatterplot Go to Y= and delete any equations you have in there Go to 2nd—Stat plot

Using Technology—making a scatterplot Go to Y= and delete any equations you have in there Go to 2nd—Stat plot Turn Plot1 on (make sure you choose L1 and L2) Hit Graph—you will probably see no points. Why?

Using Technology—making a scatterplot Hit Graph—you will probably see no points. Why? Click Window—change xmin, xmax, ymin, and ymax Now let’s add our regression line: 𝑤𝑖𝑛 =.654−.002(Stadium)

Using Technology—Making a Residual Plot (Page 178) Go to Stat---Edit Leave data in L1 and L2 Scroll over to L3 and highlight “L3” Type: .654− .002∗𝐿1 Now L3 is holding predicted values Now highlight “L4” Type: L2-L3 Now L4 is holding residuals Go back to Stat Plot Turn Plot 1 off, and turn plot 2 on Specify L1 as X variable, and L4 as y-variable Go to Window and change ymin (-1 works in this case) Go to Y= and delete your regression line (or hide it) Hit graph

HW Time