Simple Linear Regression & Correlation

Slides:



Advertisements
Similar presentations
Chapter 9: Simple Regression Continued
Advertisements

Test of (µ 1 – µ 2 ),  1 =  2, Populations Normal Test Statistic and df = n 1 + n 2 – 2 2– )1– 2 ( 2 1 )1– 1 ( 2 where ] 2 – 1 [–
Topic 12: Multiple Linear Regression
Chapter 12 Simple Linear Regression
Uji Kelinearan dan Keberartian Regresi Pertemuan 02 Matakuliah: I0174 – Analisis Regresi Tahun: Ganjil 2007/2008.
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Data Analysis: Bivariate Correlation and Regression CHAPTER sixteen.
Regression Analysis Once a linear relationship is defined, the independent variable can be used to forecast the dependent variable. Y ^ = bo + bX bo is.
Learning Objectives Copyright © 2004 John Wiley & Sons, Inc. Bivariate Correlation and Regression CHAPTER Thirteen.
Linear regression models
Chapter 12 Simple Linear Regression
1 1 Slide © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Chapter 10 Simple Regression.
Lesson #32 Simple Linear Regression. Regression is used to model and/or predict a variable; called the dependent variable, Y; based on one or more independent.
1 Pertemuan 13 Uji Koefisien Korelasi dan Regresi Matakuliah: A0392 – Statistik Ekonomi Tahun: 2006.
Simple Linear Regression and Correlation
Introduction to Linear Regression and Correlation Analysis
Simple Linear Regression Models
EQT 272 PROBABILITY AND STATISTICS
Ms. Khatijahhusna Abd Rani School of Electrical System Engineering Sem II 2014/2015.
Inferences in Regression and Correlation Analysis Ayona Chatterjee Spring 2008 Math 4803/5803.
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Econ 3790: Business and Economics Statistics
OPIM 303-Lecture #8 Jose M. Cruz Assistant Professor.
Econ 3790: Business and Economics Statistics Instructor: Yogesh Uppal
Time Series Analysis – Chapter 2 Simple Regression Essentially, all models are wrong, but some are useful. - George Box Empirical Model-Building and Response.
1 1 Slide Simple Linear Regression Coefficient of Determination Chapter 14 BA 303 – Spring 2011.
Introduction to Probability and Statistics Thirteenth Edition Chapter 12 Linear Regression and Correlation.
An alternative approach to testing for a linear association The Analysis of Variance (ANOVA) Table.
Chapter 5: Regression Analysis Part 1: Simple Linear Regression.
ANOVA for Regression ANOVA tests whether the regression model has any explanatory power. In the case of simple regression analysis the ANOVA test and the.
Regression Analysis Relationship with one independent variable.
STA 286 week 131 Inference for the Regression Coefficient Recall, b 0 and b 1 are the estimates of the slope β 1 and intercept β 0 of population regression.
Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.
Chapter 12 Simple Linear Regression n Simple Linear Regression Model n Least Squares Method n Coefficient of Determination n Model Assumptions n Testing.
1 1 Slide The Simple Linear Regression Model n Simple Linear Regression Model y =  0 +  1 x +  n Simple Linear Regression Equation E( y ) =  0 + 
Free Powerpoint Templates ROHANA BINTI ABDUL HAMID INSTITUT E FOR ENGINEERING MATHEMATICS (IMK) UNIVERSITI MALAYSIA PERLIS.
1 1 Slide © 2011 Cengage Learning Assumptions About the Error Term  1. The error  is a random variable with mean of zero. 2. The variance of , denoted.
© 2001 Prentice-Hall, Inc.Chap 13-1 BA 201 Lecture 19 Measure of Variation in the Simple Linear Regression Model (Data)Data.
REGRESSION AND CORRELATION SIMPLE LINEAR REGRESSION 10.2 SCATTER DIAGRAM 10.3 GRAPHICAL METHOD FOR DETERMINING REGRESSION 10.4 LEAST SQUARE METHOD.
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.
The “Big Picture” (from Heath 1995). Simple Linear Regression.
Chapter 11 Linear Regression and Correlation. Explanatory and Response Variables are Numeric Relationship between the mean of the response variable and.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Multiple Regression.
Chapter 20 Linear and Multiple Regression
Decomposition of Sum of Squares
Statistics for Managers using Microsoft Excel 3rd Edition
Inference in Simple Linear Regression
Correlation and Regression
BA 240 Yamasaki Solutions to Practice 5
Simple Linear Regression
Simple Linear Regression
Statistics for Business and Economics (13e)
Relationship with one independent variable
Simple Linear Regression
Quantitative Methods Simple Regression.
Multiple Regression.
Prepared by Lee Revere and John Large
Simple Linear Regression
24/02/11 Tutorial 3 Inferential Statistics, Statistical Modelling & Survey Methods (BS2506) Pairach Piboonrungroj (Champ)
Review of Chapter 2 Some Basic Concepts: Sample center
Inferential Statistics and Probability a Holistic Approach
Relationship with one independent variable
Linear Regression and Correlation
Simple Linear Regression
Multiple Linear Regression
Linear Regression and Correlation
Decomposition of Sum of Squares
St. Edward’s University
Presentation transcript:

Simple Linear Regression & Correlation (X1,Y1) (X2,Y2) (X3,Y3) (X4,Y4) … (Xn,Yn) Relationship Between Two Variables: Linear Relationship Curvilinear Relationship No Relationship + + + + + + + + + + + + + + + + 1) Measure the Degree of Association Between the 2 Variables 2) Forecast Future Values 3) Measure the Error

Simple Linear Regression

Method of Least Squares Want to Minimize this This leads to 2 Equations:

Example 1: Test scores 1st 2nd X Y 80 90 60 70 40 40 30 40 40 60

Example 2: Ads vs Sales Ads Sales X Y 0 1 1 2 2 3 3 5 4 8 5 11 6 12

Partition the Sum of Squares: Total Variation of Y Total = Unexplained + Explained Variation Variation Variation TSS = SSE + SSR

Regression ANOVA Table: Source df SS MS Regression 1 SSR = b1SSxy MSR = SSR/1 Error n-2 SSE = SSy - b1SSxy MSE = SSE/n-2 Total n-1 TSS = SSy Coefficient of Determination: r2 = SSR/TSS % of Variation of Y Explained by X Model Hypothesis Test: H0: Model is Not Significant HA: Model is Significant R: F > Fα(1,n-2) F = MSR/MSE

Ex 1: Ex 2:

MSE = Estimated Error Variance Se2 Parameter Estimator (Standard Error)2 β0 b0 β1 b1 Interval Estimate: b0 - e ≤ β0 ≤ b0 + e ; e = t•Sb0 Ex 1:

Interval Estimate: b1 - e ≤ β1 ≤ b1 + e ; e = t•Sb1 Ex 2: Hypothesis Test: Ex 2: H0: β1 = 0 HA: β1 ≠ 0 R: t > tα/2,df=n-2 t < -tα/2,df=n-2

Parameter Estimator (Std Error)2 Y E(Y|X)

Confidence Interval for the Mean Value of Y for a Given X Ex 2: Xg = 5

Interval Estimate for a Single Value of Y for a Given X Ex 2: Xg = 5 Prediction Interval

Correlation Coefficient: -1 ≤ r ≤ 1

Sample Correlation Coefficient: Ex1: Ex 2: Hypothesis Test: H0: ρ = 0 HA: ρ ≠ 0 R: t > tα/2,df=n-2 t < -tα/2,df=n-2 Ex 2:

Ex 3: Units Cost X2 X XY Y Y2 1 8 2 8 3 10 4 14 5 16 6 16 7 18 8 22 SSx = SSxy = SSy =

Prediction Equation: ANOVA Table for the Model: Test the Model:

Test for β1 = 0: 95% CI for β0: Test for ρ = 0:

95% CI for Mean Value of Y when X = 7: 95% PI for Single Value of Y when X = 7:

Human Resource Selection Ho: Other Performer – Do Not Hire HA: Superior Performer – Do Hire R: Test Score > Xc Superior False Negative False positive Other Do Not Hire Do Hire