t test - one sample 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 t Test One Sample

A t test using one sample compares test data to a specific value. It helps determine if the sample is greater than, less than or equal to the value. Consider the following example.

Light Bulb Life - t Test Example

Watch this t Test One Sample in Excel Video

Let's say you want to know if the life of a light bulb is greater than 2,500 hours. So we develop a null hypothesis (H0) that light bulb life is less than or equal to 2,500 hours and the alternate hypothesis (Ha) that bulb life is greater than 2,500 hours:

  • H0 <= 2,500 hours
  • Ha > 2,500 hours

Now, conduct a test of light bulb life and enter the data into Excel:

t test one sample data for Excel

Then, select the data with the mouse and click on the QI Macros Menu to select the one sample t test:

t test one sample menu in the QI Macros

The QI Macros will prompt for a confidence level (default = 0.95) and test mean/average (in this case 2500):

t test one sample test mean t test one sample confidence level

The t test one sample macro will perform the calculations and interpret the results for you:

Note that cell A8 is 2364 hours, which is less than the target, but the average is 2837.

Interpreting the t test one sample results

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 bulb life is less than or equal to 2500, this is a one-sided test. Therefore, use the one-tail values for your analysis.

Note: The two-sided values would apply if our null hypothesis was that:
H0: mean = 2500 hours.)

Since the t statistic > t critical (4.904 > 1.76131) and p value < a ( 0.000116 < 0.05) , we can reject the null hypothesis that bulb life is less than or equal to 2500.

We can say that we are 95% confident that the bulb life is greater than 2,500 hours.

Customer Service- t test One Sample Example

Let's say you want to know if wait times in a branch bank are not greater than three minutes at a 95% confidence level:

  • H0 <= 3 minutes
  • Ha > 3 minutes

Mystery shoppers routinely visit the branch and collect their wait time. This gives us the data we need to test the hypothesis:

The one-sided p value < a (.039776 is less than 0.05 (1-0.95)), so we must reject the null hypothesis that bank wait times are less than or equal to 3 minutes.

We can say that we are 95% confident that wait times are greater than 3 minutes.

Watch this t Test One Sample in Excel Video

The t test one sample 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 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