Copyright © 2012 Pearson Education, Inc. All rights reserved Chapter 12 Multiple Regression and...
-
Upload
barnaby-miller -
Category
Documents
-
view
216 -
download
0
Transcript of Copyright © 2012 Pearson Education, Inc. All rights reserved Chapter 12 Multiple Regression and...
Copyright © 2012 Pearson Education, Inc. All rights reserved
Chapter 12
Multiple Regression and Model Building
12 - 2 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure SIA12.1 Layout of condominium complex
12 - 3 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Table SIA12.1
Copyright © 2012 Pearson Education, Inc. All rights reserved
12.1
Multiple-Regression Models
12 - 5 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 6 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 7 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
Copyright © 2012 Pearson Education, Inc. All rights reserved
Part l
First-Order Models with Quantitative Independent Variables
Copyright © 2012 Pearson Education, Inc. All rights reserved
12.2
Estimating and Making Inferences about the Parameters
12 - 10 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 11 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Table 12.1
12 - 12 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.1 MINITAB side-by-side scatterplots for the data of Table 12.1
12 - 13 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.2 MINITAB analysis of the auction price model
12 - 14 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 15 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.3 MINITAB graph of for1 2( ) 1 2E y x x 2 0,1,2,x
12 - 16 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.4 MINITAB 3-dimensional graph of 1 2( ) 1 2E y x x
12 - 17 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 18 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 19 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 20 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.5 Rejection Region for
0 2 2: 0 . : 0H vs H
Copyright © 2012 Pearson Education, Inc. All rights reserved
12.3
Evaluating Overall Model Utility
12 - 22 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 23 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 24 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.6 SAS analysis of the auction price model
12 - 25 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 26 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 27 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 28 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
Copyright © 2012 Pearson Education, Inc. All rights reserved
12.4
Using the Model for Estimation and Prediction
12 - 30 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.7 MINITAB printout with 95% confidence intervals for grandfather clock model
12 - 31 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure SIA12.2 MINITAB scatterplots for CONDO data
12 - 32 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure SIA12.3 MINITAB regression output for first-order model of condominium unit sale price
12 - 33 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure SIA12.4 MINITAB printout with 95% confidence and prediction intervals
Copyright © 2012 Pearson Education, Inc. All rights reserved
Part ll
Model Building in Multiple Regression
Copyright © 2012 Pearson Education, Inc. All rights reserved
12.5
Interaction Models
12 - 36 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.8 MINITAB graphs of for1 2 1 21 2 3x x x x 2 0,1, 2x
12 - 37 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 38 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.9 MINITAB 3-dimensional graphs of 1 2 1 21 2 3x x x x
12 - 39 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.10 Examples of no-interaction and interaction models
12 - 40 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.11 MINITAB printout of interaction model of auction price
Copyright © 2012 Pearson Education, Inc. All rights reserved
Quadratic and Other Higher Order Models
12.6
12 - 42 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.12 Graphs of two quadratic models
12 - 43 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 44 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Table 12.2
12 - 45 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.13 MINITAB scatterplot for electrical usage data
12 - 46 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.14 SAS regression output for electrical usage model
12 - 47 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.15 MINITAB plot of least squares model for electrical usage
12 - 48 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.16 Potential misuse of quadratic model
12 - 49 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 50 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.17 Graphs for three second-order surfaces
Copyright © 2012 Pearson Education, Inc. All rights reserved
Qualitative (Dummy) Variable Models
12.7
12 - 52 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.18 Bar chart comparing E(y) for males and females
12 - 53 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 54 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 55 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Table 12.3
12 - 56 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.19 MINITAB output for model with dummy variables
Copyright © 2012 Pearson Education, Inc. All rights reserved
Models with Both Quantitative and Qualitative Variables (Optional)
12.8
12 - 58 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.20 Graphs of the relationship between mean sales E(y) and advertising expenditure x
12 - 59 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.21 The relationship between E(y) and x1 is the same for all media
12 - 60 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.22 Parallel response lines for the three media
12 - 61 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.23 Different response lines for the three media
12 - 62 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Table 12.4
12 - 63 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.24 MINITAB printout of the complete model for the casting media
12 - 64 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.25 MINITAB plot of prediction equations for two plants
12 - 65 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.26 The relationship between E(y) and x1 is the same for all media
12 - 66 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.27 The response curves have the same shapes, but different y-intercepts
12 - 67 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.28 The response curves for the three media differ
Copyright © 2012 Pearson Education, Inc. All rights reserved
Comparing Nested Models (Optional)
12.9
12 - 69 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Definition
12 - 70 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 71 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Table 12.5
12 - 72 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.29 SAS printout of complete second-order model for height
12 - 73 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.30 Plot of second-order least squares model for Example 12.12
12 - 74 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.31 SAS printout of first-order model for height
12 - 75 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Definition
12 - 76 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 77 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure SIA12.5 SAS printout of second-order model for condo sale price-quantitative variables only
12 - 78 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure SIA12.6 SAS regression printout for the complete second-order model of condo sale price-qualitative variables added
Copyright © 2012 Pearson Education, Inc. All rights reserved
Stepwise Regression (Optional)
12.10
12 - 80 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Table 12.6
12 - 81 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.32 MINITAB stepwise regression printout for executive salary data
Copyright © 2012 Pearson Education, Inc. All rights reserved
Multiple Regression Diagnostics
Part lll
Copyright © 2012 Pearson Education, Inc. All rights reserved
Residual Analysis: Checking the Regression Assumptions
12.11
12 - 84 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.33 Actual random error and regression residual ̂
12 - 85 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Definition
12 - 86 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 87 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Table 12.7
12 - 88 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.34a MINTAB printout for straight-line model of electrical usage
12 - 89 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.34b MINITAB printout for quadratic model of electrical usage
12 - 90 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.35a MINITAB residual plot for straight-line model of electrical usage
12 - 91 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.35b MINITAB residual plot for quadratic model of electrical usage
12 - 92 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.36 Residual plots showing changes in the variance of
12 - 93 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Table 12.8
12 - 94 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Table 12.8 (cont’d)
12 - 95 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.37 SPSS regression printout for first-order model of salary
12 - 96 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.38 SPSS residual plots for first-order model of salary
12 - 97 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.39 SPSS regression printout for model of log salary
12 - 98 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.40 SPSS residual plots for model of ln(salary)
12 - 99 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Definition
12 - 100 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Table 12.9
12 - 101 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.41 MINITAB regression printout for altered grandfather clock data
12 - 102 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.41 MINITAB regression printout for altered grandfather clock data (cont’d)
12 - 103 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.42 MINITAB residual plot of altered grandfather clock data
12 - 104 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.43 MINITAB regression printout when outlier is deleted
12 - 105 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.44 MINITAB residual plot when outlier is deleted
12 - 106 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.45a MINITAB graphs of regression residuals for grandfather clock model (outlier included)
12 - 107 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.45b MINITAB graphs of regression residuals for grandfather clock model (outlier included) (cont’d)
12 - 108 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.46a MINITAB graphs of regression residuals for grandfather clock model (outlier deleted)
12 - 109 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.46b MINITAB graphs of regression residuals for grandfather clock model (outlier deleted) (cont’d)
12 - 110 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.47 Hypothetical residual plot for time-series data
12 - 111 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 112 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure SIA12.7 MINITAB histogram of residuals from second-order model of condo sale price
12 - 113 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure SIA12.8 MINITAB plot of residuals versus predicted values from second-order model of condo sale price
12 - 114 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure SIA12.9 MINITAB list of outliers for the second-order model of condo sale price
12 - 115 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure SIA12.10 MINITAB printout of second-order model of condo sale price with outliers deleted
Copyright © 2012 Pearson Education, Inc. All rights reserved
Some Pitfalls: Estimability, Multicollinearity, and Extrapolation
12.12
12 - 117 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.48 Yield and fertilizer expenditure data three years
12 - 118 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.49 Only two x values observed: quadratic model is not estimable
12 - 119 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Definition
12 - 120 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 121 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 122 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Table 12.10
12 - 123 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.50 SAS printout for model of CO content, Example 12.18
12 - 124 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Procedure
12 - 125 Copyright © 2013 Pearson Education, Inc.. All rights reserved.
Figure 12.51 Using a regression model outside the experimental region