SlideShare une entreprise Scribd logo
1  sur  17
Analyze ImproveDefine Measure Control
LEAN
SIX SIGMA
Chi-Square
Analysis
Chi-Square Training for Attribute Data
Bonacorsi Consulting 2
Lean
Six Sigma
What Is A Chi-Square Test?
What is a Chi-Square?
The probability density curve of a chi-square distribution is
asymmetric curve stretching over the positive side of the line
and having a long right tail.
The form of the curve depends on the value of the degrees of
freedom.
Bonacorsi Consulting 3
Lean
Six Sigma
Types of Chi-Square Tests?
Types of Chi-Square Analysis:
Chi-square Test for Association is a (non-parametric, therefore can be used
for nominal data) test of statistical significance widely used bivariate tabular
association analysis.
 Typically, the hypothesis is whether or not two different populations are
different enough in some characteristic or aspect of their behavior
based on two random samples.
 This test procedure is also known as the Pearson chi-square test.
Chi-square Goodness-of-fit Test is used to test if an observed distribution
conforms to any particular distribution. Calculation of this goodness of fit test
is by comparison of observed data with data expected based on the particular
distribution.
Bonacorsi Consulting 4
Lean
Six Sigma
The Basics
When to apply a Chi-Squared Test:
 Chi-Squared test is used to determine if there is a statistically
significant difference in the proportions for different groups. To
accomplish this, it breaks all outcomes into groups.
What the Chi-Squared Test does:
 It starts by determining how many defects, for example, would be
“expected” in each group involved.
 It does this by assuming that all groups have the same defect rate
(which Minitab approximates from the data provided).
 Minitab then compares the expected counts with what was actually
observed.
 If the numbers are different by a large enough amount, Chi-Square
determines that the groups do not have the same proportion.
Bonacorsi Consulting 5
Lean
Six Sigma
The Basics (Cont.)
Chi-Square Requirements:
 Data is typically attribute (discrete). At the very least, all data must
be able to be categorized as being in some category or another).
 Expected cell counts should not be low (definitely not less than 1
and preferable not less than 5) as this could lead to a false positive
indication that there is a difference when, in fact, none exists.
Chi-Square Hypotheses:
 Ho: The null hypotheses (P-Value > 0.05) means the populations
have the same proportions.
 Ha: The alternate hypotheses (P-Value <= 0.05) means the
populations do NOT have the same proportions.
Bonacorsi Consulting 6
Lean
Six Sigma
Using Minitab – Step 1
Enter
Category
Names
Enter the Defect
Qty for the Data
Collection Period
Enter the Success
Qty for the Data
Collection Period
Step 1: Enter
data into Minitab
Bonacorsi Consulting 7
Lean
Six Sigma
Using Minitab – Step 2
Step 2: Choose Stat, then
Tables, then Chi-Squared
Test (Two-Way Table in
Worksheet…)
Bonacorsi Consulting 8
Lean
Six Sigma
Using Minitab – Step 3
Step 3: Enter the subgroup data to compare
Determine the
subgroups you want
to compare for
variation.
In this example we
examine the
variation between
success (C2) &
Defect (C3) for each
Engineering
Change Proposal
(ECP)
Enter category
names you want
to compare
Click help for
Minitab help on
Chi-Square
Choose Ok
to run Chi-
Squared Test
Enter category
names you want
to compare
Bonacorsi Consulting 9
Lean
Six Sigma
The Session Window Results
Observed
counts
Expected
counts
Sum of each
category (Machine)
Sum of all
observed
counts
Degree of
Freedom
(df = n-1)
The Chi-Square test
calculates using the
formula
(40 - 45.87)2
/
45.87 = 0.752
Since the P-Value is <= 0.05, there is a
95% chance that there IS a statistically
significant difference, in other words the
groups (Machines) involved do NOT have
the same defect rate.
Machine #5
Bonacorsi Consulting 10
Lean
Six Sigma
Chi-Square Statistic
The series of numbers are
added together for the overall
chi-square statistic. When the
value of the Chi-square statistic
is high enough, the differences
between the groups are
concluded to be too large to be
mere chance and the groups are
determined to be truly different.
The series of numbers are
added together for the overall
chi-square statistic. When the
value of the Chi-square statistic
is high enough, the differences
between the groups are
concluded to be too large to be
mere chance and the groups are
determined to be truly different.
Bonacorsi Consulting 11
Lean
Six Sigma
Errors in the Chi-Square
Note: if the expected cell counts are below 5, Minitab will print a warning.
The warning is generated because of the fact that with the expected count
in the denominator, a small value potentially creates an artificially large chi-
square statistic. This is particularly troublesome if more than 20% of the
cells have expected counts less than 5 and the contribution to the overall
chi-square statistic is considerable.
Additionally, if any of the expected cell counts are below 1, Minitab will not
even produce a p-value since the chi-square statistic is sure to be artificially
inflated. In either of these cases, the binomial distribution (Minitab: Stat/
ANOVA/ Analysis of Means) may be able to be used.
Lastly: Attribute Gage R&R (AR&R) or Kappa Test is needed with an
acceptable level of measurement system error prior to running a Chi-Square
Analysis
Bonacorsi Consulting 12
Lean
Six Sigma
Lets See How You Do
Example test questions for Analyze
1. Consider a certain operation which produced 100 documents on line 1, 200
documents on line 2, and 300 documents on line 3. Additionally, it is known
that group 1 produced 17 defective documents, group 2 produced 8 defective
documents, and group 3 produced 11 defective documents. If a chi-square
test were done on this data, what would be the expected number of defects
seen by group 3 if the null hypothesis were completely true?
a) 24
b) 18
c) 12
d) 6 
2. Using the same data set, is this data statistically significant? Yes or No
Enter data in to Minitab like this:
Group Defective Acceptable
(group 1) 17 83
(group 2) 8 192
(group 3) 11 289
Note: Answers are located in the note section of this
slide
Bonacorsi Consulting 13
Lean
Six Sigma
Tips and Tricks
Tips:
 Determine the subgroups and categories to be tested for variation
(differences in proportions) as part of your data collection plan.
 Define the operational definitions for success/defect, the stratifications layers
(subgroups) and the Cause & Effect diagram (fishbone) to pre-determine where
the team believes differences in proportions may exist.
 Continuous (Variable) data can usually be converted into Discrete (Attribute) data
by using categories (Example: cycle time (continuous 1 hr, 1.5 hr, 2 hr) can be
categorized into Cycle Time Met = 1 where success is cycle time <= 8 hrs or
Cycle Time Not Met = 0 where a defect is cycle time > 8 hrs.)
Tricks
 An (MSA) Attribute R&R (Kappa Analysis) for discrete data or Gage R&R for
continuous (variable) data is used prior to calculating the Chi-Square Test to
ensure that the measurement variation < 10% Contribution. If the measurement
variation is > 10% then the variation you will see in the Chi-Square Test is not
valid as too much of the variation seen is coming from your measurement system
(10% MSA error) and not your process variation.
Analyze ImproveDefine Measure Control
LEAN
SIX SIGMA
Chi-Square
Analysis
Appendix A
Backup Slides
Bonacorsi Consulting 15
Lean
Six Sigma
Chi-Square (X2) Distribution
Row for 95% confidence
Degree of Freedom
(df) = n-1
Machine example
for Success or
Defect per Month
where we had n =
10 (Machines)
Df = 10 – 1 = 9.
Machine Example Summary
Chi-Sq = 0.752 + 0.637 +
0.814 + 0.689 +
2.393 + 2.028 +
1.391 + 1.179 +
1.471 + 1.247 +
0.255 + 0.217 +
0.376 + 0.319 +
1.492 + 1.264 +
0.312 + 0.264 +
0.752 + 0.637 = 18.489
DF = 9, P-Value = 0.030
The sum of the
Chi-Squared Test
(18.489 would
need to be > 16.92
where df = 9
To be 95% confident
of a difference, the
P-Value <= 0.05
Chi Squared Distribution table is used by Minitab to calculate the P-Value using the Degree of
Freedom (df) and the variation between each category’s data sets being compared for differences.
The sum of the
Chi-Squared Test
(18.489 would need
to be > 16.92 where
df = 9) for Ho
Degree of Freedom
(df) = n-1
Bonacorsi Consulting 16
Lean
Six Sigma
Chi-Square (for Two-Way)
* For expected frequencies less than 5 the calculated chi-square value changes dramatically
as fe changes. Therefore the calculated value becomes less reliable and should be
interpreted cautiously.
Ho: Independent (There is no relationship between the populations)
Ha: Dependent (There is a relationship between the populations)
Rejection Criteria:
Fail to reject Ho when p ≥ 0.05; Accept Ha when p < 0.05
Compare a calculated value to a critical values from a χ2
table.
Rejection Criteria:
Fail to reject Ho when p ≥ 0.05; Accept Ha when p < 0.05
Compare a calculated value to a critical values from a χ2
table.
Chi-Square equation for two-way
tables:
Where:
f0 = observed frequency
fe = expected frequency
r = number of rows
c = number of columns
g = number of groups = r * c
degrees of freedom = (r-1) * (c-1)
All fe’s should be > 5 *
e
χ =
(f
e
j = 1
g 2
f
o f )
Σ2
Bonacorsi Consulting 17
Lean
Six Sigma
Bonacorsi Consulting
Steven Bonacorsi, President
Lean Six Sigma Master Black Belt
14 Clinton Street
Salem NH 03079
sbonacorsi@comcast.net
603-401-7047

Contenu connexe

Tendances

T12 non-parametric tests
T12 non-parametric testsT12 non-parametric tests
T12 non-parametric tests
kompellark
 
Review Z Test Ci 1
Review Z Test Ci 1Review Z Test Ci 1
Review Z Test Ci 1
shoffma5
 
Why we run cronbach’s alpha
Why we run cronbach’s alphaWhy we run cronbach’s alpha
Why we run cronbach’s alpha
Aiden Yeh
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
saba khan
 

Tendances (20)

T12 non-parametric tests
T12 non-parametric testsT12 non-parametric tests
T12 non-parametric tests
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
Review Z Test Ci 1
Review Z Test Ci 1Review Z Test Ci 1
Review Z Test Ci 1
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
Checklist
ChecklistChecklist
Checklist
 
Linear regression without tears
Linear regression without tearsLinear regression without tears
Linear regression without tears
 
Chi square test
Chi square testChi square test
Chi square test
 
Estimation Of The Box Cox Transformation Parameter And Application To Hydrolo...
Estimation Of The Box Cox Transformation Parameter And Application To Hydrolo...Estimation Of The Box Cox Transformation Parameter And Application To Hydrolo...
Estimation Of The Box Cox Transformation Parameter And Application To Hydrolo...
 
Presentation On Regression
Presentation On RegressionPresentation On Regression
Presentation On Regression
 
Regression Analysis - Thiyagu
Regression Analysis - ThiyaguRegression Analysis - Thiyagu
Regression Analysis - Thiyagu
 
Reporting Chi Square Test of Independence in APA
Reporting Chi Square Test of Independence in APAReporting Chi Square Test of Independence in APA
Reporting Chi Square Test of Independence in APA
 
Kappa
KappaKappa
Kappa
 
Why we run cronbach’s alpha
Why we run cronbach’s alphaWhy we run cronbach’s alpha
Why we run cronbach’s alpha
 
Generalized Nonlinear Models in R
Generalized Nonlinear Models in RGeneralized Nonlinear Models in R
Generalized Nonlinear Models in R
 
F test
F testF test
F test
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Statistical inference: Estimation
Statistical inference: EstimationStatistical inference: Estimation
Statistical inference: Estimation
 
Chi – square test
Chi – square testChi – square test
Chi – square test
 
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
 
t distribution, paired and unpaired t-test
t distribution, paired and unpaired t-testt distribution, paired and unpaired t-test
t distribution, paired and unpaired t-test
 

En vedette (7)

Chi Square
Chi SquareChi Square
Chi Square
 
Lecture 02 Traffic Flow Characteristics (Traffic Engineering هندسة المرور & D...
Lecture 02 Traffic Flow Characteristics (Traffic Engineering هندسة المرور & D...Lecture 02 Traffic Flow Characteristics (Traffic Engineering هندسة المرور & D...
Lecture 02 Traffic Flow Characteristics (Traffic Engineering هندسة المرور & D...
 
Chi square test final
Chi square test finalChi square test final
Chi square test final
 
Chi Square Worked Example
Chi Square Worked ExampleChi Square Worked Example
Chi Square Worked Example
 
Chi square test
Chi square testChi square test
Chi square test
 
Reliability engineering ppt-Internship
Reliability engineering ppt-InternshipReliability engineering ppt-Internship
Reliability engineering ppt-Internship
 
Chi square test
Chi square testChi square test
Chi square test
 

Similaire à Chi square analysis-for_attribute_data_(01-14-06)

A05 Continuous One Variable Stat Tests
A05 Continuous One Variable Stat TestsA05 Continuous One Variable Stat Tests
A05 Continuous One Variable Stat Tests
Leanleaders.org
 
A05 Continuous One Variable Stat Tests
A05 Continuous One Variable Stat TestsA05 Continuous One Variable Stat Tests
A05 Continuous One Variable Stat Tests
Leanleaders.org
 
Experimental designs and data analysis in the field of Agronomy science by ma...
Experimental designs and data analysis in the field of Agronomy science by ma...Experimental designs and data analysis in the field of Agronomy science by ma...
Experimental designs and data analysis in the field of Agronomy science by ma...
Manoj Sharma
 

Similaire à Chi square analysis-for_attribute_data_(01-14-06) (20)

Elementary Data Analysis with MS Excel_Day-5
Elementary Data Analysis with MS Excel_Day-5Elementary Data Analysis with MS Excel_Day-5
Elementary Data Analysis with MS Excel_Day-5
 
Data analysis.pptx
Data analysis.pptxData analysis.pptx
Data analysis.pptx
 
Evaluation and optimization of variables using response surface methodology
Evaluation and optimization of variables using response surface methodologyEvaluation and optimization of variables using response surface methodology
Evaluation and optimization of variables using response surface methodology
 
PRM project report
PRM project reportPRM project report
PRM project report
 
A05 Continuous One Variable Stat Tests
A05 Continuous One Variable Stat TestsA05 Continuous One Variable Stat Tests
A05 Continuous One Variable Stat Tests
 
A05 Continuous One Variable Stat Tests
A05 Continuous One Variable Stat TestsA05 Continuous One Variable Stat Tests
A05 Continuous One Variable Stat Tests
 
SPSS statistics - get help using SPSS
SPSS statistics - get help using SPSSSPSS statistics - get help using SPSS
SPSS statistics - get help using SPSS
 
Statistical Analysis
Statistical AnalysisStatistical Analysis
Statistical Analysis
 
WEKA: Credibility Evaluating Whats Been Learned
WEKA: Credibility Evaluating Whats Been LearnedWEKA: Credibility Evaluating Whats Been Learned
WEKA: Credibility Evaluating Whats Been Learned
 
WEKA:Credibility Evaluating Whats Been Learned
WEKA:Credibility Evaluating Whats Been LearnedWEKA:Credibility Evaluating Whats Been Learned
WEKA:Credibility Evaluating Whats Been Learned
 
Introduction To Data Science Using R
Introduction To Data Science Using RIntroduction To Data Science Using R
Introduction To Data Science Using R
 
Intro to data science
Intro to data scienceIntro to data science
Intro to data science
 
Chi Square Goodness of fit test 2021 (2).pptx
Chi Square Goodness of fit test 2021 (2).pptxChi Square Goodness of fit test 2021 (2).pptx
Chi Square Goodness of fit test 2021 (2).pptx
 
Vital QMS Process Validation Statistics - OMTEC 2018
Vital QMS Process Validation Statistics - OMTEC 2018Vital QMS Process Validation Statistics - OMTEC 2018
Vital QMS Process Validation Statistics - OMTEC 2018
 
tps5e_Ch11_1.ppt
tps5e_Ch11_1.ppttps5e_Ch11_1.ppt
tps5e_Ch11_1.ppt
 
What So Funny About Proportion Testv3
What So Funny About Proportion Testv3What So Funny About Proportion Testv3
What So Funny About Proportion Testv3
 
Assessing Model Performance - Beginner's Guide
Assessing Model Performance - Beginner's GuideAssessing Model Performance - Beginner's Guide
Assessing Model Performance - Beginner's Guide
 
Top 100+ Google Data Science Interview Questions.pdf
Top 100+ Google Data Science Interview Questions.pdfTop 100+ Google Data Science Interview Questions.pdf
Top 100+ Google Data Science Interview Questions.pdf
 
Building the Professional of 2020: An Approach to Business Change Process Int...
Building the Professional of 2020: An Approach to Business Change Process Int...Building the Professional of 2020: An Approach to Business Change Process Int...
Building the Professional of 2020: An Approach to Business Change Process Int...
 
Experimental designs and data analysis in the field of Agronomy science by ma...
Experimental designs and data analysis in the field of Agronomy science by ma...Experimental designs and data analysis in the field of Agronomy science by ma...
Experimental designs and data analysis in the field of Agronomy science by ma...
 

Plus de Daniel Augustine (20)

Developmental Dysplasia of Hip
Developmental Dysplasia of HipDevelopmental Dysplasia of Hip
Developmental Dysplasia of Hip
 
Heel pain and plantar fasciitis
Heel pain and plantar fasciitisHeel pain and plantar fasciitis
Heel pain and plantar fasciitis
 
Mri basics
Mri basicsMri basics
Mri basics
 
Malaria
MalariaMalaria
Malaria
 
Hemiplegia
HemiplegiaHemiplegia
Hemiplegia
 
Ecg
EcgEcg
Ecg
 
Ecg
EcgEcg
Ecg
 
Dermatology made easy
Dermatology made easyDermatology made easy
Dermatology made easy
 
Chronic kidney disease
Chronic kidney diseaseChronic kidney disease
Chronic kidney disease
 
Cardiotocography
CardiotocographyCardiotocography
Cardiotocography
 
Acid base physiology .1
Acid  base physiology .1Acid  base physiology .1
Acid base physiology .1
 
Tb
TbTb
Tb
 
Superficial bacterial infection
Superficial bacterial infectionSuperficial bacterial infection
Superficial bacterial infection
 
Rntcp current guidelines
Rntcp current guidelinesRntcp current guidelines
Rntcp current guidelines
 
Obg gyn examination
Obg gyn examinationObg gyn examination
Obg gyn examination
 
Meniscal tearsandtheirtreatment
Meniscal tearsandtheirtreatmentMeniscal tearsandtheirtreatment
Meniscal tearsandtheirtreatment
 
Meniscal tears
Meniscal tearsMeniscal tears
Meniscal tears
 
Knee
KneeKnee
Knee
 
The partograph case tz
The partograph case tzThe partograph case tz
The partograph case tz
 
Varicose veins
Varicose  veinsVaricose  veins
Varicose veins
 

Dernier

Chandigarh Escorts, 😋9988299661 😋50% off at Escort Service in Chandigarh
Chandigarh Escorts, 😋9988299661 😋50% off at Escort Service in ChandigarhChandigarh Escorts, 😋9988299661 😋50% off at Escort Service in Chandigarh
Chandigarh Escorts, 😋9988299661 😋50% off at Escort Service in Chandigarh
Sheetaleventcompany
 
Call Girl In Zirakpur ❤️♀️@ 9988299661 Zirakpur Call Girls Near Me ❤️♀️@ Sexy...
Call Girl In Zirakpur ❤️♀️@ 9988299661 Zirakpur Call Girls Near Me ❤️♀️@ Sexy...Call Girl In Zirakpur ❤️♀️@ 9988299661 Zirakpur Call Girls Near Me ❤️♀️@ Sexy...
Call Girl In Zirakpur ❤️♀️@ 9988299661 Zirakpur Call Girls Near Me ❤️♀️@ Sexy...
Sheetaleventcompany
 
Russian Call Girls in Noida Pallavi 9711199171 High Class Call Girl Near Me
Russian Call Girls in Noida Pallavi 9711199171 High Class Call Girl Near MeRussian Call Girls in Noida Pallavi 9711199171 High Class Call Girl Near Me
Russian Call Girls in Noida Pallavi 9711199171 High Class Call Girl Near Me
mriyagarg453
 
Chandigarh Call Girls 👙 7001035870 👙 Genuine WhatsApp Number for Real Meet
Chandigarh Call Girls 👙 7001035870 👙 Genuine WhatsApp Number for Real MeetChandigarh Call Girls 👙 7001035870 👙 Genuine WhatsApp Number for Real Meet
Chandigarh Call Girls 👙 7001035870 👙 Genuine WhatsApp Number for Real Meet
priyashah722354
 
Call Girls Service Faridabad 📲 9999965857 ヅ10k NiGhT Call Girls In Faridabad
Call Girls Service Faridabad 📲 9999965857 ヅ10k NiGhT Call Girls In FaridabadCall Girls Service Faridabad 📲 9999965857 ヅ10k NiGhT Call Girls In Faridabad
Call Girls Service Faridabad 📲 9999965857 ヅ10k NiGhT Call Girls In Faridabad
gragmanisha42
 
Sambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Sambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetSambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Sambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Call Girls Service
 
Call Girls Service In Goa 💋 9316020077💋 Goa Call Girls By Russian Call Girl...
Call Girls Service In Goa  💋 9316020077💋 Goa Call Girls  By Russian Call Girl...Call Girls Service In Goa  💋 9316020077💋 Goa Call Girls  By Russian Call Girl...
Call Girls Service In Goa 💋 9316020077💋 Goa Call Girls By Russian Call Girl...
russian goa call girl and escorts service
 
VIP Call Girl Sector 32 Noida Just Book Me 9711199171
VIP Call Girl Sector 32 Noida Just Book Me 9711199171VIP Call Girl Sector 32 Noida Just Book Me 9711199171
VIP Call Girl Sector 32 Noida Just Book Me 9711199171
Call Girls Service Gurgaon
 
VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012
VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012
VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012
adityaroy0215
 
nagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
nagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetnagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
nagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Call Girls Service
 
Muzaffarpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Muzaffarpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetMuzaffarpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Muzaffarpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Call Girls Service
 
VIP Call Girls Noida Jhanvi 9711199171 Best VIP Call Girls Near Me
VIP Call Girls Noida Jhanvi 9711199171 Best VIP Call Girls Near MeVIP Call Girls Noida Jhanvi 9711199171 Best VIP Call Girls Near Me
VIP Call Girls Noida Jhanvi 9711199171 Best VIP Call Girls Near Me
mriyagarg453
 

Dernier (20)

Chandigarh Escorts, 😋9988299661 😋50% off at Escort Service in Chandigarh
Chandigarh Escorts, 😋9988299661 😋50% off at Escort Service in ChandigarhChandigarh Escorts, 😋9988299661 😋50% off at Escort Service in Chandigarh
Chandigarh Escorts, 😋9988299661 😋50% off at Escort Service in Chandigarh
 
Call Girl In Zirakpur ❤️♀️@ 9988299661 Zirakpur Call Girls Near Me ❤️♀️@ Sexy...
Call Girl In Zirakpur ❤️♀️@ 9988299661 Zirakpur Call Girls Near Me ❤️♀️@ Sexy...Call Girl In Zirakpur ❤️♀️@ 9988299661 Zirakpur Call Girls Near Me ❤️♀️@ Sexy...
Call Girl In Zirakpur ❤️♀️@ 9988299661 Zirakpur Call Girls Near Me ❤️♀️@ Sexy...
 
Russian Call Girls in Noida Pallavi 9711199171 High Class Call Girl Near Me
Russian Call Girls in Noida Pallavi 9711199171 High Class Call Girl Near MeRussian Call Girls in Noida Pallavi 9711199171 High Class Call Girl Near Me
Russian Call Girls in Noida Pallavi 9711199171 High Class Call Girl Near Me
 
Chandigarh Call Girls 👙 7001035870 👙 Genuine WhatsApp Number for Real Meet
Chandigarh Call Girls 👙 7001035870 👙 Genuine WhatsApp Number for Real MeetChandigarh Call Girls 👙 7001035870 👙 Genuine WhatsApp Number for Real Meet
Chandigarh Call Girls 👙 7001035870 👙 Genuine WhatsApp Number for Real Meet
 
Krishnagiri call girls Tamil aunty 7877702510
Krishnagiri call girls Tamil aunty 7877702510Krishnagiri call girls Tamil aunty 7877702510
Krishnagiri call girls Tamil aunty 7877702510
 
❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...
❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...
❤️♀️@ Jaipur Call Girl Agency ❤️♀️@ Manjeet Russian Call Girls Service in Jai...
 
(Deeksha) 💓 9920725232 💓High Profile Call Girls Navi Mumbai You Can Get The S...
(Deeksha) 💓 9920725232 💓High Profile Call Girls Navi Mumbai You Can Get The S...(Deeksha) 💓 9920725232 💓High Profile Call Girls Navi Mumbai You Can Get The S...
(Deeksha) 💓 9920725232 💓High Profile Call Girls Navi Mumbai You Can Get The S...
 
Call Girls Service Faridabad 📲 9999965857 ヅ10k NiGhT Call Girls In Faridabad
Call Girls Service Faridabad 📲 9999965857 ヅ10k NiGhT Call Girls In FaridabadCall Girls Service Faridabad 📲 9999965857 ヅ10k NiGhT Call Girls In Faridabad
Call Girls Service Faridabad 📲 9999965857 ヅ10k NiGhT Call Girls In Faridabad
 
Call Girls Hyderabad Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Hyderabad Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Hyderabad Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Hyderabad Just Call 9907093804 Top Class Call Girl Service Available
 
Sambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Sambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetSambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Sambalpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
Call Girl Gorakhpur * 8250192130 Service starts from just ₹9999 ✅
Call Girl Gorakhpur * 8250192130 Service starts from just ₹9999 ✅Call Girl Gorakhpur * 8250192130 Service starts from just ₹9999 ✅
Call Girl Gorakhpur * 8250192130 Service starts from just ₹9999 ✅
 
Call Girls Service In Goa 💋 9316020077💋 Goa Call Girls By Russian Call Girl...
Call Girls Service In Goa  💋 9316020077💋 Goa Call Girls  By Russian Call Girl...Call Girls Service In Goa  💋 9316020077💋 Goa Call Girls  By Russian Call Girl...
Call Girls Service In Goa 💋 9316020077💋 Goa Call Girls By Russian Call Girl...
 
VIP Call Girl Sector 32 Noida Just Book Me 9711199171
VIP Call Girl Sector 32 Noida Just Book Me 9711199171VIP Call Girl Sector 32 Noida Just Book Me 9711199171
VIP Call Girl Sector 32 Noida Just Book Me 9711199171
 
VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012
VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012
VIP Call Girl DLF Phase 2 Gurgaon (Noida) Just Meet Me@ 9711199012
 
nagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
nagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meetnagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
nagpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
Muzaffarpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Muzaffarpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real MeetMuzaffarpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
Muzaffarpur Call Girls 👙 6297143586 👙 Genuine WhatsApp Number for Real Meet
 
Jaipur Call Girls 9257276172 Call Girl in Jaipur Rajasthan
Jaipur Call Girls 9257276172 Call Girl in Jaipur RajasthanJaipur Call Girls 9257276172 Call Girl in Jaipur Rajasthan
Jaipur Call Girls 9257276172 Call Girl in Jaipur Rajasthan
 
❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR Call G...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR   Call G...❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR   Call G...
❤️♀️@ Jaipur Call Girls ❤️♀️@ Meghna Jaipur Call Girls Number CRTHNR Call G...
 
Call Girl Raipur 📲 9999965857 ヅ10k NiGhT Call Girls In Raipur
Call Girl Raipur 📲 9999965857 ヅ10k NiGhT Call Girls In RaipurCall Girl Raipur 📲 9999965857 ヅ10k NiGhT Call Girls In Raipur
Call Girl Raipur 📲 9999965857 ヅ10k NiGhT Call Girls In Raipur
 
VIP Call Girls Noida Jhanvi 9711199171 Best VIP Call Girls Near Me
VIP Call Girls Noida Jhanvi 9711199171 Best VIP Call Girls Near MeVIP Call Girls Noida Jhanvi 9711199171 Best VIP Call Girls Near Me
VIP Call Girls Noida Jhanvi 9711199171 Best VIP Call Girls Near Me
 

Chi square analysis-for_attribute_data_(01-14-06)

  • 1. Analyze ImproveDefine Measure Control LEAN SIX SIGMA Chi-Square Analysis Chi-Square Training for Attribute Data
  • 2. Bonacorsi Consulting 2 Lean Six Sigma What Is A Chi-Square Test? What is a Chi-Square? The probability density curve of a chi-square distribution is asymmetric curve stretching over the positive side of the line and having a long right tail. The form of the curve depends on the value of the degrees of freedom.
  • 3. Bonacorsi Consulting 3 Lean Six Sigma Types of Chi-Square Tests? Types of Chi-Square Analysis: Chi-square Test for Association is a (non-parametric, therefore can be used for nominal data) test of statistical significance widely used bivariate tabular association analysis.  Typically, the hypothesis is whether or not two different populations are different enough in some characteristic or aspect of their behavior based on two random samples.  This test procedure is also known as the Pearson chi-square test. Chi-square Goodness-of-fit Test is used to test if an observed distribution conforms to any particular distribution. Calculation of this goodness of fit test is by comparison of observed data with data expected based on the particular distribution.
  • 4. Bonacorsi Consulting 4 Lean Six Sigma The Basics When to apply a Chi-Squared Test:  Chi-Squared test is used to determine if there is a statistically significant difference in the proportions for different groups. To accomplish this, it breaks all outcomes into groups. What the Chi-Squared Test does:  It starts by determining how many defects, for example, would be “expected” in each group involved.  It does this by assuming that all groups have the same defect rate (which Minitab approximates from the data provided).  Minitab then compares the expected counts with what was actually observed.  If the numbers are different by a large enough amount, Chi-Square determines that the groups do not have the same proportion.
  • 5. Bonacorsi Consulting 5 Lean Six Sigma The Basics (Cont.) Chi-Square Requirements:  Data is typically attribute (discrete). At the very least, all data must be able to be categorized as being in some category or another).  Expected cell counts should not be low (definitely not less than 1 and preferable not less than 5) as this could lead to a false positive indication that there is a difference when, in fact, none exists. Chi-Square Hypotheses:  Ho: The null hypotheses (P-Value > 0.05) means the populations have the same proportions.  Ha: The alternate hypotheses (P-Value <= 0.05) means the populations do NOT have the same proportions.
  • 6. Bonacorsi Consulting 6 Lean Six Sigma Using Minitab – Step 1 Enter Category Names Enter the Defect Qty for the Data Collection Period Enter the Success Qty for the Data Collection Period Step 1: Enter data into Minitab
  • 7. Bonacorsi Consulting 7 Lean Six Sigma Using Minitab – Step 2 Step 2: Choose Stat, then Tables, then Chi-Squared Test (Two-Way Table in Worksheet…)
  • 8. Bonacorsi Consulting 8 Lean Six Sigma Using Minitab – Step 3 Step 3: Enter the subgroup data to compare Determine the subgroups you want to compare for variation. In this example we examine the variation between success (C2) & Defect (C3) for each Engineering Change Proposal (ECP) Enter category names you want to compare Click help for Minitab help on Chi-Square Choose Ok to run Chi- Squared Test Enter category names you want to compare
  • 9. Bonacorsi Consulting 9 Lean Six Sigma The Session Window Results Observed counts Expected counts Sum of each category (Machine) Sum of all observed counts Degree of Freedom (df = n-1) The Chi-Square test calculates using the formula (40 - 45.87)2 / 45.87 = 0.752 Since the P-Value is <= 0.05, there is a 95% chance that there IS a statistically significant difference, in other words the groups (Machines) involved do NOT have the same defect rate. Machine #5
  • 10. Bonacorsi Consulting 10 Lean Six Sigma Chi-Square Statistic The series of numbers are added together for the overall chi-square statistic. When the value of the Chi-square statistic is high enough, the differences between the groups are concluded to be too large to be mere chance and the groups are determined to be truly different. The series of numbers are added together for the overall chi-square statistic. When the value of the Chi-square statistic is high enough, the differences between the groups are concluded to be too large to be mere chance and the groups are determined to be truly different.
  • 11. Bonacorsi Consulting 11 Lean Six Sigma Errors in the Chi-Square Note: if the expected cell counts are below 5, Minitab will print a warning. The warning is generated because of the fact that with the expected count in the denominator, a small value potentially creates an artificially large chi- square statistic. This is particularly troublesome if more than 20% of the cells have expected counts less than 5 and the contribution to the overall chi-square statistic is considerable. Additionally, if any of the expected cell counts are below 1, Minitab will not even produce a p-value since the chi-square statistic is sure to be artificially inflated. In either of these cases, the binomial distribution (Minitab: Stat/ ANOVA/ Analysis of Means) may be able to be used. Lastly: Attribute Gage R&R (AR&R) or Kappa Test is needed with an acceptable level of measurement system error prior to running a Chi-Square Analysis
  • 12. Bonacorsi Consulting 12 Lean Six Sigma Lets See How You Do Example test questions for Analyze 1. Consider a certain operation which produced 100 documents on line 1, 200 documents on line 2, and 300 documents on line 3. Additionally, it is known that group 1 produced 17 defective documents, group 2 produced 8 defective documents, and group 3 produced 11 defective documents. If a chi-square test were done on this data, what would be the expected number of defects seen by group 3 if the null hypothesis were completely true? a) 24 b) 18 c) 12 d) 6  2. Using the same data set, is this data statistically significant? Yes or No Enter data in to Minitab like this: Group Defective Acceptable (group 1) 17 83 (group 2) 8 192 (group 3) 11 289 Note: Answers are located in the note section of this slide
  • 13. Bonacorsi Consulting 13 Lean Six Sigma Tips and Tricks Tips:  Determine the subgroups and categories to be tested for variation (differences in proportions) as part of your data collection plan.  Define the operational definitions for success/defect, the stratifications layers (subgroups) and the Cause & Effect diagram (fishbone) to pre-determine where the team believes differences in proportions may exist.  Continuous (Variable) data can usually be converted into Discrete (Attribute) data by using categories (Example: cycle time (continuous 1 hr, 1.5 hr, 2 hr) can be categorized into Cycle Time Met = 1 where success is cycle time <= 8 hrs or Cycle Time Not Met = 0 where a defect is cycle time > 8 hrs.) Tricks  An (MSA) Attribute R&R (Kappa Analysis) for discrete data or Gage R&R for continuous (variable) data is used prior to calculating the Chi-Square Test to ensure that the measurement variation < 10% Contribution. If the measurement variation is > 10% then the variation you will see in the Chi-Square Test is not valid as too much of the variation seen is coming from your measurement system (10% MSA error) and not your process variation.
  • 14. Analyze ImproveDefine Measure Control LEAN SIX SIGMA Chi-Square Analysis Appendix A Backup Slides
  • 15. Bonacorsi Consulting 15 Lean Six Sigma Chi-Square (X2) Distribution Row for 95% confidence Degree of Freedom (df) = n-1 Machine example for Success or Defect per Month where we had n = 10 (Machines) Df = 10 – 1 = 9. Machine Example Summary Chi-Sq = 0.752 + 0.637 + 0.814 + 0.689 + 2.393 + 2.028 + 1.391 + 1.179 + 1.471 + 1.247 + 0.255 + 0.217 + 0.376 + 0.319 + 1.492 + 1.264 + 0.312 + 0.264 + 0.752 + 0.637 = 18.489 DF = 9, P-Value = 0.030 The sum of the Chi-Squared Test (18.489 would need to be > 16.92 where df = 9 To be 95% confident of a difference, the P-Value <= 0.05 Chi Squared Distribution table is used by Minitab to calculate the P-Value using the Degree of Freedom (df) and the variation between each category’s data sets being compared for differences. The sum of the Chi-Squared Test (18.489 would need to be > 16.92 where df = 9) for Ho Degree of Freedom (df) = n-1
  • 16. Bonacorsi Consulting 16 Lean Six Sigma Chi-Square (for Two-Way) * For expected frequencies less than 5 the calculated chi-square value changes dramatically as fe changes. Therefore the calculated value becomes less reliable and should be interpreted cautiously. Ho: Independent (There is no relationship between the populations) Ha: Dependent (There is a relationship between the populations) Rejection Criteria: Fail to reject Ho when p ≥ 0.05; Accept Ha when p < 0.05 Compare a calculated value to a critical values from a χ2 table. Rejection Criteria: Fail to reject Ho when p ≥ 0.05; Accept Ha when p < 0.05 Compare a calculated value to a critical values from a χ2 table. Chi-Square equation for two-way tables: Where: f0 = observed frequency fe = expected frequency r = number of rows c = number of columns g = number of groups = r * c degrees of freedom = (r-1) * (c-1) All fe’s should be > 5 * e χ = (f e j = 1 g 2 f o f ) Σ2
  • 17. Bonacorsi Consulting 17 Lean Six Sigma Bonacorsi Consulting Steven Bonacorsi, President Lean Six Sigma Master Black Belt 14 Clinton Street Salem NH 03079 sbonacorsi@comcast.net 603-401-7047

Notes de l'éditeur

  1. 1. Answer is b) 18 Choose Stat - Tables - Chi-square Test. The output will show “expected cell counts” below the actual. The expected cell count for number of defective documents by group 3 will show to be 18. This could also be determined by figuring out that overall, 36 documents out of 600 total were defective. Given a defect rate of 36/600 or 6%, the expectation would be that the 300 documents from group 3 would contain 18 defects. 2. Yes, this data statistically significant with a p-value of 0.000 because it is &amp;lt;= 0.05.