1 / 25

Multiple Regression Models

Multiple Regression Models. The Multiple Regression Model. The relationship between one dependent & two or more independent variables is a linear function. Population Y-intercept. Population slopes. Random Error. Dependent (Response) variable for sample.

afra
Télécharger la présentation

Multiple Regression Models

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Multiple Regression Models

  2. The Multiple Regression Model The relationship between one dependent & two or more independent variables is a linear function Population Y-intercept Population slopes Random Error Dependent (Response) variable for sample Independent (Explanatory) variables for sample model

  3. Multiple Regression Model: Example Develop a model for estimating heating oil used for a single family home in the month of January based on average temperature and amount of insulation in inches. (0F)

  4. Sample Multiple Regression Model: Example Excel Output For each degree increase in temperature, the estimated average amount of heating oil used is decreased by 5.437 gallons, holding insulation constant. For each increase in one inch of insulation, the estimated average use of heating oil is decreased by 20.012 gallons, holding temperature constant.

  5. Interpretation of Estimated Coefficients • Slope (bi) The average Y changes by bi each time Xiis increased or decreased by 1 unit holding all other variables constant. • For example: If b1 = -2, then fuel oil usage (Y) is expected to decrease by an estimated 2 gallons for each 1 degree increase in temperature (X1) given the inches of insulation (X2).

  6. Interpretation of Estimated Coefficients • Intercept (b0) • The intercept (b0) is the estimated average value of Y when all Xi = 0.

  7. Using The Model to Make Predictions Predict the amount of heating oil used for a home if the average temperature is 300 and the insulation is 6 inches. The predicted heating oil used is 278.97 gallons

  8. Developing the Model Checking for problems. Being sure the model passes all tests for model quality.

  9. Identifying Problems • Do all the residual tests listed for simple regression. • Check for multicolinearity.

  10. Multicolinearity • This occurs when there is a high correlation between the explanatory variables. • This leads to unstable coefficients . • The VIF used to measure colinearity (values exceeding 5 are not good and exceeding 10 are a big problem): = Coefficient of Multiple Determination of Xj with all the others

  11. Is the fit to the data good?

  12. Coefficient of Multiple Determination Excel Output r2 Adjusted r2 The r2 is adjusted downward to reflect small sample sizes.

  13. Do the variables collectively pass the test?

  14. Testing for Overall Significance • Shows if there is a linear relationship between all of the X variables taken together and Y • Hypothesis: • H0: 1 = 2 = … = p = 0 (No linear relationships) • H1: At least one i 0 (At least one independent variable effects Y)

  15. Test for Overall SignificanceExcel Output: Example p value p = 2, the number of explanatory variables n - 1 MSR = F Test Statistic MSE

  16. Test for Overall Significance Test Statistic: Decision: Conclusion: • H0: 1 = 2 = … = p = 0 • H1: At least one I 0 •  = .05 • df = 2 and 12 • Critical value(s):  F 168.47 (Excel Output) Reject at  = 0.05 There is evidence that at least one independent variable affects Y.  = 0.05 F 0 3.89

  17. Test for Significance:Individual Variables • Shows if there is a linear relationship between each variable Xi and Y. • Hypotheses: • H0: i = 0 (No linear relationship) • H1: i 0 (Linear relationship between Xi and Y)

  18. T Test StatisticExcel Output: Example t Test Statistic for X1 (Temperature) t Test Statistic for X2 (Insulation)

  19. t Test : Example Solution Does temperature have a significant effect on monthly consumption of heating oil? Test at  = 0.05. • H0: 1 = 0 h1: 1 0 • df = n-2 = 12 critical value(s): Test Statistic: Decision: Conclusion: t Test Statistic = -16.1699 Reject H0 at  = 0.05 Reject H Reject H 0 0 There is evidence of a significant effect of temperature on oil consumption. .025 .025 t 0 2.1788 -2.1788

  20. Confidence Interval Estimate For The Slope Provide the 95% confidence interval for the population slope 1 (the effect of temperature on oil consumption). -6.1691-4.704 The estimated average consumption of oil is reduced by between 4.7 gallons to 6.17 gallons per each increase of 10 F.

  21. Special Regression Topics

  22. Dummy-variable Models • Create a categorical variable (dummy variable) with 2 levels: • For example, yes and no or male and female. • The date is coded as 0 or 1. • The coding makes the intercepts different. • This analysis assumes equal slopes. • The regression model has same form:

  23. Dummy-variable Models Assumption Given: Y = Assessed Value of House X1 = Square footage of House X2 = Desirability of Neighborhood = Desirable (X2 = 1) Undesirable (X2 = 0) 0 if undesirable 1 if desirable Same slopes

  24. Dummy-variable Models Assumption Y (Assessed Value) Same slopes Desirable Location b0 + b2 Undesirable Intercepts different b0 X1(Square footage)

  25. Interpretation of the Dummy Variable Coefficient For example: : Annual salary of college graduate in thousand $ 0 Female : : GPA 1 Male This 6 is interpreted as given the same GPA, the male college graduate is making an estimated 6 thousand dollars more than female on average.

More Related