z test two sample for means in Excel using the QI Macros

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 z test two sample for means

Use the z test two-sample for means:

  • to compare population and sample means to determine if there is a significant difference
  • to compare means between two samples,
  • to compare the mean of one sample to a given constant.

The Z-test is typically used in evaluating the results of standardized tests. Are the results from a sample of students outside of or within the standard test performance?

Consider the following example taken from Statistical Analysis in Excel for Dummies by Joseph Schmuller.

New Training Technique Designed to Increase IQ

Imagine a new training technique designed to increase IQ. Take a sample of 25 people and train them using the new technique. Take another sample of 25 people and give them no special training.

  • The null hypothesis H0 is that the mean difference = 0
    or in other words the means are the same

  • The alternative hypothesis Ha is that the mean difference is > 0
    or in other words that the mean of the trained population is larger

Now, conduct a test with the two samples and input their scores into Excel:

z test two sample  for means data in Excel

Then, select the data with the mouse and click on the QI Macros Menu to select the z test two sample for means test:

z test two sample for means menu in the QI Macros

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

z test significance level

a hypothesized mean difference (in this case 0 ):

z test mean difference

and variances for variables 1 and 2

The QI Macros z test will perform the calculations and interpret the results for you:

z test results

Interpreting the z test results

If
Then
test statistic > critical value
(i.e. z> zcrit)
Reject the null hypothesis
test statistic < critical value
(i.e. z< zcrit)
Accept the null hypothesis
p value < aReject the null hypothesis
p value > aAccept the null hypothesis

Since the null hypothesis is that the means are the same this is a two-sided test. Therefore, use the two-tail values for your analysis.

Since the z statistic < zcritical (1.305 < 1.960) and p value > a ( 0.192> 0.05) , we can accept the null hypothesis that the means are the same.

The z test: two sample for means 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 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