Professional Documents
Culture Documents
Welcome to Analyze
“X” Sifting
Inferential Statistics
Hypothesis Testing ND P1
Hypothesis Testing ND P2
Equal Variance Tests
Hypothesis Testing NND P1
Tests for Medians
Hypothesis Testing NND P2
LSS Green Belt v11.1 MT - Analyze Phase 2 © Open Source Six Sigma, LLC
Non-Normal Hypothesis Tests
At this point we have covered the tests for determining significance for
Normal Data. We will continue to follow the roadmap to complete the
test for Non-normal Data with Continuous Data.
LSS Green Belt v11.1 MT - Analyze Phase 3 © Open Source Six Sigma, LLC
Non-Normality
We will focus on Skewness for the remaining tests for Continuous Data.
LSS Green Belt v11.1 MT - Analyze Phase 4 © Open Source Six Sigma, LLC
Hypothesis Testing Roadmap
Non Normal
LSS Green Belt v11.1 MT - Analyze Phase 5 © Open Source Six Sigma, LLC
Test of Equal Variance
– Ho: σ1 = σ2 = σ3 …
– Ha: At least one is different.
LSS Green Belt v11.1 MT - Analyze Phase 6 © Open Source Six Sigma, LLC
Follow the Roadmap…
60
50
40
30
20
10
5
0.1
-5.0 -2.5 0.0 2.5 5.0 7.5 10.0
Rot 2
LSS Green Belt v11.1 MT - Analyze Phase 7 © Open Source Six Sigma, LLC
Test of Equal Variance Non-Normal Distribution
1
Factors2
0 2 4 6 8 10
Rot 2
LSS Green Belt v11.1 MT - Analyze Phase 8 © Open Source Six Sigma, LLC
Making Conclusions
When testing >2 samples with Normal Distribution use Bartlett’s test:
– To determine whether multiple Normal Distributions have
Equal Variance.
LSS Green Belt v11.1 MT - Analyze Phase 9 © Open Source Six Sigma, LLC
Exercise
LSS Green Belt v11.1 MT - Analyze Phase 10 © Open Source Six Sigma, LLC
Test for Equal Variance Example: Solution
LSS Green Belt v11.1 MT - Analyze Phase 11 © Open Source Six Sigma, LLC
Test for Equal Variance Example: Solution
LSS Green Belt v11.1 MT - Analyze Phase 12 © Open Source Six Sigma, LLC
Test for Equal Variance Example: Solution
LSS Green Belt v11.1 MT - Analyze Phase 13 © Open Source Six Sigma, LLC
Test for Equal Variance Example: Solution
LSS Green Belt v11.1 MT - Analyze Phase 14 © Open Source Six Sigma, LLC
Test for Equal Variance Example: Solution
LSS Green Belt v11.1 MT - Analyze Phase 15 © Open Source Six Sigma, LLC
Nonparametric Tests
~ ~ ~
Target X X1 X2
LSS Green Belt v11.1 MT - Analyze Phase 16 © Open Source Six Sigma, LLC
Mean and Median
This Graphical Summary provides the confidence interval for the Median.
With Normal Data notice the With skewed data the Mean is
symmetrical shape of the influenced by the Outliers.
distribution and how the Mean and Notice the Median is still
the Median are centered. centered.
Median Median
349.0 349.5 350.0 350.5 351.0 351.5 352.0 3.5 4.0 4.5 5.0 5.5
LSS Green Belt v11.1 MT - Analyze Phase 17 © Open Source Six Sigma, LLC
MINITABTM’s Nonparametrics
1-Sample Sign: performs a one-sample sign test of the Median and calculates
the corresponding point estimate and confidence interval. Use this test as
an alternative to one-sample Z and one-sample t-tests.
1-Sample Wilcoxon: performs a one-sample Wilcoxon signed rank test of the
Median and calculates the corresponding point estimate and confidence
interval (more discriminating or efficient than the sign test). Use this test as
a nonparametric alternative to one-sample Z and one-sample t-tests.
Mann-Whitney: performs a Hypothesis Test of the equality of two population
Medians and calculates the corresponding point estimate and confidence
interval. Use this test as a nonparametric alternative to the two-sample t-
test.
Kruskal-Wallis: performs a Hypothesis Test of the equality of population
Medians for a one-way design. This test is more powerful than Mood’s
Median (the confidence interval is narrower, on average) for analyzing data
from many populations, but is less robust to outliers. Use this test as an
alternative to the one-way ANOVA.
Mood’s Median Test: performs a Hypothesis Test of the equality of population
Medians in a one-way design. Test is similar to the Kruskal-Wallis Test.
Also referred to as the Median test or sign scores test. Use as an alternative
to the one-way ANOVA.
LSS Green Belt v11.1 MT - Analyze Phase 18 © Open Source Six Sigma, LLC
1-Sample Sign Test
n t test
n non-parametric
0.864
LSS Green Belt v11.1 MT - Analyze Phase 19 © Open Source Six Sigma, LLC
1-Sample Example
1. Practical Problem:
Our facility requires a cycle time from an improved process of 63 minutes. This
process supports the customer service division and has become a bottleneck to
completion of order processing. To alleviate the bottleneck the improved process
must perform at least at the expected 63 minutes.
2. Statistical Problem:
Ho: M = 63
Ha: M ≠ 63
4. Sample Size:
This data set has 500 samples (well in excess of necessary sample size).
LSS Green Belt v11.1 MT - Analyze Phase 20 © Open Source Six Sigma, LLC
1-Sample Example
=
Sign Test for Median: Pos Skew
Sign Test of Median = 63.00 versus = 63.00
N Below Equal Above P Median
Pos Skew 500 37 0 463 0.0000 65.70
LSS Green Belt v11.1 MT - Analyze Phase 21 © Open Source Six Sigma, LLC
1-Sample Example
LSS Green Belt v11.1 MT - Analyze Phase 22 © Open Source Six Sigma, LLC
1-Sample Example
LSS Green Belt v11.1 MT - Analyze Phase 23 © Open Source Six Sigma, LLC
1-Sample Example
LSS Green Belt v11.1 MT - Analyze Phase 24 © Open Source Six Sigma, LLC
1 Sample Example: Solution
LSS Green Belt v11.1 MT - Analyze Phase 25 © Open Source Six Sigma, LLC
1 Sample Example: Solution
According to the hypothesis the Mine Manager feels he is achieving his target of
2.1 tons/day.
H0: M = 2.1 tons/day Ha: M ≠ 2.1 tons/day
Since we are using one sample we have a choice of choosing either a 1 Sample-Sign or 1
Sample Wilcoxon. For this example we will use a 1 Sample-Sign.
LSS Green Belt v11.1 MT - Analyze Phase 26 © Open Source Six Sigma, LLC
1 Sample Example: Solution
The Black Belt in this case does not agree; based on this data
the Mine Manager is not achieving his target of 2.1 tons/day.
We disagree!
LSS Green Belt v11.1 MT - Analyze Phase 27 © Open Source Six Sigma, LLC
Mann-Whitney Example
2. Ho: M1 = M2
Ha: M1 ≠ M2
3. There are 200 data points for each machine well over the
minimum number of samples necessary.
LSS Green Belt v11.1 MT - Analyze Phase 28 © Open Source Six Sigma, LLC
Mann-Whitney Example
60 Normal
50
40 99.9
30 Mean 16.73
20 StDev 5.284
99 N 200
10
AD 0.630
5 95 P-Value 0.099
90
1
80
70
Percent
0.1 60
0 10 20 50
30 40
40
Mach A 30
20
10
5
0.1
0 5 10 15 20 25 30 35
Mach B
LSS Green Belt v11.1 MT - Analyze Phase 29 © Open Source Six Sigma, LLC
Mann-Whitney Example
Now you will actually run the Mann-Whitney test and based on the
results end up determining that Medians of the machines are different.
Stat>Nonparametric>Mann-Whitney…
LSS Green Belt v11.1 MT - Analyze Phase 30 © Open Source Six Sigma, LLC
Exercise
LSS Green Belt v11.1 MT - Analyze Phase 31 © Open Source Six Sigma, LLC
Mann-Whitney Example: Solution
Since we know the data for CallperWk1 and CallperWk 2 are Non-normal we can proceed to
performing a Mann-Whitney Test.
Stat>Nonparametrics>Mann-Whitney
LSS Green Belt v11.1 MT - Analyze Phase 32 © Open Source Six Sigma, LLC
Mann-Whitney Example: Solution
LSS Green Belt v11.1 MT - Analyze Phase 33 © Open Source Six Sigma, LLC
Mood’s Median Test
= = ?
LSS Green Belt v11.1 MT - Analyze Phase 34 © Open Source Six Sigma, LLC
Follow the Roadmap…Normality
Median
LSS Green Belt v11.1 MT - Analyze Phase 35 © Open Source Six Sigma, LLC
Follow the Roadmap…Normality
78 84 90 96
M edian
3rd Q uartile
94.800
97.350
Summary for Recovery
M aximum 99.700 Location = Ankhar
95% C onfidence Interv al for M ean A nderson-Darling N ormality Test
89.466 96.617 A -S quared 0.86
95% C onfidence Interv al for M edian P -V alue 0.022
90.637 97.036 M ean 88.302
9 5 % C onfidence Inter vals 95% C onfidence Interv al for S tDev S tDev 6.929
4.243 9.768 V ariance 48.008
Mean
S kew ness -0.105610
Median
Kurtosis 0.182123
N 20
90 92 94 96 98
M inimum 73.500
1st Q uartile 85.150
M edian 88.425
78 84 90 96 3rd Q uartile 89.700
M aximum 99.450
95% C onfidence Interv al for M ean
85.059 91.545
95% C onfidence Interv al for M edian
86.735 89.299
9 5 % C onfidence Inter vals 95% C onfidence Interv al for S tDev
Mean 5.269 10.120
Median
85 86 87 88 89 90 91
LSS Green Belt v11.1 MT - Analyze Phase 36 © Open Source Six Sigma, LLC
Follow the Roadmap…Equal Variance
Bartlett's Test
Test Statistic 1.33
Ankhar P-Value 0.514
Lev ene's Test
Test Statistic 1.02
P-Value 0.367
Location
Bangor
Savannah
3 4 5 6 7 8 9 10 11 12
95% Bonferroni Confidence Intervals for StDevs
LSS Green Belt v11.1 MT - Analyze Phase 37 © Open Source Six Sigma, LLC
Mood’s Median Test
Using the same data set analyze using the Kruskal-Wallis test.
H = 6.86 DF = 2 P = 0.032
H = 6.87 DF = 2 P = 0.032 (adjusted for ties)
LSS Green Belt v11.1 MT - Analyze Phase 39 © Open Source Six Sigma, LLC
Exercise
LSS Green Belt v11.1 MT - Analyze Phase 40 © Open Source Six Sigma, LLC
Cell Phone Defect Rate Example: Solution
Instead of performing
a Normality Test we
can find the P-value
using the Graphical
Summary in
MINITABTM.
LSS Green Belt v11.1 MT - Analyze Phase 41 © Open Source Six Sigma, LLC
Cell Phone Defect Rate Example: Solution
LSS Green Belt v11.1 MT - Analyze Phase 42 © Open Source Six Sigma, LLC
Cell Phone Defect Rate Example: Solution
LSS Green Belt v11.1 MT - Analyze Phase 43 © Open Source Six Sigma, LLC
Unequal Variance
LSS Green Belt v11.1 MT - Analyze Phase 44 © Open Source Six Sigma, LLC
Example
Model A and Model B are similar in nature (not exact) but are
manufactured in the same plant.
Percent
60 60
50 50
40 40
30 30
20 20
10 10
5 5
1 1
8.5 9.0 9.5 10.0 10.5 11.0 11.5 12.0 -5.0 -2.5 0.0 2.5 5.0 7.5 10.0
Model A Model B
LSS Green Belt v11.1 MT - Analyze Phase 45 © Open Source Six Sigma, LLC
Example
Now let’s check for Equal Variances using Levene’s Test but remember
first you will need to stack the data so you can run this test…
idvar
Test Statistic 4.47
P-Value 0.049
Model B
0 1 2 3 4 5 6 7
95% Bonferroni Confidence Intervals for StDevs
Model A
idvar
Model B
0 2 4 6 8 10 12
Data
The P-value is just under the limit of .05. Whenever the result is borderline,
as in this case, use your process knowledge to make a judgment.
LSS Green Belt v11.1 MT - Analyze Phase 46 © Open Source Six Sigma, LLC
Example
Median Median
Model A
Model B
-0.0 1.6 3.2 4.8 6.4 8.0 9.6 11.2
Data
LSS Green Belt v11.1 MT - Analyze Phase 47 © Open Source Six Sigma, LLC
Black Belt Aptitude Exercise
LSS Green Belt v11.1 MT - Analyze Phase 48 © Open Source Six Sigma, LLC
Black Belt Aptitude Exercise: Solution
LSS Green Belt v11.1 MT - Analyze Phase 49 © Open Source Six Sigma, LLC
Black Belt Aptitude Exercise: Solution
LSS Green Belt v11.1 MT - Analyze Phase 50 © Open Source Six Sigma, LLC
Summary
LSS Green Belt v11.1 MT - Analyze Phase 51 © Open Source Six Sigma, LLC
A Simple, Fresh, Clean Approach to Lean Six Sigma
Project Tracking and Program Management.
LSS Green Belt v11.1 MT - Analyze Phase © Open Source Six Sigma, LLC