Advanced Higher STATISTICS Linear Regression To see if there is a relationship between two variables, we draw a scatter-graph. It is then possible to draw.

Slides:



Advertisements
Similar presentations
Data collected over a period of time Example Data seems pretty random!!
Advertisements

Warm Up… Solve each equation for y.
2.2 Linear Equations.
Section 10-3 Regression.
Chapter 10 Regression. Defining Regression Simple linear regression features one independent variable and one dependent variable, as in correlation the.
Graphing Linear Equations In Slope-Intercept Form.
5-7: Scatter Plots & Lines of Best Fit. What is a scatter plot?  A graph in which two sets of data are plotted as ordered pairs  When looking at the.
FACTOR THE FOLLOWING: Opener. 2-5 Scatter Plots and Lines of Regression 1. Bivariate Data – data with two variables 2. Scatter Plot – graph of bivariate.
C82MCP Diploma Statistics School of Psychology University of Nottingham 1 Linear Regression and Linear Prediction Predicting the score on one variable.
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.
Correlation and regression 1: Correlation Coefficient
Correlation and regression lesson 1 Introduction.
© The McGraw-Hill Companies, Inc., 2000 Business and Finance College Principles of Statistics Lecture 10 aaed EL Rabai week
Researchers, such as anthropologists, are often interested in how two measurements are related. The statistical study of the relationship between variables.
Jon Curwin and Roger Slater, QUANTITATIVE METHODS: A SHORT COURSE ISBN © Thomson Learning 2004 Jon Curwin and Roger Slater, QUANTITATIVE.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
1 What you will learn today 1. New vocabulary 2. How to determine if data points are related 3. How to develop a linear regression equation 4. How to graph.
Correlation 1 Scatter diagrams Measurement of correlation Using a calculator Using the formula Practice qs.
Sec 1.5 Scatter Plots and Least Squares Lines Come in & plot your height (x-axis) and shoe size (y-axis) on the graph. Add your coordinate point to the.
Part IV Significantly Different: Using Inferential Statistics
Chapter 7 Relationships Among Variables What Correlational Research Investigates Understanding the Nature of Correlation Positive Correlation Negative.
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
Scatter Diagrams Objective: Draw and interpret scatter diagrams. Distinguish between linear and nonlinear relations. Use a graphing utility to find the.
Graphical uncertainties
Section 2.6 – Draw Scatter Plots and Best Fitting Lines A scatterplot is a graph of a set of data pairs (x, y). If y tends to increase as x increases,
Scatter Diagrams scatter plot scatter diagram A scatter plot is a graph that may be used to represent the relationship between two variables. Also referred.
Copyright © Cengage Learning. All rights reserved. 1 STRAIGHT LINES AND LINEAR FUNCTIONS.
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.
SECTIONS B Chapter 2. Objectives To draw scatter plots. To find and use prediction equations. Using a graphing calculator to graph lines of regression.
Chapter 10: Determining How Costs Behave 1 Horngren 13e.
1 Simple Linear Regression and Correlation Least Squares Method The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES.
STATISTICS 12.0 Correlation and Linear Regression “Correlation and Linear Regression -”Causal Forecasting Method.
Chapter 4 Minitab Recipe Cards. Correlation coefficients Enter the data from Example 4.1 in columns C1 and C2 of the worksheet.
Graphing Linear Equations Chapter 7.2. Graphing an equation using 3 points 1. Make a table for x and y to find 3 ordered pairs. 2. I choose 3 integers.
Scatter Plots & Lines of Best Fit To graph and interpret pts on a scatter plot To draw & write equations of best fit lines.
1.6 Modeling Real-World Data with Linear Functions Objectives Draw and analyze scatter plots. Write a predication equation and draw best-fit lines. Use.
Copyright 2013, 2010, 2007, 2005, Pearson, Education, Inc.
Linear Equation in Two Variables
Practice. Practice Practice Practice Practice r = X = 20 X2 = 120 Y = 19 Y2 = 123 XY = 72 N = 4 (4) 72.
Mixed Costs Chapter 2: Managerial Accounting and Cost Concepts. In this chapter we explain how managers need to rely on different cost classifications.
Aim: How to plot or graph data
What is Correlation Analysis?
Section 13.7 Linear Correlation and Regression
CHAPTER 10 Correlation and Regression (Objectives)
Investigating Relationships
2. Find the equation of line of regression
2-7 Curve Fitting with Linear Models Holt Algebra 2.
2.6 Draw Scatter Plots and Best-Fitting Lines
Objectives Graph a line and write a linear equation using point-slope form. Write a linear equation given two points.
Lesson 5.3 How do you write linear equations in point-slope form?
5-4 Point Slope Form.
SLOPE = = = The SLOPE of a line is There are four types of slopes
Correlation and Regression
Graphing Linear Equations
Section 1.4 Curve Fitting with Linear Models
Regression.
Data Analysis and Statistics
Comparing Linear, Exponential, and Quadratic Functions.
7.1 Draw Scatter Plots & Best-Fitting Lines
Correlation and Regression
2-4: Writing Linear Equations Using Slope Intercept Form
2.6 Draw Scatter plots & Best Fitting Lines
Graphing Linear Equations
Unit 2 Quantitative Interpretation of Correlation
Sleeping and Happiness
Graphing with X- and Y-Intercepts
7.1 Draw Scatter Plots and Best Fitting Lines
Sec 6-3-b Learning Objectives The student will be able to:
Aim: How to plot or graph data
Presentation transcript:

Advanced Higher STATISTICS Linear Regression To see if there is a relationship between two variables, we draw a scatter-graph. It is then possible to draw a ‘best-fit’ line through the points on the graph. To draw the straight line, we try to have as many points as possible on either side of the line. This is pretty difficult so we calculate a line of regression instead: this is called linear regression.

Advanced Higher STATISTICS The formula for drawing the linear regression The equation for a straight line is Y = a + bX  ‘a’ is known as the ‘intercept’. o It is given by the formula: a = ӯ - bẊ  ‘b’ is the ‘regression coefficient’  It is given by the formula: b = ∑(Ẋ-X)(y-ӯ) ∑(X-Ẋ) 2

Advanced Higher STATISTICS First: draw yourself a scatter-graph to show the relationship between two variables SiteDischarge M3/sec Suspended load g/m Increasing river discharge Increasing suspended load Scatter graph showing the relationship between discharge and suspended on the River Farg

Advanced Higher STATISTICS Second: complete Pearsons Product to get the values you need for ‘b’ b = ∑(Ẋ-X)(y-ӯ) ∑(X-Ẋ) 2 SiteDischarge M3/sec Suspended load g/m

Advanced Higher STATISTICS Second: complete Pearsons Product to get the values you need for ‘b’ b = ∑(Ẋ-X)(y-ӯ) ∑(X-Ẋ) 2 b = b = 7.5

Advanced Higher STATISTICS Third: calculate ‘a’ using the formula a = – (7.5 x 0.723) a = 7.02 a = ӯ - bẊ

Advanced Higher STATISTICS Fourth: figure out some ‘x’ & ‘y’ values To draw the straight line you have to calculate the values of ‘y’ for values of ‘x’ that you choose. For example, if x = 0, then y = a + (b x 0) For example, if x = 20, then y = a + (b x 20) To draw the straight line you have to calculate the values of ‘y’ for values of ‘x’ that you choose. if x = 0, then y = (7.5 x 0) = 7.02 if x = 0.6, then y = (7.5 x 0.6) = if x = 1.2, then y = (7.5 x 1.2) = b = 7.5 a = 7.02 if x = 0, y = 7.02 if x = 0.6, y = if x = 1.2, y = 16.02

Advanced Higher STATISTICS Fifth: plot your straight line! if x = 0, y = 7.02 if x = 0.6, y = if x = 1.2, y = 16.02