Linear Correlation and Regression

Slides:



Advertisements
Similar presentations
1.5 Scatter Plots and Least Squares Lines
Advertisements

Linear regression and correlation
Chapter 4 Describing the Relation Between Two Variables
Math 227 Elementary Statistics Math 227 Elementary Statistics Sullivan, 4 th ed.
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.
Linear Regression Analysis
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.
Linear Regression and Correlation
Relationship of two variables
Chapter 14 – Correlation and Simple Regression Math 22 Introductory Statistics.
Correlation and regression lesson 1 Introduction.
Researchers, such as anthropologists, are often interested in how two measurements are related. The statistical study of the relationship between variables.
Linear Regression When looking for a linear relationship between two sets of data we can plot what is known as a scatter diagram. x y Looking at the graph.
Check it out! 4.3.3: Distinguishing Between Correlation and Causation
Prior Knowledge Linear and non linear relationships x and y coordinates Linear graphs are straight line graphs Non-linear graphs do not have a straight.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
Correlation Correlation is used to measure strength of the relationship between two variables.
Scatter Diagrams Objective: Draw and interpret scatter diagrams. Distinguish between linear and nonlinear relations. Use a graphing utility to find the.
Correlation and Regression. Section 9.1  Correlation is a relationship between 2 variables.  Data is often represented by ordered pairs (x, y) and.
12/5/2015 V. J. Motto 1 Chapter 1: Linear Models V. J. Motto M110 Modeling with Elementary Functions 1.4 Linear Data Sets and “STAT”
Correlation The apparent relation between two variables.
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.
2.5 Using Linear Models P Scatter Plot: graph that relates 2 sets of data by plotting the ordered pairs. Correlation: strength of the relationship.
1 Data Analysis Linear Regression Data Analysis Linear Regression Ernesto A. Diaz Department of Mathematics Redwood High School.
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.
1 Simple Linear Regression and Correlation Least Squares Method The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES.
UNIT 8 Regression and Correlation. Correlation Correlation describes the relationship between two variables. EX: How much you study verse how well you.
Correlation & Linear Regression Using a TI-Nspire.
MM150 ~ Unit 9 Statistics ~ Part II. WHAT YOU WILL LEARN Mode, median, mean, and midrange Percentiles and quartiles Range and standard deviation z-scores.
Slide Copyright © 2009 Pearson Education, Inc. Types of Distributions Rectangular Distribution J-shaped distribution.
Regression Analysis.
Correlation and Regression
Linear Regression Essentials Line Basics y = mx + b vs. Definitions
Department of Mathematics
Topics
Regression and Correlation
Warm Up Scatter Plot Activity.
Correlation & Regression
Unit 4 LSRL.
Chapter 4.2 Notes LSRL.
Sections Review.
Objectives Fit scatter plot data using linear models with and without technology. Use linear models to make predictions.
Warm Up Practice 6-5 (p. 78) #13, 15, 16, 18, 22, 25, 26, 27, 31 – 36
AND.
Chapter 5 LSRL.
SIMPLE LINEAR REGRESSION MODEL
Scatterplots A way of displaying numeric data
Module 15-2 Objectives Determine a line of best fit for a set of linear data. Determine and interpret the correlation coefficient.
Section 13.7 Linear Correlation and Regression
5.7 Scatter Plots and Line of Best Fit
CHAPTER 10 Correlation and Regression (Objectives)
2.5 Scatterplots and Lines of Regression
2. Find the equation of line of regression
AP Stats: 3.3 Least-Squares Regression Line
Correlation and Regression
A correlation is a relationship between two variables. 
^ y = a + bx Stats Chapter 5 - Least Squares Regression
The Weather Turbulence
Scatter Plots and Best-Fit Lines
Do Now Create a scatterplot following these directions
Section 1.4 Curve Fitting with Linear Models
Chapter 5 LSRL.
Correlation and Regression
11C Line of Best Fit By Eye, 11D Linear Regression
y = mx + b Linear Regression line of best fit REMEMBER:
Section 10-1 Correlation © 2012 Pearson Education, Inc. All rights reserved.
Applying linear and median regression
Scatter Plots Learning Goals
Scatter Plots That was easy Year # of Applications
Correlation and Regression
Presentation transcript:

Linear Correlation and Regression 7-8 Statistics Linear Correlation and Regression

WHAT YOU WILL LEARN • To learn to determine if Linear Correlation exists • To learn to determine the line of best fit (Linear Regression).

Linear Correlation Linear correlation is used to determine whether there is a relationship between two quantities and, if so, how strong the relationship is.

Linear Correlation The linear correlation coefficient, r, is a unitless measure that describes the strength of the linear relationship between two variables. If the value is positive, as one variable increases, the other increases. If the value is negative, as one variable increases, the other decreases. The variable, r, will always be a value between –1 and 1 inclusive.

Scatter Diagrams A visual aid used with correlation is the scatter diagram, a plot of points (bivariate data). The independent variable, x, generally is a quantity that can be controlled. The dependent variable, y, is the other variable. The value of r is a measure of how far a set of points varies from a straight line. The greater the spread, the weaker the correlation and the closer the r value is to 0. The smaller the spread, the stronger the correlation and the closer the r value is to 1 or -1.

Correlation

Correlation

Linear Correlation Coefficient The formula to calculate the correlation coefficient (r) is as follows:

Example: Words Per Minute versus Mistakes There are five applicants applying for a job as a medical transcriptionist. The following shows the results of the applicants when asked to type a chart. Determine the correlation coefficient between the words per minute typed and the number of mistakes. 9 34 Nancy 10 41 Kendra 12 53 Phillip 11 67 George 8 24 Ellen Mistakes Words per Minute Applicant

Solution We will call the words typed per minute x, and the mistakes y. List the values of x and y and calculate the necessary sums. WPM Mistakes x y x2 y2 xy 24 8 576 64 192 67 11 4489 121 737 53 12 2809 144 636 41 10 1681 100 410 34 9 1156 81 306 x = 219 y = 50 x2 =10,711 y2 = 510 xy = 2,281

Solution (continued) The n in the formula represents the number of pieces of data. Here n = 5.

Solution (continued)

Solution (continued) Since 0.86 is fairly close to 1, there is a fairly strong positive correlation. This result implies that the more words typed per minute, the more mistakes made.

Linear Regression Linear regression is the process of determining the linear relationship between two variables. The line of best fit (regression line or the least squares line) is the line such that the sum of the squares of the vertical distances from the line to the data points (on a scatter diagram) is a minimum.

The Line of Best Fit Equation:

Example Use the data in the previous example to find the equation of the line that relates the number of words per minute and the number of mistakes made while typing a chart. Graph the equation of the line of best fit on a scatter diagram that illustrates the set of bivariate points.

Solution From the previous results, we know that

Solution Now we find the y-intercept, b. Therefore the line of best fit is y = 0.081x + 6.452

Solution (continued) To graph y = 0.081x + 6.452, plot at least two points and draw the graph. 8.882 30 8.072 20 7.262 10 y x

Solution (continued)

Or... Press STAT then ENTER Enter x-values in L1 Enter y-values in L2 Select CALC Select 8:LinReg(a+bx) ENTER Select L1,L2 Troubleshooting Tips L1 or L2 Missing: Press STAT Select 5:SetUpEditor ENTER r or r2 Missing: Press 2nd 0(CATALOG) Press DiagnosticOn Press ENTER twice

The following chart shows the pounds of coffee brewed per day in different sized coffee shops. (in square yards) Pounds of Coffee Brewed 30 5 44 9 57 18 66 23 106 31

Pounds of coffee brewed Here’s the scatter diagram for that data. Determine whether you believe that a correlation exists between the size of a coffee shop and the pounds of coffee brewed daily. Pounds of coffee brewed Size (in square yards) a. Yes b. No c. Can’t determine

Pounds of coffee brewed Here’s the scatter diagram for that data. Determine whether you believe that a correlation exists between the size of a coffee shop and the pounds of coffee brewed daily. Pounds of coffee brewed Size (in square yards) a. Yes b. No c. Can’t determine

Here’s the data, again. Determine the correlation coefficient between the size of a coffee shop and the pounds of coffee brewed daily. Size 30 44 57 66 106 Pounds 5 9 18 23 31 a. ≈ 0.037 c. ≈ 0.963 b. ≈ –0.963 d. ≈ 0.927

Here’s the data again. Determine the correlation coefficient between the size of a coffee shop and the pounds of coffee brewed daily. Size 30 44 57 66 106 Pounds 5 9 18 23 31 a. ≈ 0.037 c. ≈ 0.963 b. ≈ –0.963 d. ≈ 0.927

Here’s the data, again. Determine the equation of the line of best fit between size of a coffee shop and the pounds of coffee brewed daily. Size 30 44 57 66 106 Pounds 5 9 18 23 31 a. c. b. d.

Here’s the data, again. Determine the equation of the line of best fit between size of a coffee shop and the pounds of coffee brewed daily. Size 30 44 57 66 106 Pounds 5 9 18 23 31 a. c. b. d.

Use the equation y = 0.35x – 4.01 to predict the pounds of coffee brewed daily in a coffee shop that is 95 square yards. a. 37.26 b. 33.25 c. 29.24 d. 25.23

Use the equation y = 0.35x – 4.01 to predict the pounds of coffee brewed daily in a coffee shop that is 95 square yards. a. 37.26 b. 33.25 c. 29.24 d. 25.23