Part 2
Analyze:
1. Choose one continuously variable factor to experiment with. For example, you might choose “length of airplane” as a factor to experiment with. I will use this example factor in the remaining description, but you simply substitute the experimental factor that you choose. Collect data for flight times versus airplane length. Create a scatter plot (X-Y plot) to visually detect if there is a relationship between length of plan and time of flight. In Minitab you can create this scatter plot as follows: Graph>scatter plot>simple>ok> click on time of flight as the Y variable and length of plane as the X variable > click on the column with your time of flight data as the Y variable and the column with the length of plan as the X variable.
Click ok and you will get a plot that looks like this:
You can visually assess if there is a relationship. In this example, it appears that shorter planes fly longer.
2. You can fit a regression line by choosing the option “with regression” instead of “simple”.
In order to determine if the apparent regression relationship is statistically significant, you need to run a regression analysis as follows: Stat>Regression>Fitted line plot> click on the column with your time of flight data as the Response (Y) variable and the column with the length of plan as the Predictor (X) variable. You will get the scatter plot with the regression line as follows:
You also need to go to the session window to check the p-value:
In this example the p-value is 0.007. For regression analysis, the p-value determines the significance of the regression relationship. If the p-value is 0.05 or less, then you conclude that the relationship is significant and is not simply a coincidence. If the p-value is greater than 0.05, then you conclude that whatever relationship that may seem apparent in the scatter plot might well be simply a coincidence and that the relationship is not statistically significant.
In Excel, you can create a scatter chart by highlighting the two columns of data and then clicking insert>scatter chart. If you then click on the data dots, you can right click and add trendline, which will be the regression line (usually linear).
To get the regression analysis, you click data>data analysis>regression> highlighting the Time flight data for Y and the length of plane data for X. The results will be as follows:
The p-value is the Significance F value.
Improve:
Based your Analyze phase work, choose and implement an improvement to your airplane. Fly the improved plane ten times. Compare the improved plane results with the baseline results determined in the Define phase. Is the improved phase average flight time longer than the baseline average flight time? This can be statistically assessed with a two sample t-test. In Minitab: Stat>basic stat> 2-sample t>click samples in different columns>put baseline data in first cell and new data in second cell>click ok. You get something like the following in the session window:
Two-Sample T-Test and CI: time of flight, new
Two-sample T for time of flight vs new
N Mean StDev SE Mean
time of flight 5 7.30 1.72 0.77
new 5 10.20 1.30 0.58
Difference = mu (time of flight) - mu (new)
Estimate for difference: -2.900
95% CI for difference: (-5.180, -0.620)
T-Test of difference = 0 (vs not =): T-Value = -3.01 P-Value = 0.020 DF = 7
The p-value determines the significance of the difference in mean values. If the p-value is 0.05 or less, then you conclude that the difference in means is significant and is not simply a coincidence. If the p-value is greater than 0.05, then you conclude the observed difference in means may simply be a coincidence and that there may be no real long term difference.
In Excel: Data>data analysis>t-test: two sample assuming unequal variances>ok. Highlight the baseline and new data respectively and entering the number 0 into the cell designated “hypothesized mean difference”, click ok. You get the following where the p-value is for two-tail:
Control:
Using your fictional fare, determine how much increased revenue can be associated with your improved plane.
SUMMARY OUTPUT
Regression Statistics
Multiple R0.966603
R Square0.934322
Adjusted R Square0.912429
Standard Error0.508265
Observations5
ANOVA
dfSSMSFSignificance F
Regression111.02511.02542.677420.007289548
Residual30.7750.258333
Total411.8
CoefficientsStandard Errort StatP-valueLower 95%Upper 95%Lower 95.0%Upper 95.0%
Intercept16.751.46429711.438930.00143412.0899523821.4100512.0899521.41005
length of plane-1.050.160728-6.53280.00729-1.561506679-0.53849-1.56151-0.53849
t-Test: Two-Sample Assuming Unequal Variances
time of flightnew
Mean7.310.2
Variance2.951.7
Observations55
Hypothesized Mean Difference0
df7
t Stat-3.007159915
P(T<=t) one-tail0.009870615
t Critical one-tail1.894578605
P(T<=t) two-tail0.01974123
t Critical two-tail2.364624252
1110987
9
8
7
6
5
length of plane
t
i
m
e
o
f
f
l
i
g
h
t
Scatterplot of time of flight vs length of plane
1110987
10
9
8
7
6
5
length of plane
t
i
m
e
o
f
f
l
i
g
h
t
Scatterplot of time of flight vs length of plane
1110987
10
9
8
7
6
5
length of plane
t
i
m
e
o
f
f
l
i
g
h
t
S0.508265
R-Sq93.4%
R-Sq(adj)91.2%
Fitted Line Plot
time of flight = 16.75 - 1.050 length of plane