Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate...

27
Regression Analysis

description

Bivariate Analysis Defined The degree of association between two variables Bivariate techniques Statistical methods of analyzing the relationship between two variables. Multivariate Techniques When more than two variables are involved Independent variable Affects the value of the dependent variable Dependent variable explained or caused by the independent variable Bivariate Analysis of Association

Transcript of Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate...

Page 1: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

Regression Analysis

Page 2: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

Regression Analysis

1. To comprehend the nature of correlation analysis.

2. To understand bivariate regression analysis.

3. To become aware of the coefficient of determination

Page 3: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

Bivariate Analysis DefinedThe degree of association between two variablesBivariate techniques

Statistical methods of analyzing the relationship between two variables.

Multivariate TechniquesWhen more than two variables are involved

Independent variableAffects the value of the dependent variable

Dependent variableexplained or caused by the independent variable

Bivariate Analysis of Association

Page 4: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

Types of Bivariate Procedures

• Two group t-tests

• chi-square analysis of cross-tabulation or contingency tables

• ANOVA (analysis of variance) for two groups

• Bivariate regression

• Pearson product moment correlation

Bivariate Analysis of Association

Page 5: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

Bivariate Regression DefinedAnalyzing the strength of the linear relationship between the dependent variable and the independent variable.

Nature of the Relationship

• Plot in a scatter diagram

• Dependent variable

Y is plotted on the vertical axis

• Independent variable

X is plotted on the horizontal axis

• Nonlinear relationship

Bivariate Regression

Page 6: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

Y

XA - Strong Positive Linear Relationship

Types of Relationships Found in Scatter DiagramsBivariate Regression Example

Bivariate Regression

Page 7: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

Y

XB - Positive Linear Relationship

Types of Relationships Found in Scatter Diagrams

Bivariate Regression

Page 8: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

Y

XC - Perfect Negative Linear Relationship

Types of Relationships Found in Scatter Diagrams

Bivariate Regression

Page 9: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

XD - Perfect Parabolic Relationship

Types of Relationships Found in Scatter Diagrams

Bivariate Regression

Page 10: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

Y

XE - Negative Curvilinear Relationship

Types of Relationships Found in Scatter Diagrams

Bivariate Regression

Page 11: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

Y

XF - No Relationship between X and Y

Types of Relationships Found in Scatter Diagrams

Bivariate Regression

Page 12: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

Least Squares Estimation ProcedureResults in a straight line that fits the actual observations better than any other line that could be fitted to the observations.

where

Y = dependent variable

X = independent variable

e = error

b = estimated slope of the regression line

a = estimated Y intercept

Bivariate Regression

Y = a + bX + e

Page 13: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

Values for a and b can be calculated as follows:

XiYi - nXYb =

X2i - n(X)2

n = sample size

a = Y - bX

X = mean of value X

Y = mean of value y

Bivariate Regression

Page 14: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

y= β0 + β1 + Є

β1 = Sxy /Sxx

β0 = y - β1x

Bivariate Regression

Page 15: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

Strength of Association: R2

Coefficient of Determination, R2: The measure of the strength of the linear relationship between X and Y.

The Regression LinePredicted values for Y, based on calculated values.

Bivariate Regression

Page 16: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

R2 =explained variance

total variance

explained variance =total variance - unexplained variance

R2 =total variance - unexplained variance

total variance

= 1 -unexplained variance

total variance

Bivariate Regression

Page 17: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

R2 = 1 -unexplained variance

total variance

= 1 - (Yi - Yi)2n

I = 1

(Yi - Y)2n

I = 1

Bivariate Regression

Predicted response

Page 18: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

Statistical Significance of Regression Results

Total variation =

Explained variation + Unexplained variation

To become aware of the coefficient of determination, R2.

The total variation is a measure of variation of the observed Y values around their mean.

It measures the variation of the Y values without any consideration of the X values.

Bivariate Regression

Page 19: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

Total variation: Sum of squares (SST)

SST = (Yi - Y)2n

i = 1

Yi 2n

i = 1=

Yi 2n

i = 1

n

Bivariate Regression

Page 20: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

Sum of squares due to regression (SSR)

SSR = (Yi - Y)2n

i = 1

Yi

n

i = 1= a

Yi

n

i = 1

nb Xi Yi

n

i = 1+

2

Bivariate Regression

Page 21: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

Error sums of squares (SSE)

SSE = (Yi - Y)2n

i = 1

Y2i

n

i = 1= a Yi

n

i = 1 b XiYi

n

i = 1

Bivariate Regression

Page 22: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

Hypotheses Concerning the Overall Regression

Null Hypothesis Ho:There is no linear relationship between X and Y.

Alternative Hypothesis Ha:There is a linear relationship between X and Y.

Bivariate Regression

Page 23: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

Hypotheses about the Regression Coefficient

Null Hypothesis Ho:b = 0

Alternative Hypothesis Ha:b 0

The appropriate test is the t-test.

Bivariate Regression

Page 24: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

0 XXiX

(X, Y)

a

Y

Total Variation

Explained variation

Y

Unexplained variation

Measures of Variation in a Regression

Yi =a + bXi

Page 25: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

Correlation for Metric Data - Pearson’s Product Moment Correlation

Correlation analysisAnalysis of the degree to which changes in one variable are associated with changes in another variable.

Pearson’s product moment correlationCorrelation analysis technique for use with metric data

Correlation Analysis

To become aware of the coefficient of determination, R2.

Page 26: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

R = +- R2√

R can be computed directly from the data:

R = n XY - ( X) - ( Y)

[n X2 - ( X) 2] [n Y2 - Y)2]√

To become aware of the coefficient of determination, R2.

Correlation Analysis

Page 27: Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.

SUMMARY

• Bivariate Analysis of Association

• Bivariate Regression

• Correlation Analysis