Relationships between Variables. Two variables are related if they move together in some way Relationship between two variables can be strong, weak or.

Slides:



Advertisements
Similar presentations
Lesson 10: Linear Regression and Correlation
Advertisements

Regresi Linear Sederhana Pertemuan 01 Matakuliah: I0174 – Analisis Regresi Tahun: Ganjil 2007/2008.
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
Learning Objectives 1 Copyright © 2002 South-Western/Thomson Learning Data Analysis: Bivariate Correlation and Regression CHAPTER sixteen.
Chapter 10 Regression. Defining Regression Simple linear regression features one independent variable and one dependent variable, as in correlation the.
© The McGraw-Hill Companies, Inc., 2000 CorrelationandRegression Further Mathematics - CORE.
Chapter 15 (Ch. 13 in 2nd Can.) Association Between Variables Measured at the Interval-Ratio Level: Bivariate Correlation and Regression.
CORRELATON & REGRESSION
2.2 Correlation Correlation measures the direction and strength of the linear relationship between two quantitative variables.
SIMPLE LINEAR REGRESSION
Correlation and Regression. Correlation What type of relationship exists between the two variables and is the correlation significant? x y Cigarettes.
SIMPLE LINEAR REGRESSION
C82MCP Diploma Statistics School of Psychology University of Nottingham 1 Linear Regression and Linear Prediction Predicting the score on one variable.
Introduction to Linear Regression.  You have seen how to find the equation of a line that connects two points.
Chapter 12 Section 1 Inference for Linear Regression.
So are how the computer determines the size of the intercept and the slope respectively in an OLS regression The OLS equations give a nice, clear intuitive.
Relationships Among Variables
Correlation & Regression Math 137 Fresno State Burger.
Lecture 5 Correlation and Regression
Correlation and Linear Regression
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 13 Linear Regression and Correlation.
Linear Regression and Correlation
Descriptive Methods in Regression and Correlation
Linear Regression.
SIMPLE LINEAR REGRESSION
Introduction to Linear Regression and Correlation Analysis
Linear Regression and Correlation
Linear Trend Lines Y t = b 0 + b 1 X t Where Y t is the dependent variable being forecasted X t is the independent variable being used to explain Y. In.
Chapter 4 Correlation and Regression Understanding Basic Statistics Fifth Edition By Brase and Brase Prepared by Jon Booze.
© The McGraw-Hill Companies, Inc., 2000 Business and Finance College Principles of Statistics Lecture 10 aaed EL Rabai week
Chapter 6 & 7 Linear Regression & Correlation
EQT 272 PROBABILITY AND STATISTICS
© The McGraw-Hill Companies, Inc., Chapter 11 Correlation and Regression.
Introduction to Linear Regression
Correlation Analysis. A measure of association between two or more numerical variables. For examples height & weight relationship price and demand relationship.
Scatterplot and trendline. Scatterplot Scatterplot explores the relationship between two quantitative variables. Example:
© Copyright McGraw-Hill Correlation and Regression CHAPTER 10.
Relationships If we are doing a study which involves more than one variable, how can we tell if there is a relationship between two (or more) of the.
Multiple Regression. Simple Regression in detail Y i = β o + β 1 x i + ε i Where Y => Dependent variable X => Independent variable β o => Model parameter.
Creating a Residual Plot and Investigating the Correlation Coefficient.
Chapter 4 Summary Scatter diagrams of data pairs (x, y) are useful in helping us determine visually if there is any relation between x and y values and,
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.
CHAPTER 5 CORRELATION & LINEAR REGRESSION. GOAL : Understand and interpret the terms dependent variable and independent variable. Draw a scatter diagram.
Correlation & Regression Analysis
© 2001 Prentice-Hall, Inc.Chap 13-1 BA 201 Lecture 18 Introduction to Simple Linear Regression (Data)Data.
Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.
1 Simple Linear Regression and Correlation Least Squares Method The Model Estimating the Coefficients EXAMPLE 1: USED CAR SALES.
Simple Linear Regression The Coefficients of Correlation and Determination Two Quantitative Variables x variable – independent variable or explanatory.
CORRELATION ANALYSIS.
Chapter 14 Introduction to Regression Analysis. Objectives Regression Analysis Uses of Regression Analysis Method of Least Squares Difference between.
REGRESSION AND CORRELATION SIMPLE LINEAR REGRESSION 10.2 SCATTER DIAGRAM 10.3 GRAPHICAL METHOD FOR DETERMINING REGRESSION 10.4 LEAST SQUARE METHOD.
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 9 l Simple Linear Regression 9.1 Simple Linear Regression 9.2 Scatter Diagram 9.3 Graphical.
Regression Analysis AGEC 784.
Correlation & Regression
Simple Linear Regression
CHAPTER 10 Correlation and Regression (Objectives)
Correlation and Simple Linear Regression
1) A residual: a) is the amount of variation explained by the LSRL of y on x b) is how much an observed y-value differs from a predicted y-value c) predicts.
Correlation and Regression
Correlation and Simple Linear Regression
Correlation and Regression
Simple Linear Regression and Correlation
Product moment correlation
Ch 4.1 & 4.2 Two dimensions concept
Chapter 14 Multiple Regression
REGRESSION ANALYSIS 11/28/2019.
Presentation transcript:

Relationships between Variables

Two variables are related if they move together in some way Relationship between two variables can be strong, weak or none at all A strong relationship means that knowing value of one var tells us a lot about the value of the other

Example Catalog mailer who has tested mailing of two different catalogs (A and B) Which customers, old or new buy more from which catalog, A or B ? To answer the question, analyst pulls a sample of 100 names The two variables: Customer type and percentage buying Catalog A are plotted in a graph Steep lines indicate strong relationships and flat lines indicate lack of relationships

Correlation Analysis Correlations can be calculated for Categorical variables and Scalar variables For the former the values range from 0 to 1 and for the latter from –1 to 1 For Scalar variables, correlations indicate both direction and degree Positive Correlation (for scalar var): Tendency for a high value of one variable to be associated with a high value in the second

Correlation Analysis Sample Correlation (r) Measure is based on a sample Reflects tendency for points to cluster systematically about a straight line on a scatter diagram - rising from left to right means positive association - falling from left to right means negative association r lies between -1 < r < + 1 r = o means absence of linear association

Correlation Coefficient in practice Issues to consider - Are the data straight or linear - Is the relationship between the variables significant?

Simple Regression Moving from association between two variables to predicting value of one from the value of the other Variable to be predicted is Dependent variable (Y) and variable used to make prediction is Independent variable (X) Output of regression permits us to: 1. Explain why the values of Y vary as they do 2. Predict Y based on the known values of X

Idea behind Simple Regression Cataloger wants to know if there is relation between time a customer is on file and sales Define variables: - Independent var X (Length of time) is number of months since first purchase - Dependent var Y is dollar sales within last month Draw Scatter plot, draw line through the points and calculate slope of the line Eye-fitted regression line is Y=10 + 1*X

Fitting the Simple Regression line Goal is to minimize some measure of variation between Actual observations and Fitted observations This variation is called Residual Residual =Actual - Fit The measure of variation is called Residual Sum of Squares Most common fitting rule called Least-Squares minimizes the Residual Sum of Squares The equation for simple regression is

Simple Regression in Practice 1.Turn observations into data (variables) 2.Access if relationship between X and Y is linear 3.Straighten out the relationship if needed 4.Perform the regression analysis using any standard computer program 5.Interpret the findings

Example Do customers who buy more frequently also buy bigger ticket items? Step 1. Transform into data as follows: - Independent var (X) is number of purchases in last 12 months - Dependent var (Y) is largest dollar item (LDI) amount

Example (cont) Step 2. Draw Scatter plot to check for linearity Step 3. No straightening out needed Step 4. Regression output is Variation of Y: Variance = Total sum of squares = Correlation coefficient: r = Intercept: = Regression coefficient: = 10 with p=.001 Regression equation is

Example (cont) Step 5. (i) Large positive value of r indicates strong positive relation between X and Y. (ii) This supports our hypothesis that large sales are associated with frequent purchases (iii) The r squared statistic maybe most important in regression output. Also called Coefficient of Determination. 0 < r < + 1 (iv) Here r squared is.946 (v) Thus 94.6% of variation in Y is explained by X (vi) p value is about significance of

Simple Correlation Co-efficient Some formulae

Computation of Correlation Coefficient