"

One Variable Hypothesis Testing

Hypothesis Testing for One Mean

Learning Objectives

In this section, we will perform left, right and two-tailed hypothesis tests for means from one sample.

In this section, we will step through several examples of how to perform hypothesis testing for sample means. Let us start by recapping the required formula presented in the previous section:

Hypotheses

H0: μ=μoriginal (all tails)

HA: μ<μoriginal (left-tailed), μ>μoriginal (right-tailed), μμoriginal (two-tailed)

Test Statistic

The test statistic formula is the same, regardless of what tailed test we are performing:

ttest=x¯μsn

P-Values

We could use Excel’s T.DIST() function to calculate all p-values but, it is slightly easier to use different functions depending on which hypothesis test we are performing (left, right or two-tailed):

p left-tailed=T.DIST(ttest,n1,TRUE)

p two-tailed=T.DIST.2T(abs(ttest),n1)

p right-tailed=T.DIST.RT(ttest,n1)

Remember: When use T.DIST.2T, we must only input a positive ttest value. For this reason, we can use an absolute value call ABS() to ensure that we input a positive value in the T.DIST.2T function.

License

Icon for the Creative Commons Attribution-NonCommercial 4.0 International License

An Introduction to Business Statistics for Analytics (1st Edition) Copyright © 2024 by Amy Goldlist; Charles Chan; Leslie Major; Michael Johnson is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License, except where otherwise noted.

Share This Book