VCE Further Maths Least Square Regression using the calculator.

Slides:



Advertisements
Similar presentations
AP Statistics Section 3.2 B Residuals
Advertisements

Scatterplots and Correlation
Residuals.
Chapter 3 Examining Relationships
Eight backpackers were asked their age (in years) and the number of days they backpacked on their last backpacking trip. Is there a linear relationship.
Scatter Diagrams and Linear Correlation
Regression and Correlation
BA 555 Practical Business Analysis
Welcome to class today! Chapter 12 summary sheet Jimmy Fallon video
Chapter 14 – Correlation and Simple Regression Math 22 Introductory Statistics.
Jon Curwin and Roger Slater, QUANTITATIVE METHODS: A SHORT COURSE ISBN © Thomson Learning 2004 Jon Curwin and Roger Slater, QUANTITATIVE.
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.
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.
Correlation & Regression – Non Linear Emphasis Section 3.3.
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.
Regression Regression relationship = trend + scatter
Scatter Plots And Looking at scatter plots Or Bivariate Data.
Examining Bivariate Data Unit 3 – Statistics. Some Vocabulary Response aka Dependent Variable –Measures an outcome of a study Explanatory aka Independent.
Transformations.  Although linear regression might produce a ‘good’ fit (high r value) to a set of data, the data set may still be non-linear. To remove.
Warm-Up Write the equation of each line. A B (1,2) and (-3, 7)
Correlation The apparent relation between two variables.
YOU NEED TO KNOW WHAT THIS MEANS
Chapter 3-Examining Relationships Scatterplots and Correlation Least-squares Regression.
AP STATISTICS Section 3.2 Least Squares Regression.
Copyright © 2009 Pearson Education, Inc. CHAPTER 1: Graphs, Functions, and Models 1.1 Introduction to Graphing 1.2 Functions and Graphs 1.3 Linear Functions,
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.
Linear Regression Day 1 – (pg )
^ y = a + bx Stats Chapter 5 - Least Squares Regression
UNIT 2 BIVARIATE DATA. BIVARIATE DATA – THIS TOPIC INVOLVES…. y-axis DEPENDENT VARIABLE x-axis INDEPENDENT VARIABLE.
Section 1.4 Equations of Lines and Modeling Copyright ©2013, 2009, 2006, 2001 Pearson Education, Inc.
1.5 Linear Models Warm-up Page 41 #53 How are linear models created to represent real-world situations?
UNIT 2 BIVARIATE DATA. BIVARIATE DATA – THIS TOPIC INVOLVES…. y-axis DEPENDENT VARIABLE x-axis INDEPENDENT VARIABLE.
Chapter 10 Notes AP Statistics. Re-expressing Data We cannot use a linear model unless the relationship between the two variables is linear. If the relationship.
Copyright © 2009 Pearson Education, Inc. Chapter 8 Linear Regression.
Introduction Many problems in Engineering, Management, Health Sciences and other Sciences involve exploring the relationships between two or more variables.
Two-Variable Data Analysis
15.7 Curve Fitting. With statistical applications, exact relationships may not exist  Often an average relationship is used Regression Analysis: a collection.
CHAPTER 3 Describing Relationships
Ch. 10 – Linear Regression (Day 2)
Unit 4 LSRL.
LSRL.
Least Squares Regression Line.
Sections Review.
CHAPTER 3 Describing Relationships
Chapter 3: Describing Relationships
Section 3.2: Least Squares Regression
Chapter 5 LSRL.
Chapter 3.2 LSRL.
Data Transformation Data Analysis.
Day 13 Agenda: DG minutes.
Chapter 3: Describing Relationships
Least Squares Regression Line LSRL Chapter 7-continued
Equations of Lines and Modeling
Section 3.3 Linear Regression
AP Statistics, Section 3.3, Part 1
Chapter 3: Describing Relationships
^ y = a + bx Stats Chapter 5 - Least Squares Regression
Chapter 3: Describing Relationships
Chapter 3: Describing Relationships
Residuals and Residual Plots
Chapter 3: Describing Relationships
Chapter 5 LSRL.
Chapter 5 LSRL.
11C Line of Best Fit By Eye, 11D Linear 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.
15.7 Curve Fitting.
Presentation transcript:

VCE Further Maths Least Square Regression using the calculator

Temperature (°C) x No. of Students in a class wearing jumpers y What is your understanding of this data set? Observe the pattern, look at what’s happening to the dependent and independent variables. You should be able to generalise a relationship. Step 1: Justifying which variable should be the dependent and independent variable. Explain why.

Step 2: Performing a Least Square Regression using the calculator. From MENU select STATISTICS Enter the independent variable in list1 and the dependent variable in list2

Step 3: Finding the Regression Equation Select Calc Select linear Reg Note: Make sure the independent variable is correctly selected in the Xlist and the dependent variable is in the Ylist

Step 3 Con’t: Reading the gradient (a) and y-intercept (b) The r correlation value can also be read off from this screen The equation is: y = x Interpret the meaning of the gradient and y-intercept. The gradient shows a drop of 0.48 number of students wearing jumpers for every 1 degree increase in the temperature. The y-intercept being the initial number of students wearing jumpers is at 16 when x=0

Step 4: Plotting the scatterplot Select the plotting icon from the top menu

Select the graphing icon from the top menu

Step 5: Finding the predicted y values Type in your regression equation here (-0.48List ). Replace x with List1.

Make a note that: List1 are your x values List2 are you y values List 3 are your predicted y values using the regression equation

Step 6: Finding the residual Go back to your linear reg screen. Select list4 to place where your residual will be Remember: The residual is the difference between the original y and the predicted y (y-y pred ) A positive value means under predicted. A negative value means over predicted.

Step 7: plotting the residual plot (residual vs original x values) Select the plotting iconTake note: The x values are still in list1 but the residuals are in list4

Select the graphing icon The points of the residual plot show a curved pattern, indicating that the original data has a non- linear relationship

Step 8: Transformation There are several transformations that you can perform. Examine the points on the original scatterplot and look at the data pattern to decide which one to use.

According to the data pattern, a reciprocal transformation of the x variable is applied (1/x). In your list screen, make list5 as your transformed x data Remember, your original x data was stored in list1 Type 1/list1

Transformed x data

Step 9: To find your transformed equation Remember, your new transformed x data are now in list5 Must provide in the order of independent first, then the dependent We have only transformed the x data therefore, the original y data remains the same in list2

The new equation can be read off the screen. y = 94.58(1/ x ) – 0.44 r is now 0.99 much improved in terms of the strength of the relationship

Step 10: Plotting the transformed data Much better fit!