Presentation is loading. Please wait.

Presentation is loading. Please wait.

Regression Analysis In regression analysis we analyze the relationship between two or more variables. The relationship between two or more variables could.

Similar presentations


Presentation on theme: "Regression Analysis In regression analysis we analyze the relationship between two or more variables. The relationship between two or more variables could."— Presentation transcript:

1 Regression Analysis In regression analysis we analyze the relationship between two or more variables. The relationship between two or more variables could be linear or non linear. This week first talk about the simplest case. Simple Linear Regression : Linear Regression Between Two Variables How we could use available data to investigate such a relationship? How could we use this relationship to forecast future. While our interest it to investigate the relationship between demand (y) and time (x). But the concept is general, for example, advertising could be the independent variable and sales to be the dependent variable.

2 Simple Linear Relationship Linear relationship between two variables is stated as y = b 0 + b 1 x This is the general equation for a line b 0 : Intersection with y axis b 1 : The slope x : The independent variable y : The dependent variable b 1 > 0b 1 < 0b 1 = 0

3 Scatter Diagram

4 Graphical - Judgmental Solution b 1 b0b0 1

5 Graphical - Judgmental Solution

6

7 SSE : Pictorial Representation y 10 - y 10 ^

8 SST : Pictorial Representation y 10 - y yiyi

9 SSE, SST and SSR SST : A measure of how well the observations cluster around y SSE : A measure of how well the observations cluster around ŷ If x did not play any role in vale of y then we should SST = SSE If x plays the full role in vale of y then SSE = 0 SST = SSE + SSR SSR : Sum of the squares due to regression SSR is explained portion of SST SSE is unexplained portion of SST

10 Coefficient of Determination for Goodness of Fit SSE = SST - SSR The largest value for SSE is SSE = SST SSE = SST =======> SSR = 0 SSR/SST = 0 =====> the worst fit SSR/SST = 1 =====> the best fit

11 Coefficient of Determination for Pizza example In the Pizza example, SST = 15730 SSE = 1530 SSR = 15730 - 1530 = 14200 r 2 = SSR/SST : Coefficient of Determination 1  r 2  0 r 2 = 14200/15730 =.9027 In other words, 90% of variations in y can be explained by the regression line.

12 Coefficient of Determination r 2 = SSR/SST = 100/114 =.88 The regression relationship is very strong since 88% of the variation in number of cars sold can be explained by the linear relationship between the number of TV ads and the number of cars sold. Example : Read Auto Sales

13 Correlation Coefficient = Sign of b 1 times Square Root of the Coefficient of Determination) The Correlation Coefficient Correlation coefficient is a measure of the strength of a linear association between two variables. It has a value between -1 and +1 R xy = +1 : two variables are perfectly related through a line with positive slope. R xy = -1 : two variables are perfectly related through a line with negative slope. R xy = 0 : two variables are not linearly related.

14 Coefficient of Determination and Correlation Coefficient are both measures of associations between variables. Correlation Coefficient for linear relationship between two variables. Coefficient of Determination for linear and nonlinear relationships between two and more variables. Correlation Coefficient and Coefficient of Determination


Download ppt "Regression Analysis In regression analysis we analyze the relationship between two or more variables. The relationship between two or more variables could."

Similar presentations


Ads by Google