Presentation is loading. Please wait.

Presentation is loading. Please wait.

WELCOME TO THE PRESENTATION ON LINEAR REGRESSION ANALYSIS & CORRELATION (BI-VARIATE) ANALYSIS.

Similar presentations


Presentation on theme: "WELCOME TO THE PRESENTATION ON LINEAR REGRESSION ANALYSIS & CORRELATION (BI-VARIATE) ANALYSIS."— Presentation transcript:

1 WELCOME TO THE PRESENTATION ON LINEAR REGRESSION ANALYSIS & CORRELATION (BI-VARIATE) ANALYSIS

2 LINEAR REGRESSION ANALYSIS

3 Linear Regression Linear regression analyzes the cause and effect relationship between two variables, X and Y. When both X and Y are known and want to find the best straight line through the data.

4 Regression or Correlation? When Correlation To measure how well x and y are associated. To Calculate the Pearson (parametric) correlation coefficient if it is assumed that both X and Y are sampled from normally- distributed populations.

5 Regression or Correlation? When Regression When one of the variables (X) is likely to precede or cause the other variable (Y). When we want to identify the nature of relationship.

6 Difference CorrelationRegression It measures the degree of relationship between x and y It measures the nature of relationship between the variables It doesn’t indicate the cause and effect relation between the variables. It indicates the cause and effect relation between the variables. For example- there is a strong correlation between rooster’s crows with the rising of the sun but the rooster does not cause the sun to rise. For example – there is a cause and effect relationship between the sales price and demand. If price decreases demand increases.

7 Uses Forecasting- Sales, Production etc. Effect of one variable to another- Advertisement on sales.

8 Linear Equation Y = a + bX Here, Y = dependent variable a = Y intercept / fixed value b = Slope X = independent variable

9 Linear Regression Equation

10 Linear Regression Least square method This method mathematically determines the best fitting regression line for the observed data.

11 Least square method xy 58 48 912 69 710 56

12 Least Square Method If we take the sum of deviation or absolute deviation, it does not stress the magnitude of the error. So, if we want to penalize the large absolute errors so that we can avoid them, we can accomplish this if we square the individual errors before we add them. Squaring each term accomplishes two goals: It magnifies or penalizes the larger errors. It cancels the effect of the positive and negative values. As we are looking for the estimating line that minimizes the sum of the suares of the errors, this is called least square method.

13 Example The Vice President for research and development of M.M. Ispahani limited, a large tea marketing company, believes that the firm’s annual profits depend on the amount spent on R & D. the new chairman does not agree and has asked for evidence. Here are the data for 6 years. The vice president wants to make a relationship and a prediction of profit for the year 2011 if the R&D expenditure is 9 lakhs. YearR&D expenses (in Lakhs) Annual Profit (in lakhs) 2005220 2006325 2007534 2008430 20091140 2010531

14 Solution YearXYX2X2 XY 2005220440 2006325975 200753425170 200843014120 20091140121440 201053125155 ∑X= 30∑Y= 180∑X 2 = 200∑XY = 1000

15 Solution (Cont…) Now, by putting the value in the equation we find the value of a = 20 and b = 2 so, Y = 20 + 2 X Now, to forecast the profit for year 2010 if the R&D expenditure is 9 lakhs. Y = 20 + 2 (9) = 38 lakhs So, it is expected that about 38 lakh taka of profit will come it the R&D expense is 9 lakh for year 2011.

16 Demonstration

17

18

19

20

21

22 CORRELATION (BI-VARIATE) ANALYSIS

23 Correlation The statistical tool with the help of which relationships between two or more then two variables are studied is called correlation.

24 Correlation Analysis Correlation analysis refers to the techniques used in measuring the closeness of the relationship between the variables. The measure of correlation called the coefficient of correlation A correlation analysis typically involves one dependent variable and one independent variable

25 Scatter Diagram

26 Positive Correlation

27 Negative Correlation

28 Zero Correlation

29 Quantitative Evaluation

30 The correlation coefficient = Value of the dependent variable obtained from respondent i = Average value of the dependent variable = Value of the independent variable obtained from respondent i = Average value of the independent variable

31 When r =The correlation between the two variables is 1.0Perfect.90Very Strong.70-.80Strong.50-.60Moderate.40-lessWeak

32 Problem A toy shop of Gulshan wants to give a new television commercial to promote their product. For this the owner of the shop wants to know how much money parents of Gulshan spent on the toy of their children last month and what is their monthly expenditure. Because he was interested in finding out if a relationship exists between toy purchase (the dependent variable ) and monthly expenditure ( the independent variable ). By analyzing this he wanted to know to give a television advertisement is feasible or not. So, to find the relationship the owner performed a correlation analysis.

33 ParentsExpenditure on toyMonthly expenditure ( Tk.00)( Tk.000) 1820 2922 31225 41526 5718 62030 71023 81627 91829 10 22 11920 123035 131525 14 23 151220 205365 =13.67=24.33

34 i= 1-5.6732.15-4.3318.7524.55 2-4.6721.81-2.335.4310.88 3-1.672.790.670.45-1.12 41.331.771.672.792.22 5-6.6744.49-6.3340.0742.22 66.3340.075.6732.1535.89 7-3.6713.47-1.331.774.88 82.335.432.677.136.22 94.3318.754.6721.8120.22 10-3.6713.474.6721.81-17.14 11-4.6721.81-4.3318.7520.22 1216.33266.6710.67113.85174.24 131.331.770.670.450.89 140.330.11-1.331.77-0.44 15-1.672.79-4.3318.757.23 487.33305.71330.98

35 = + 0.7934

36 Expenditure on toy and Monthly expenditure

37 The relation between toy expenditure and monthly expenditure is positively correlated Correlation between two variables is strong.

38

39

40

41

42 Conclusion In conclusion we can say that correlation analysis attempts to identify patterns of variation common to a dependent variable and an independent variable. When both the dependent and the independent variables are continuous researchers can use correlation analysis to examine the relationship between the variables. This results in an objectively arrived at correlation coefficient, which indicates how strongly the two variables share a common pattern of change and whether the pattern is positive or negative.

43


Download ppt "WELCOME TO THE PRESENTATION ON LINEAR REGRESSION ANALYSIS & CORRELATION (BI-VARIATE) ANALYSIS."

Similar presentations


Ads by Google