t test - Two Sample Unequal Variances 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



 

When to Use the t Test - Two Sample Assuming Unequal Variances

In the constant quest to reduce variation and improve products, companies need to evaluate different alternatives. A t test using two samples compares two independent sets of test data. It helps determine if the means (i.e., averages) are the same or different from each other. Excel offers several two sample t tests:

If data sets are independent of each other:

If data sets are dependent on each other: when natural pairs of observations exist (e.g., using the same operator on a machine while comparing two different modes of operation.)

Consider the following example.

t test two sample assuming unequal variances

If you want to compare two types of structural steel, you might want to know if the strengths (in 1000 lbs/sq. in.) are the same or different:

  • The null hypothesis H0 is that the mean difference (x1-x2) = 0
  • or in other words the means are the same

  • The alternative hypothesis Ha is that the mean difference <> 0

    or in other words the means are not the same

Now, conduct a test and enter the data into Excel:
f test unequal variances in Excel with the QI Macros

Conduct an F test to determine if the variances are equal

Since the two machines aren't "paired" in any way, the first step is to determine if the variances are equal to determine which t test to use. So, select the data with the mouse and click on the QI Macros Menu to select the F test:

f test menu in the QI Macros

The QI Macros will prompt for a significance level (default = 0.05):

t test two sample significance level

The f test macro will perform the calculations and interpret the results for you:

f test unequal variances results

What's cool about QI Macros f-Test? When you run the f-Test, you don't have to think. Unlike other statistical software, the QI Macros is the only SPC software that compares the p-value (0.034) to the significance level (0.05) and tells you to "Reject the Null Hypothesis because p<0.05" and that the "Variances are Different ".

Interpreting the F test results to determine if variances are equal or unequal

If you want to verify the results manually:

If
Then
test statistic > critical value
(i.e. F > F crit)
Reject the null hypothesis
test statistic < critical value
(i.e. F < F crit)
Accept the null hypothesis
p value < a Reject the null hypothesis
p value > a Accept the null hypothesis

Since F > Fcrit (.27> 3.18) and p value < a ( .034< 0.05, we can reject the null hypothesis that the variances are equal. Now we can run the t test assuming unequal variances.

t test Assuming Unequal Variances

Now, select the data with the mouse and click on the QI Macros Menu to select the two sample t test assuming unequal variances:

t test assuming unequal variances

The QI Macros will prompt for a significance level (default = 0.95) and hypothesized difference in means (0):

t test two sample significance

The t test two sample for unequal variances macro will perform the calculations and interpret the results for you:

t test assuming unequal variances results

What's cool about QI Macros t-Test? When you run the t-Test, the QI Macros will compare the p-value (0.197) to the significance level (0.05) and tells you to "Accept the Null Hypothesis because p>0.05" and that the "Means are the same".

Interpreting the t test assuming unequal variances results

If you want to evaluate the results manually:

If
Then
test statistic > critical value
(i.e. t> tcrit)
Reject the null hypothesis
test statistic < critical value
(i.e. t< tcrit)
Accept the null hypothesis
p value < a Reject the null hypothesis
p value > a Accept the null hypothesis

Since the null hypothesis is that the mean difference (x1-x2) = 0, this is a two-sided test. Therefore, use the two-tail values for your analysis.

Since the t statistic < t critical (1.355 < 2.145) and p value > a ( 0.197 > 0.05) , we can accept the null hypothesis that the means are the same.

The two recipes produce steel with the same mean tensile strength at a 95% confidence level.

Watch Two Sample t test in Excel Video

The t test - two sample assuming unequal variances test is just one of the tests included in the QI Macros Statistical Process Control software. Other tests 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 Now and Get Backup CD & User Guide (#230) in 1-3 days - $199 + S&H
QI Macros - One License Per Computer
- Download Only - No Shipping or Customs Duties (#W230) $199

 

 

It's easy to do a t-Test with the QI Macros

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