Six Sigma Case Studies With Minitab® - Six-Sigma-Case-Studies-With-Minitab - Compress (01-14)
Six Sigma Case Studies With Minitab® - Six-Sigma-Case-Studies-With-Minitab - Compress (01-14)
P
log(odds of satisfying a customer) = log = β 0 + β1 X 1 + β 2 X 2 +
1 − P
105
106 Six Sigma Case Studies with Minitab®
FIGURE 7.1
Data collected to measure customer satisfaction.
FIGURE 7.2
Selection of “Binary Logistic Regression”.
FIGURE 7.3
Selection of variables for binary logistic regression model.
108 Six Sigma Case Studies with Minitab®
FIGURE 7.4
Selection of “Logit”.
Ensure that “Logit” is selected under “Link Functions” and click on “OK”.
This takes you back to the dialog box shown in Figure 7.3. Click on “OK” and
the output shown in Figure 7.5 is the result. Inasmuch as the P-value (0.673)
for “Free Rell” is not less than 0.05, it is clear that changing “Free Rell”
from “No” to “Yes” has no signicant impact on “Satised”. Hence, remove
“Free Rell” from the model and repeat the analysis as shown in Figures 7.6
and 7.7. The revised output is shown in Figure 7.8. The P-value (0.043) for
“Variety of Drinks” and the P-value (0.023) for “Number of Waiters” are
less than 0.05, therefore both of these factors have a signicant impact on
“Satised”. Because the coefcient (0.409216) for “Variety of Drinks” is posi-
tive, an increase in “Variety of Drinks” increases the probability of customer
satisfaction. If “Number of Waiters” is constant, an increase of “Variety of
Drinks” by 1 will increase the odds of a customer being satised by 1.51.
(See the “Odds Ratio” column in Figure 7.8.) Because the coefcient (0.140952)
for “Number of Waiters” is positive, an increase in “Number of Waiters”
increases the probability of customer satisfaction. If “Variety of Drinks” is
constant, an increase of “Number of Waiters” by 1 will increase the odds of a
customer being satised by 1.15. (See the “Odds Ratio” column in Figure 7.8.)
The log-likelihood P-value (0.007) is less than 0.05, therefore not all coef-
cients in the binary logistics regression model are zero. Also, because the
Binary Logistic Regression to Predict Customer Satisfaction at a Restaurant 109
Response Information
Odds 95% CI
Predictor Coef SE Coef Z P Ratio Lower Upper
Constant -5.33438 1.52679 -3.49 0.000
Variety of Drinks 0.408963 0.202161 2.02 0.043 1.51 1.01 2.24
Number of Waiters 0.141972 0.0620037 2.29 0.022 1.15 1.02 1.30
Free Refill
Yes -0.216707 0.513409 -0.42 0.673 0.81 0.29 2.20
Log-Likelihood = -47.080
Test that all slopes are zero: G = 10.216, DF = 3, P-Value = 0.017
Goodness-of-Fit Tests
Method Chi-Square DF P
Pearson 2.09787 6 0.910
Deviance 2.59536 6 0.858
Hosmer-Lemeshow 1.87598 7 0.966
FIGURE 7.5
Output of binary logistic regression.
FIGURE 7.6
Repeat of analysis.
110 Six Sigma Case Studies with Minitab®
FIGURE 7.7
Removal of “Free Rell” from the model.
Response Information
Odds 95% CI
Predictor Coef SE Coef Z P Ratio Lower Upper
Constant -5.42252 1.51334 -3.58 0.000
Variety of Drinks 0.409216 0.201962 2.03 0.043 1.51 1.01 2.24
Number of Waiters 0.140952 0.0618736 2.28 0.023 1.15 1.02 1.30
Log-Likelihood = -47.170
Test that all slopes are zero: G = 10.037, DF = 2, P-Value = 0.007
Goodness-of-Fit Tests
Method Chi-Square DF P
Pearson 0.145305 2 0.930
Deviance 0.143553 2 0.931
Hosmer-Lemeshow 0.145305 3 0.986
FIGURE 7.8
Revised output of binary logistic regression.
Binary Logistic Regression to Predict Customer Satisfaction at a Restaurant 111
FIGURE 7.9
Creation of new columns, “Variety 2” and “Waiters 2”.
P-value of each of the three goodness-of-t tests is not less than 0.05, the
binary logistics regression model is a good t to the data collected.
The probability of customer satisfaction can be predicted as follows, with
the equation:
FIGURE 7.10
Selection of “Make Mesh Data”.
FIGURE 7.11
Entry of positions for mesh data.
Binary Logistic Regression to Predict Customer Satisfaction at a Restaurant 113
FIGURE 7.12
Meshed data.
FIGURE 7.13
Selection of “Calculator”.
114 Six Sigma Case Studies with Minitab®
FIGURE 7.14
Selection of “Exponential”.
Doing so opens the dialog box shown in Figure 7.14. Select “Prob Satised”
for “Store result in variable”, select “Logarithm” from the drop-down menu
for “Functions”, and then double-click on the “Exponential” option. This
creates the “EXP” function in the “Expression” box. Type the formula as
shown in Figure 7.15. Click on “OK” and the probabilities are calculated as
shown in Figure 7.16.
In order to graph a scatterplot of the probabilities, select “Scatterplot” as
shown in Figure 7.17. Doing so opens the dialog box shown in Figure 7.18.
Select “With Connect and Groups” and click on “OK”. This opens the dia-
log box shown in Figure 7.19. Select “Prob Satised” for “Y variables” and
“Variety 2” for “X variables”. Then, select “Waiters 2” for “Categorical
variables for grouping (0-3)” and click on “OK”. The scatterplot shown in
Figure 7.20 is the result. As is evident, the probability of customer satisfaction
increases with an increase in the number of waiters and with an increase in
the number of different drinks on the menu.
Binary Logistic Regression to Predict Customer Satisfaction at a Restaurant 115
FIGURE 7.15
Entry of formula for probability of customer satisfaction.
FIGURE 7.16
Probabilities of customer satisfaction.
116 Six Sigma Case Studies with Minitab®
FIGURE 7.17
Selection of “Scatterplot”.
FIGURE 7.18
Selection of “With Connect and Groups”.
Binary Logistic Regression to Predict Customer Satisfaction at a Restaurant 117
FIGURE 7.19
Selection of variables for scatterplot.
0.3
0.2
0.1
0.0
3.0 3.5 4.0 4.5 5.0 5.5 6.0
Variety 2
FIGURE 7.20
Scatterplot.
118 Six Sigma Case Studies with Minitab®