Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.

Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.

Like this presentation? Why not share!

No Downloads

Total views

1,766

On SlideShare

0

From Embeds

0

Number of Embeds

2

Shares

0

Downloads

85

Comments

0

Likes

3

No embeds

No notes for slide

- 1. Statistics for Management Lesson 6 The Linear Regression Model and Correlation
- 2. Lesson Topics <ul><li>Types of Regression Models </li></ul><ul><li>Determining the Simple Linear Regression Equation </li></ul><ul><li>Measures of Variation in Regression and Correlation </li></ul><ul><li>Estimation of Predicted Values </li></ul><ul><li>The Multiple Regression Model </li></ul>
- 3. 1. Purpose of Regression and Correlation Analysis <ul><li>Regression Analysis is Used Primarily for Prediction </li></ul><ul><li>A statistical model used to predict the values of a dependent or response variable based on values of at least one independent or explanatory variable </li></ul><ul><li>Correlation Analysis is Used to Measure Strength of the Association Between Numerical Variables </li></ul>
- 4. The Scatter Diagram Plot of all ( X i , Y i ) pairs
- 5. Types of Regression Models Positive Linear Relationship Negative Linear Relationship Relationship NOT Linear No Relationship
- 6. 2. Simple Linear Regression Model Y intercept Slope <ul><li>The Straight Line that Best Fit the Data </li></ul><ul><li>Relationship Between Variables Is a Linear Function </li></ul>Random Error Dependent (Response) Variable Independent (Explanatory) Variable
- 7. Population Linear Regression Model i = Random Error Y X Observed Value Observed Value YX i X 0 1 Y X i i i 0 1
- 8. Sample Linear Regression Model Y i = Predicted Value of Y for observation i X i = Value of X for observation i b 0 = Sample Y - intercept used as estimate of the population 0 b 1 = Sample Slope used as estimate of the population 1
- 9. Simple Linear Regression Equation: Example You wish to examine the relationship between the square footage of produce stores and its annual sales. Sample data for 7 stores were obtained. Find the equation of the straight line that fits the data best Annual Store Square Sales Feet ($000) 1 1,726 3,681 2 1,542 3,395 3 2,816 6,653 4 5,555 9,543 5 1,292 3,318 6 2,208 5,563 7 1,313 3,760
- 10. Scatter Diagram Example Excel Output
- 11. Equation for the Best Straight Line From SPSS Printout:
- 12. Graph of the Best Straight Line Y i = 1636.415 +1.487X i
- 13. Interpreting the Results Y i = 1636.415 +1.487X i The slope of 1.487 means for each increase of one unit in X, the Y is estimated to increase 1.487units. For each increase of 1 square foot in the size of the store, the model predicts that the expected annual sales are estimated to increase by $1487 .
- 14. Standard Error of Estimate = The standard deviation of the variation of observations around the regression line
- 15. Inferences about the Slope: t Test <ul><li>t Test for a Population Slope Is a Linear Relationship Between X & Y ? </li></ul><ul><li>Test Statistic: </li></ul>and df = n - 2 <ul><li>Null and Alternative Hypotheses </li></ul><ul><li> H 0 : 1 = 0 (No Linear Relationship) H 1 : 1 0 (Linear Relationship ) </li></ul>Where
- 16. Example: Produce Stores Data for 7 Stores: Regression Model Obtained: The slope of this model is 1.487. Is there a linear relationship between the square footage of a store and its annual sales ? Annual Store Square Sales Feet ($000) 1 1,726 3,681 2 1,542 3,395 3 2,816 6,653 4 5,555 9,543 5 1,292 3,318 6 2,208 5,563 7 1,313 3,760 Y i = 1636.415 +1.487X i
- 17. <ul><li>H 0 : 1 = 0 </li></ul><ul><li>H 1 : 1 0 </li></ul><ul><li> .05 </li></ul><ul><li>df 7 - 2 = 7 </li></ul><ul><li>Critical Value(s): </li></ul>Inferences about the Slope: t Test Example Test Statistic: Decision: Conclusion: There is evidence of a relationship. t 0 2.5706 -2.5706 .025 Reject Reject .025 From Excel Printout Reject H 0
- 18. Inferences about the Slope: Confidence Interval Example Confidence Interval Estimate of the Slope b 1 t n-2 Excel Printout for Produce Stores At 95% level of Confidence The confidence Interval for the slope is (1.062, 1.911). Does not include 0. Conclusion: There is a significant linear relationship between annual sales and the size of the store .
- 19. 3. Measures of Variation: The Sum of Squares <ul><li>SST = Total Sum of Squares </li></ul><ul><ul><li>measures the variation of the Y i values around their mean Y </li></ul></ul><ul><li>SSR = Regression Sum of Squares </li></ul><ul><ul><li>explained variation attributable to the relationship between X and Y </li></ul></ul><ul><li>SSE = Error Sum of Squares </li></ul><ul><ul><li>variation attributable to factors other than the relationship between X and Y </li></ul></ul>_
- 20. Measures of Variation: The Sum of Squares X i Y i = b 0 + b 1 X i Y X Y SST = ( Y i - Y ) 2 SSE = ( Y i - Y i ) 2 SSR = ( Y i - Y ) 2 _ _ _
- 21. Measures of Variation The Sum of Squares: Example SPSS Output for Produce Stores SSR SSE SST
- 22. The Coefficient of Determination SSR regression sum of squares SST total sum of squares r 2 = = Measures the proportion of variation that is explained by the independent variable X in the regression model
- 23. Coefficients of Determination ( r 2 ) and Correlation ( r ) r 2 = 1, r 2 = 1, r 2 = .8, r 2 = 0, Y Y i = b 0 + b 1 X i X ^ Y Y i = b 0 + b 1 X i X ^ Y Y i = b 0 + b 1 X i X ^ Y Y i = b 0 + b 1 X i X ^ r = +1 r = -1 r = +0.9 r = 0
- 24. Correlation: Measuring the Strength of Association <ul><li>Answer ‘ How Strong Is the Linear Relationship Between 2 Variables?’ </li></ul><ul><li>Coefficient of Correlation Used </li></ul><ul><ul><li>Population correlation coefficient denoted (‘Rho’) </li></ul></ul><ul><ul><li>Values range from -1 to +1 </li></ul></ul><ul><ul><li>Measures degree of association </li></ul></ul><ul><li>Is the Square Root of the Coefficient of Determination </li></ul>
- 25. Measures of Variation: Example Excel Output for Produce Stores r 2 = .94 S yx 94% of the variation in annual sales can be explained by the variability in the size of the store as measured by square footage
- 26. 4. Estimation of Predicted Values Confidence Interval Estimate for XY The Mean of Y given a particular X i t value from table with df=n-2 Standard error of the estimate Size of interval vary according to distance away from mean, X.
- 27. Estimation of Predicted Values Confidence Interval Estimate for Individual Response Y i at a Particular X i Addition of this 1 increased width of interval from that for the mean Y
- 28. Interval Estimates for Different Values of X X Y X Confidence Interval for a individual Y i A Given X Confidence Interval for the mean of Y Y i = b 0 + b 1 X i _
- 29. Example: Produce Stores Y i = 1636.415 +1.487X i Data for 7 Stores: Regression Model Obtained: Predict the annual sales for a store with 2000 square feet. Annual Store Square Sales Feet ($000) 1 1,726 3,681 2 1,542 3,395 3 2,816 6,653 4 5,555 9,543 5 1,292 3,318 6 2,208 5,563 7 1,313 3,760
- 30. Estimation of Predicted Values: Example Confidence Interval Estimate for Individual Y Find the 95% confidence interval for the average annual sales for stores of 2,000 square feet Predicted Sales Y i = 1636.415 +1.487X i = 4610.45 ($000) X = 2350.29 S YX = 611.75 t n-2 = t 5 = 2.5706 = 4610.45 980.97 Confidence interval for mean Y
- 31. Estimation of Predicted Values: Example Confidence Interval Estimate for XY Find the 95% confidence interval for annual sales of one particular stores of 2,000 square feet Predicted Sales Y i = 1636.415 +1.487X i = 4610.45 ($000) X = 2350.29 S YX = 611.75 t n-2 = t 5 = 2.5706 = 4610.45 1853.45 Confidence interval for individual Y
- 32. 5. Multipe Regression model <ul><li>The Multiple Regression Model </li></ul><ul><li>Coefficient of Determination </li></ul><ul><li>Model Building </li></ul>
- 33. The Multiple Regression Model Relationship between 1 dependent & 2 or more independent variables is a linear function Population Y-intercept Population slopes Dependent (Response) variable for sample Independent (Explanatory) variables for sample model Random Error
- 34. Sample Multiple Regression Model X 2 X 1 Y e i
- 35. Multiple Regression Model: Example ( 0 F) 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.
- 36. Sample Regression Model: Example Excel Output For each degree increase in temperature, the average amount of heating oil used is decreased by 5.437 gallons, holding insulation constant. For each increase in one inch of insulation, the use of heating oil is decreased by 20.012 gallons, holding temperature constant.
- 37. Using The Model to Make Predictions Estimate the average amount of heating oil used for a home if the average temperature is 30 0 and the insulation is 6 inches. The estimated heating oil used is 278.97 gallons
- 38. Coefficient of Multiple Determination SPSS Output <ul><li>Adjusted r 2 </li></ul><ul><li>reflects the number of explanatory variables and sample size </li></ul><ul><li>is smaller than r 2 </li></ul>
- 39. Testing for Overall Significance <ul><li>Shows if there is a linear relationship between all of the X variables together and Y </li></ul><ul><li>Use F test Statistic </li></ul><ul><li>Hypotheses: </li></ul><ul><ul><li>H 0 : 1 = 2 = … = p = 0 (No linear relationship) </li></ul></ul><ul><ul><li>H 1 : At least one i 0 ( At least one independent variable affects Y) </li></ul></ul>
- 40. Test for Overall Significance Excel Output: Example p = 2, the number of explanatory variables n - 1 MRS MSE p value = F Test Statistic
- 41. <ul><li>H 0 : 1 = 2 = … = p = 0 </li></ul><ul><li>H 1 : At least one I 0 </li></ul><ul><li> = .05 </li></ul><ul><li>df = 2 and 12 </li></ul><ul><li>Critical Value(s): </li></ul>Test for Overall Significance Example Solution F 0 3.89 Test Statistic: Decision: Conclusion: Reject at = 0.05 There is evidence that At least one independent variable affects Y = 0.05 F 168.47 (Excel Output)
- 42. Test for Significance: Individual Variables <ul><li>Shows if there is a linear relationship between the variable X i and Y </li></ul><ul><li>Use t test Statistic </li></ul><ul><li>Hypotheses: </li></ul><ul><ul><li>H 0 : i = 0 (No linear relationship) </li></ul></ul><ul><ul><li>H 1 : i 0 (Linear relationship between X i and Y) </li></ul></ul>
- 43. t Test Statistic Excel Output: Example t Test Statistic for X 1 (Temperature) t Test Statistic for X 2 (Insulation)
- 44. <ul><li>H 0 : 1 = 0 H 1 : 1 0 </li></ul><ul><li>df = 12 Critical Value(s): </li></ul>t Test : Example Solution Test Statistic: Decision: Conclusion: Reject H 0 at = 0.05 There is evidence of a significant effect of temperature on oil consumption. Z 0 2.1788 -2.1788 .025 Reject H 0 Reject H 0 .025 Does temperature have a significant effect on monthly consumption of heating oil? Test at = 0.05. t Test Statistic = -16.1699
- 45. 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 average consumption of oil is reduced by between 4.7 gallons to 6.17 gallons per each increase of 1 0 F.
- 46. Model Building <ul><li>Goal is to Develop Model with Fewest Explanatory Variables </li></ul><ul><ul><li>Easier to interpret </li></ul></ul><ul><ul><li>Lower probability of collinearity </li></ul></ul><ul><li>Stepwise Regression Procedure </li></ul><ul><ul><li>Provide limited evaluation of alternative models </li></ul></ul><ul><li>Best-Subset Approach </li></ul>
- 47. Lesson Summary <ul><li>Described Types of Regression Models </li></ul><ul><li>Determined the Simple Linear Regression Equation </li></ul><ul><li>Provided Measures of Variation in Regression and Correlation </li></ul><ul><li>Provided Estimation of Predicted Values </li></ul><ul><li>Determined the Multiple Regression equation </li></ul>

No public clipboards found for this slide

×
### Save the most important slides with Clipping

Clipping is a handy way to collect and organize the most important slides from a presentation. You can keep your great finds in clipboards organized around topics.

Be the first to comment