Page 1 Introduction to Correlation and Regression ECONOMICS OF ICMAP, ICAP, MA-ECONOMICS, B.COM. FINANCIAL ACCOUNTING OF ICMAP STAGE 1,3,4 ICAP MODULE.

Slides:



Advertisements
Similar presentations
1.5 Scatter Plots and Least Squares Lines
Advertisements

Least Squares Regression
Chapter 8 Linear regression
Chapter 8 Linear regression
1 Simple Linear Regression and Correlation The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES Assessing the model –T-tests –R-square.
Lesson Diagnostics on the Least- Squares Regression Line.
2nd Day: Bear Example Length (in) Weight (lb)
Haroon Alam, Mitchell Sanders, Chuck McAllister- Ashley, and Arjun Patel.
1 Chapter 10 Correlation and Regression We deal with two variables, x and y. Main goal: Investigate how x and y are related, or correlated; how much they.
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 13 Linear Regression and Correlation.
Linear Regression and Correlation
Introduction to Correlation and Regression Introduction to Correlation and Regression Ginger Holmes Rowell, Ph. D. Associate Professor of Mathematics.
Introduction to Correlation and Regression Introduction to Correlation and Regression Ginger Holmes Rowell, Ph. D. Associate Professor of Mathematics.
5-7 Scatter Plots. _______________ plots are graphs that relate two different sets of data by displaying them as ordered pairs. Usually scatter plots.
VCE Further Maths Least Square Regression using the calculator.
Sections 9-1 and 9-2 Overview Correlation. PAIRED DATA Is there a relationship? If so, what is the equation? Use that equation for prediction. In this.
Warm-up with 3.3 Notes on Correlation
Researchers, such as anthropologists, are often interested in how two measurements are related. The statistical study of the relationship between variables.
Correlation Correlation measures the strength of the LINEAR relationship between 2 quantitative variables. Labeled as r Takes on the values -1 < r < 1.
Warm Up 1.What is a scatterplot? 2.How do I create one? 3.What does it tell me? 4.What 3 things do we discuss when analyzing a scatterplot?
Regression Analysis: “Regression is that technique of statistical analysis by which when one variable is known the other variable can be estimated. In.
Lesson Least-Squares Regression. Knowledge Objectives Explain what is meant by a regression line. Explain what is meant by extrapolation. Explain.
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.
1.6 Linear Regression & the Correlation Coefficient.
Section 2.2 Correlation A numerical measure to supplement the graph. Will give us an indication of “how closely” the data points fit a particular line.
3.3 Least-Squares Regression.  Calculate the least squares regression line  Predict data using your LSRL  Determine and interpret the coefficient of.
Objectives (IPS Chapter 2.1)
Correlation Analysis. A measure of association between two or more numerical variables. For examples height & weight relationship price and demand relationship.
Modeling a Linear Relationship Lecture 47 Secs – Tue, Apr 25, 2006.
Chapters 8 & 9 Linear Regression & Regression Wisdom.
Introduction to Correlation and Regression Introduction to Correlation and Regression Ginger Holmes Rowell, Ph. D. Associate Professor of Mathematics.
Introduction to Correlation and Regression Introduction to Correlation and Regression Rahul Jain.
Section 3.2C. The regression line can be found using the calculator Put the data in L1 and L2. Press Stat – Calc - #8 (or 4) - enter To get the correlation.
Chapter 11 Correlation and Simple Linear Regression Statistics for Business (Econ) 1.
Scatter Diagrams Objective: Draw and interpret scatter diagrams. Distinguish between linear and nonlinear relations. Use a graphing utility to find the.
CORRELATION. Correlation key concepts: Types of correlation Methods of studying correlation a) Scatter diagram b) Karl pearson’s coefficient of correlation.
Modeling a Linear Relationship Lecture 44 Secs – Tue, Apr 24, 2007.
Chapter 9: Correlation and Regression Analysis. Correlation Correlation is a numerical way to measure the strength and direction of a linear association.
S CATTERPLOTS Correlation, Least-Squares Regression, Residuals Get That Program ANSCOMBE CRICKETS GESSEL.
9.1 - Correlation Correlation = relationship between 2 variables (x,y): x= independent or explanatory variable y= dependent or response variable Types.
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 )
LEAST-SQUARES REGRESSION 3.2 Least Squares Regression Line and Residuals.
Yes no = -9= 0 = -4 = -5/6.  Students will learn: ◦ To write an equation for a line of best fit and use it to make predictions. The trend line that.
Linear Regression and Correlation Chapter GOALS 1. Understand and interpret the terms dependent and independent variable. 2. Calculate and interpret.
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.
Entry Task Write the equation in slope intercept form and find the x and y intercepts. 1. 4x + 6y = 12.
Free Powerpoint Templates ROHANA BINTI ABDUL HAMID INSTITUT E FOR ENGINEERING MATHEMATICS (IMK) UNIVERSITI MALAYSIA PERLIS.
Scatter Plots and Correlations. Is there a relationship between the amount of gas put in a car and the number of miles that can be driven?
Response Variable: measures the outcome of a study (aka Dependent Variable) Explanatory Variable: helps explain or influences the change in the response.
Chapter 5 Lesson 5.2 Summarizing Bivariate Data 5.2: LSRL.
Section 1.3 Scatter Plots and Correlation.  Graph a scatter plot and identify the data correlation.  Use a graphing calculator to find the correlation.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin Linear Regression and Correlation Chapter 13.
BUSINESS MATHEMATICS & STATISTICS. Module 6 Correlation ( Lecture 28-29) Line Fitting ( Lectures 30-31) Time Series and Exponential Smoothing ( Lectures.
Copyright © 2009 Pearson Education, Inc. Chapter 8 Linear Regression.
11-1 Copyright © 2014, 2011, and 2008 Pearson Education, Inc.
Two-Variable Data Analysis
CHAPTER 3 Describing Relationships
Warm Up Scatter Plot Activity.
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
SIMPLE LINEAR REGRESSION MODEL
Introduction to Correlation and Regression
Using linear regression features on graphing calculators.
2.5 Scatterplots and Lines of Regression
Regression and Residual Plots
Modeling a Linear Relationship
Linear Models We will determine and use linear models, and use correlation coefficients.
Modeling a Linear Relationship
Presentation transcript:

Page 1 Introduction to Correlation and Regression ECONOMICS OF ICMAP, ICAP, MA-ECONOMICS, B.COM. FINANCIAL ACCOUNTING OF ICMAP STAGE 1,3,4 ICAP MODULE B, B.COM, BBA, MBA & PIPFA. COST ACCOUNTING OF ICMAP STAGE 2,3 ICAP MODULE D, BBA, MBA & PIPFA. CONTACT: KHALID AZIZ R-1173,ALNOOR SOCIETY, BLOCK 19,F.B.AREA, KARACHI, PAKISTAN

Page 2 Outline Introduction Linear Correlation Regression –Simple Linear Regression –Using the TI-83 –Model/Formulas

Page 3 Outline continued Applications –Real-life Applications –Practice Problems Internet Resources –Applets –Data Sources

Page 4 Correlation –A measure of association between two numerical variables. Example (positive correlation) –Typically, in the summer as the temperature increases people are thirstier.

Page 5 Specific Example For seven random summer days, a person recorded the temperature and their water consumption, during a three-hour period spent outside. Temperature (F) Water Consumption (ounces)

Page 6 How would you describe the graph?

Page 7 How “strong” is the linear relationship?

Page 8 Measuring the Relationship Pearson’s Sample Correlation Coefficient, r measures the direction and the strength of the linear association between two numerical paired variables.

Page 9 Direction of Association Positive CorrelationNegative Correlation

Page 10 Strength of Linear Association r value Interpretation 1 perfect positive linear relationship 0no linear relationship perfect negative linear relationship

Page 11 Strength of Linear Association

Page 12 Other Strengths of Association r value Interpretation 0.9strong association 0.5moderate association 0.25weak association

Page 13 Other Strengths of Association

Page 14 Formula = the sum n = number of paired items x i = input variabley i = output variable x = x-bar = mean of x’s y = y-bar = mean of y’s s x = standard deviation of x’s s y = standard deviation of y’s

Page 15 Regression –Specific statistical methods for finding the “line of best fit” for one response (dependent) numerical variable based on one or more explanatory (independent) variables.

Page 16 Curve Fitting vs. Regression Regression –Includes using statistical methods to assess the "goodness of fit" of the model. (ex. Correlation Coefficient)

Page 17 Regression: 3 Main Purposes To describe (or model) To predict ( or estimate) To control (or administer)

Page 18 Simple Linear Regression Statistical method for finding –the “line of best fit” –for one response (dependent) numerical variable –based on one explanatory (independent) variable.

Page 19 Least Squares Regression GOAL - minimize the sum of the square of the errors of the data points. This minimizes the Mean Square Error This minimizes the Mean Square Error

Page 20 Example Plan an outdoor party. Estimate number of soft drinks to buy per person, based on how hot the weather is. Use Temperature/Water data and regression.

Page 21 Steps to Reaching a Solution Draw a scatterplot of the data.

Page 22 Steps to Reaching a Solution Draw a scatterplot of the data. Visually, consider the strength of the linear relationship.

Page 23 Steps to Reaching a Solution Draw a scatterplot of the data. Visually, consider the strength of the linear relationship. If the relationship appears relatively strong, find the correlation coefficient as a numerical verification.

Page 24 Steps to Reaching a Solution Draw a scatterplot of the data. Visually, consider the strength of the linear relationship. If the relationship appears relatively strong, find the correlation coefficient as a numerical verification. If the correlation is still relatively strong, then find the simple linear regression line.

Page 25 Our Next Steps Learn to Use the TI-83 for Correlation and Regression. Interpret the Results (in the Context of the Problem).

Page 26 Finding the Solution: TI-83 Using the TI- 83 graphing calculator –Turn on the calculator diagnostics. –Enter the data. –Graph a scatterplot of the data. –Find the equation of the regression line and the correlation coefficient. –Graph the regression line on a graph with the scatterplot.

Page 27 Preliminary Step Turn the Diagnostics On. –Press 2nd 0 (for Catalog). –Scroll down to DiagnosticOn. The marker points to the right of the words. –Press ENTER. Press ENTER again. –The word Done should appear on the right hand side of the screen.

Page 28 Example Temperature (F) Water Consumption (ounces)

Page Enter the Data into Lists Press STAT. Under EDIT, select 1: Edit. Enter x-values (input) into L1 Enter y-values (output) into L2. After data is entered in the lists, go to 2nd MODE to quit and return to the home screen. Note: If you need to clear out a list, for example list 1, place the cursor on L1 then hit CLEAR and ENTER.

Page Set up the Scatterplot. Press 2nd Y= (STAT PLOTS). Select 1: PLOT 1 and hit ENTER. Use the arrow keys to move the cursor down to On and hit ENTER. Arrow down to Type: and select the first graph under Type. Under Xlist: Enter L1. Under Ylist: Enter L2. Under Mark: select any of these.

Page View the Scatterplot Press 2nd MODE to quit and return to the home screen. To plot the points, press ZOOM and select 9: ZoomStat. The scatterplot will then be graphed.

Page Find the regression line. Press STAT. Press CALC. Select 4: LinReg(ax + b). Press 2nd 1 (for List 1) Press the comma key, Press 2nd 2 (for List 2) Press ENTER.

Page Interpreting and Visualizing Interpreting the result: y = ax + b –The value of a is the slope –The value of b is the y-intercept –r is the correlation coefficient –r 2 is the coefficient of determination

Page Interpreting and Visualizing Write down the equation of the line in slope intercept form. Press Y= and enter the equation under Y1. (Clear all other equations.) Press GRAPH and the line will be graphed through the data points.

Page 35 Questions ???

Page 36 Interpretation in Context Regression Equation: y=1.5*x Water Consumption = 1.5*Temperature

Page 37 Interpretation in Context Slope = 1.5 (ounces)/(degrees F) –for each 1 degree F increase in temperature, you expect an increase of 1.5 ounces of water drank.

Page 38 Interpretation in Context y-intercept = –For this example, when the temperature is 0 degrees F, then a person would drink about -97 ounces of water. –That does not make any sense! –Our model is not applicable for x=0.

Page 39 Prediction Example Predict the amount of water a person would drink when the temperature is 95 degrees F. Solution: Substitute the value of x=95 (degrees F) into the regression equation and solve for y (water consumption). If x=95, y=1.5* = 45.6 ounces.

Page 40 Strength of the Association: r 2 Coefficient of Determination – r 2 General Interpretation: The coefficient of determination tells the percent of the variation in the response variable that is explained (determined) by the model and the explanatory variable.

Page 41 Interpretation of r 2 Example: r 2 =92.7%. Interpretation: –Almost 93% of the variability in the amount of water consumed is explained by outside temperature using this model. –Note: Therefore 7% of the variation in the amount of water consumed is not explained by this model using temperature.

Page 42 Questions ???

Page 43 Simple Linear Regression Model The model for simple linear regression is There are mathematical assumptions behind the concepts that we are covering today.

Page 44 Formulas Prediction Equation:

Page 45 Real Life Applications Cost Estimating for Future Space Flight Vehicles (Multiple Regression)

Page 46 Nonlinear Application Predicting when Solar Maximum Will Occur solar/predict.htm

Page 47 Real Life Applications Estimating Seasonal Sales for Department Stores (Periodic)

Page 48 Real Life Applications Predicting Student Grades Based on Time Spent Studying

Page 49 Real Life Applications... What ideas can you think of? What ideas can you think of that your students will relate to?

Page 50 Practice Problems Measure Height vs. Arm Span Find line of best fit for height. Predict height for one student not in data set. Check predictability of model.

Page 51 Practice Problems Is there any correlation between shoe size and height? Does gender make a difference in this analysis?

Page 52 Practice Problems Can the number of points scored in a basketball game be predicted by –The time a player plays in the game? –By the player’s height? Idea modified from Steven King, Aiken, SC. NCTM presentation 1997.)

Page 53 JOIN KHALID AZIZ ECONOMICS OF ICMAP, ICAP, MA-ECONOMICS, B.COM. FINANCIAL ACCOUNTING OF ICMAP STAGE 1,3,4 ICAP MODULE B, B.COM, BBA, MBA & PIPFA. COST ACCOUNTING OF ICMAP STAGE 2,3 ICAP MODULE D, BBA, MBA & PIPFA. CONTACT: R-1173,ALNOOR SOCIETY, BLOCK 19,F.B.AREA, KARACHI, PAKISTAN