Chi Square Goodness of Fit Test in Excel

home · products · services · search · view cart · contact  
 
  NAVIGATION        
 

Jay Arthur
888-468-1537
303-756-9144
KnowWare International, Inc.
DBA LifeStar

2253 S. Oneida
Ste 3D
Denver, CO 80224


We work with companies
that want to fire up their profits using
Lean Six Sigma

Copyright © 2011



 

Chi Square tests in Excel

There are different types of Chi Square tests:

Chi Square Goodness of Fit Test

A Chi Square Goodness of Fit test evaluates the probabilities of multiple outcomes.

Las Vegas Dice Chi Square Goodness of Fit Test Example

Let's say you want to know a six-sided die is fair or unfair (Advanced Statistics by Dr. Larry Stephens). So we develop a null hypothesis (H0) that the die is fair (each side will have an equal probability of coming up) and the alternate hypothesis (Ha ) that one or more of the sides will come up more often.:

  • H0: p1 = p2 = p3 = p4 = p5 = p6 = 1/6
  • Ha : At least one p is not equal to 1/6

Now, test 120 rolls of the die and enter the data into Excel (120 tries = expected number of 20 per side):

Chi Square goodness of fit test data for Excel

Then, in an empty cell, begin typing the formula "=chitest(". Excel will prompt for the observed and expected ranges:

Use your mouse to select the Observed (actual_range) and Expected range. Put a comma between the two and a parenthesis at the end and hit return.

The Chi Square test will calculate the probability (i.e., p value) of all sides being equal:

Interpreting the Chi Square Goodness of Fit results

If
Then
p value < a Reject the null hypothesis
p value > a Accept the null hypothesis

In the above results the p value = 4.55759E-05 (0.0000456) which is dramatically lower than our alpha value of 0.05, so, we can reject the null hypothesis that the die is fair.

Chi square is just one of the tools in the QI Macros Statistical Process Control Software for Excel. Other statistical tools include:

Download the FREE 30-day Evaluation copy of the QI Macros Excel SPC Software for Six Sigma

QI Macros - One License Per Computer - Download with backup CD & User Guide (#230) $199 + S&H
QI Macros - One License Per Computer - Download Only - No Shipping or Customs Duties (#W230) $199

 

 

Download
QI Macros

30-Day Trial Now!


Or Buy It Now!

Unconditional
90-Day
Money-Back
Guarantee


 
home | products | services | search | sitemap | view cart | contact
QI Macros | Excel SPC Software | SPC Software Free Trial
Control Charts | c Chart | np Chart | p Chart | u Chart
ImR Chart | XmR Chart | XMedianR Chart | XbarR Chart | XbarS Chart | EWMA Chart
Anom Chart | Cusum Chart | Levey Jennings Chart | Moving Average Chart
Histograms | Pareto Chart | Scatter Plot | Run Chart
Box Whisker Plot | Dot Plot | Multivari Chart

Lean Six Sigma Training | Lean Six Sigma Training Denver
Lean Six Sigma Consulting | Lean Six Sigma Consulting Denver
Lean Six Sigma Training Systems | Do-It-Yourself Lean Six Sigma Training