QI Macros Lesson 6 - Anova and Other Analysis Tools


© 2007 KnowWare International, Inc. DBA LifeStar
2253 S. Oneida St., Ste 3D
Denver, CO 80224

Jay Arthur
888-468-1537
303-756-9144
Email Us

We help people think!

In this Issue

Using the Anova and Other Analysis Tools

Most Six Sigma black belts get into more detailed analysis of data to determine the variation. ANOVA (or ANalysis Of VAriance) seeks to understand how data is distributed around a mean or average. To use any of the statistical analysis tools of Excel through the QI Macros:

  1. You must have Excel's Data Analysis toolpak loaded. Go to Tools-Addins and check Analysis Toolpak, Excel will either turn these tools on or ask you to install them using your Office or Excel CDs. To check if they have been installed, click on Tools-Data Analysis. If you cannot see Data Analysis in the Tools menu, the statistical analysis tools are not installed.
  2. Select the data to analyze. This data MUST be organized in columns.
  3. From the QI Macros pull-down menu, select ANOVA and Other Analysis Tools.
  4. Click on the appropriate analysis tool (Anova, regression, f-test, t-test, etc. Excel is pretty picky about how many columns of data can be used for each analysis, so it may demand that data be re-selected to fit it's parameters.)
  5. See sample test data for each tool and test on your computer at C:QIMacros/Test data/anova.xls

Anova and Analysis Tools in Excel 2003 and previous versions

Anova and Analysis Tools on Excel 2007 Ribbon

Analysis of Variance

Analysis of variance can help you determine if two or more populations have the same "mean" or average. This is also called "hypothesis testing."

The "null" hypothesis (Ho) is that Mean1 = Mean2.

The goal is to disprove this (i.e., the populations have two different means) at a certain confidence level (95% or 99%).

Excel and the QI Macros can perform single and two-factor analysis.

Single Factor Analysis - Watch Video

From Intro to Statistical Quality Control by Montgomery, we want to compare how four different concentrations of hardwood affect paper tensile strength:

Six Sigma Anova Data

Using Excel and the QI Macros, select data in columns B2:E8 and run a single factor Anova at the 99% or alpha=0.01 level:

Six Sigma Excel Anova

Since the P-value is less than alpha, the null hypothesis is not true (i.e., the means are different).

To download test files anova1.xls and anova2.xls, right click on the link and choose SAVE TARGET AS to save the file. If you open these in Explorer with Excel as a subtask, you won't be able to run the analysis.

Two-Factor Analysis

What if you have two populations of patients (male/female) and three different kinds of medications, and you want to evaluate their effectiveness? You might run a study with two or more "replications."

Six Sigma Medical Anova Data

Then, using Excel and the QI Macros, run a two-factor analysis with replication (alpha=0.05 for a 95% confidence).

Six Sigma Medical Anova Analysis

Here, the P-value for Male/Female is greater than alpha, so we can’t reject the hypothesis that the means are the same at the stated alpha level. The P-Value for Drugs is greater, so we can’t reject the null hypothesis at the stated alpha level.

The P-value for the interaction of the drugs and patients is less than .05, so the effectiveness of three drugs is not the same for the two categories of patient.

Analysis of Attribute Data (Counted)

To analyze attribute data, Excel requires you to set the data up in a way that can be analyzed.

The example below shows how to set up the data for two categories of patients treated with three different drugs.

Six Sigma Excel Anova Setup

Then, if you're just interested in the single factor DRUGS, select and run a single factor on the three drug columns.

Six Sigma Excel Anova Single Factor

If you're interested in a two-factor analysis (patients vs drugs), select and run a two-factor analysis with repetition (more than one patient in the category receives the same drug).

Six Sigma Excel Anova Two Factor

Determining Sample Sizes

In manufacturing applications, you often need to figure out how many samples to take to ensure that you get a valid sample size of a larger lot.

  1. From the QI Macros pull-down menu, select ANOVA and Other Analysis Tools.
  2. Click on Sample Size to open this template:

    sample size calculator in excel

  3. Input the confidence interval and level and any other information you have to calculate the sample size required to meet your confidence needs.

For more detailed information Watch this Video or see our Selecting Sample Sizes article.

In Lesson #7 we will cover Measurement System Analysis and Gage R&R.

View previous lesson .......................View next lesson

To sign up for this series tell your friends to send an email to qimacros@aweber.com

Buy QI Macros Excel SPC Software for Histograms and Control Charts Now QI Macros Excel SPC Software for Histograms and Control Charts $139 Plus S&H


© 2007 KnowWare International Inc. (888) 468-1537
knowwareman@qimacros.com
Home | Lean Six Sigma | QI Macros | KnowWare | Site Map

FREE Lean Six Sigma Course
& QI Macros 30-day Trial
Name:
E-mail
 

QI Macros 30-day Trial & FREE QI Macros Course
Name:
E-mail
 

QI Macros SPC Software for Excel
Or Buy It Now!
Unconditional
90-Day
Money-Back
Guarantee

The QI Macros for Excel $139, is an inexpensive easy to use set of Excel add-ins for statistical process control and Lean Six Sigma. It draws line, pie, bar, pareto, box whisker, histogram (Cp, Cpk), scatter and control charts (with stability analysis).

It contains over 70 fill in the blank templates such as the Ishikawa diagram, QFD, DOE, FMEA, PPAP, and Gage R&R for MSA. Performs ANOVA, t-test, F-test, and regression analysis.

Buy All-in-One, Excel SPC Software Now

Quantity Discounts

Customer Testimonials

Minitab Comparison

QI Macros FAQs

FREE Lean Six Sigma Course
& QI Macros 30-day Trial
Name:
E-mail