You are on page 1of 25

HYPOTHESIS

TESTING
for the MEAN
HYPOTHESIS
Goal: TESTING is also
Make statement(s), conjecture,
called significance
or conclusion regarding the
testing.
unknown population parameter
values using the sample data.

2
◉ Our goal is to make inference about the mean of
the distribution, .

◉ Assuming that we have a random sample from a


normal distribution with mean, , and variance,

◉ We use the sample mean


to define our statistic. 𝑋 1 + 𝑋 2 +…+ 𝑋 𝑛
𝑋=
𝑛

3
CASES
4

KNOWN variance,

Z - Test
z

follows standard normal distribution, that is, Z is a normal


random variable with mean 0 and variance 1

5

UNKNOWN variance,

T - Test t

follows t-distribution with v = n-1 degrees of freedom

6

UNKNOWN variance, ; n > 30

Z - Test z

follows a standard normal distribution

7
Summary of Hypothesis Tests for the Population Mean

8
To better understand this
chapter, let’s consider the
following examples...

9
If you read the situation,
Example 1
Assuming McDonald’s advertises What is the
that it puts 0.25 pound of beef in its claim of the
burgers. You, who frequently visit the researcher?
fast food chain think that the burgers The researcher’s claim is your
actually contain less than 0.25 pound alternative hypothesis. It is better
of beef. With the permission from the to identify first the said hypothesis
owner, you selected a random sample for the null hypothesis is usually
of 60 burgers and found the mean the opposite of the alternative
and standard deviation to be 0.22 and hypothesis or what the population
0.07 respectively. Test at 1% level of is telling you or in this case, what
significance. the owner of the restaurant is
telling you. 10
What is the claim of the researcher?
Alternative
In words: On the average, one
burger contains less than 0.25 pound
Hypothesis
of beef.
In mathematical term:

or

11
What is the claim of the owner?
OR, what is claim about the population
parameter (in this case, population mean)?

In words: On the average, one Null


burger contains 0.25 pound of beef.
Hypothesis
In mathematical term:

or

12
Test Statistic: Decision Rule:

HOW?

13
PROBLEM
1
= - 2.326 Probabilities/ alphas

How?
Interpolation

14
z p Level of significance
-2.33 0.0099
X 0.0100 0.0003x + 0.000699
-2.32 0.0102

15
At the 1% level of significance, you, the customer has sufficient evidence to claim
that the mean amount of beef in burgers the restaurant makes is less than 0.25
pounds.

If the null hypothesis is true, then the distribution of the test statistic is
approximately standard normal. To get the p-value, we refer to the Standard Normal
Distribution table which we have used a while ago.

p-value =

16
x

17
Z p
-3.3200 0.00045
-3.3197 X -0.01x + 0.0000047
-3.3100 0.00047

18
Example 2

In 1970s, the average adult male height in a certain city is


170 cm. Lately, we suspect that the men might have a
different average height due to some environmental
factors. We pick a random sample of size 9 from the adult
males in the city and obtain the mean and variance –
165.80 and 68.01. Is the claim subject to rejection at 0.05
level of significance?

19
What is the claim of the researcher?
Alternative
Hypothesis
In words: The mean height of an adult
male in the city is not (or different
from) 170 cm.
In mathematical term:

or

20
What is the claim about the population of
men on 1970s?

In words: On the average, the height


of an adult male is 170 cm. Null
In mathematical term: Hypothesis

or

21
Test Statistic: Decision Rule:

22
23
the average height of an adult male in the city is different from 170 cm.

24
👉
It’s your turn!

25

You might also like