Presentation is loading. Please wait.

Presentation is loading. Please wait.

Using the regression equation (17.6). Why regression? 1.Analyze specific relations between Y and X. How is Y related to X? 2.Forecast / Predict the variable.

Similar presentations


Presentation on theme: "Using the regression equation (17.6). Why regression? 1.Analyze specific relations between Y and X. How is Y related to X? 2.Forecast / Predict the variable."— Presentation transcript:

1 Using the regression equation (17.6)

2 Why regression? 1.Analyze specific relations between Y and X. How is Y related to X? 2.Forecast / Predict the variable Y with the help of X.

3 Two kinds of prediction Point predictions Interval predictions –Prediction intervals – predicts y for a given value of x –Confidence intervals – estimates the average y for a given x.

4 Example; fast food company Make a prediction for one restaurant’s selling if it has an advertisment budget of $750.

5

6 The prediction interval

7 Example; fast food company Make a prediction interval with 95% confidence for one restaurant’s selling if it has an advertisment budget of $750.

8 The confidence interval interval for the expected value E[Y|X]

9 Example; fast food company Make a interval with 95% conficence for the mean selling for restaurants having an advertisment budget of $750.

10

11 17.7 Regression Diagnostics - I The three conditions required for the validity of the regression analysis are: –the error variable is normally distributed. –the error variance is constant for all values of x. –The errors are independent of each other. How can we diagnose violations of these conditions?

12 Outliers An outlier is an observation that is unusually small or large. Several possibilities need to be investigated when an outlier is observed: –There was an error in measuring or recording the value. –The point does not belong in the sample. –The observation is valid.

13 Identify outliers from the scatter diagram. It is customary to suspect an observation is an outlier if its |standard residual| > 2

14 Influential observations

15 Testing the coefficient of correlation The coefficient of correlation is used to measure the strength of association between two variables. The coefficient values range between -1 and 1. If r = -1 (negative association) or r = +1 (positive association) every point falls on the regression line. If r = 0 there is no linear pattern. The coefficient can be used to test for linear relationship between two variables.

16 To test the coefficient of correlation for linear relationship between X and Y –X and Y must be observational –X and Y are bivariate normally distributed X Y

17 When no linear relationship exist between the two variables,  = 0. The hypotheses are: H 0 :   0 H 1 :   0 The test statistic is:

18 The statistic is Student t distributed with d.f. = n - 2, provided the variables are bivariate normally distributed.

19 Testing the Coefficient of correlation Foreign Index Funds (Index)Index –A certain investor prefers the investment in an index mutual funds constructed by buying a wide assortment of stocks. –The investor decides to avoid the investment in a Japanese index fund if it is strongly correlated with an American index fund that he owns. –From the data shown in Index should he avoid the investment in the Japanese index fund?

20

21 Solution –Problem objective: Analyze relationship between two interval variables. –The two variables are observational (the return for each fund was not controlled). –We are interested in whether there is a linear relationship between the two variables, thus, we need to test the coefficient of correlation Testing the Coefficient of Correlation

22 The sample coefficient of correlation: r = cov(x,y)/s x s y =.491 (Cov(x,y) =.001279; s x =.0509; s y = 0512) The value of the t statistic is The rejection region: |t| > t  /2,n-2 = t.025,59-2  2.000.

23 Conclusion: There is sufficient evidence at a = 5% to infer that there are linear relationship between the two variables.

24


Download ppt "Using the regression equation (17.6). Why regression? 1.Analyze specific relations between Y and X. How is Y related to X? 2.Forecast / Predict the variable."

Similar presentations


Ads by Google