Vous êtes sur la page 1sur 18

10/22/2015

OPRE 6301/SYSM 6303


Quantitative Introduction to Risk and
Uncertainty in Business
11-1

Chapter Eleven
Introduction to Hypothesis Testing

11-2

10/22/2015

Concepts of Hypothesis Testing


Null hypothesis H0
Alternative hypothesis H1
Lets consider a non-statistical example:
A person is accused of a crime and faces a trial.
H0: The defendant is innocent
H1: The defendant is guilty
11-18

Concepts of Hypothesis Testing


There are two possible outcomes:
Convict the defendant.
(Rejecting the null hypothesis in favor of the
alternative hypothesis.)
Acquit the defendant.
(Not rejecting the null hypothesis in favor of the
alternative hypothesis.)
11-19

10/22/2015

Concepts of Hypothesis Testing


Truth about the Defendant

Jury Decision

H0 True
Defendant is
Innocent

H0 False
Defendant is
Guilty

Reject H0
Convict Defendant

Type I Error
a

Correct
Decision

Do Not Reject H0
Acquit Defendant

Correct
Decision

Type II Error
b
11-24

Concepts of Hypothesis Testing

1. There are two hypotheses.


One is called the null hypothesis, and the other is
called the alternative or research hypothesis.

11-25

10/22/2015

Concepts of Hypothesis Testing

2. The testing procedure begins with the


assumption that the null hypothesis is true.

11-26

Concepts of Hypothesis Testing

3. The goal of the process is to determine whether


there is enough evidence to infer that the
alternative hypothesis is true.

11-27

10/22/2015

Concepts of Hypothesis Testing


4. There are two possible decisions:
Conclude there is enough evidence to support
the alternative hypothesis.
Conclude there is not enough evidence to
support the alternative hypothesis.

11-28

Concepts of Hypothesis Testing


5. Two possible errors can be made in any test.
A Type I Error occurs when we reject a true null
hypothesis.
A Type II Error occurs when we dont reject a false
null hypothesis

P(Type I Error) a

P(Type II Error) b
11-30

10/22/2015

Concepts of Hypothesis Testing


Lets extend this to statistical hypothesis testing.

Assume our manager in Example 10.1 wants to


know if the population mean is different from 350.
Rephrase this as:
Is there enough evidence to conclude m is not
equal to 350?

H1 : 350

11-33

Concepts of Hypothesis Testing


In a criminal trial, we begin with the assumption
that the defendant is innocent.
In similar fashion, we begin with the assumption
that the parameter equals the value we are
testing.

H0 : 350

11-36

10/22/2015

Concepts of Hypothesis Testing


Therefore, our hypothesis test is stated as:

H0 : 350
H1 : 350

11-37

Concepts of Hypothesis Testing


If we believe the population mean has increased,
our hypothesis test would be

H0 : 350
H1 : 350

11-38

10/22/2015

Concepts of Hypothesis Testing


If we believe the population mean has
decreased, our hypothesis test would be

H0 : 350
H1 : 350

11-39

Concepts of Hypothesis Testing


H0 : 350
H1 : 350

Two-tailed test

H0 : 350
H1 : 350

One-tailed test
(Upper tail)

H0 : 350
H1 : 350

One-tailed test
(Lower tail)
11-40

10/22/2015

Testing when s is known


Lets investigate Example 11.1

11-41

Testing when s is known


Rejection Region
A range of values such that if the test statistic falls
into that range, we decide to reject the null
hypothesis in favor of the alternative hypothesis.

11-42

10/22/2015

Testing when s is known


Rejection Region

Define the value of the sample mean that is just


large enough to reject the null hypothesis as

xL

11-43

Testing when s is known


Rejection Region

11-44

10

10/22/2015

Testing when s is known


Rejection Region

We know the sampling distribution of the sample


mean is approximately normal

x xL
x
P Z L
a
P

s n
s n s n

P Z za a
11-46

Testing when s is known


Rejection Region

xL
za
s n

11-47

11

10/22/2015

Testing when s is known


Rejection Region

xL 170
1.645
65 400
xL 175.34
Therefore, the rejection region is

x 175.34
11-48

Testing when s is known


Standardized test statistic

x
s n

Reject H0 if

z za

11-50

12

10/22/2015

Testing when s is known


Standardized test statistic

x 178 170

2.46
s n 65 400
za z0.05 1.645
Since

2.46 1.645
we reject H0
11-53

Testing when s is known

11-54

13

10/22/2015

Testing when s is known


p-value

The probability of observing a test statistic


at least as extreme as the one computed given
the null hypothesis is true.

11-55

Testing when s is known


p-value

p value P x 178
x 178 170

s n 65 400
P z 2.46

11-56

14

10/22/2015

Testing when s is known


p-value

11-57

Testing when s is known


Interpreting the p-value

11-58

15

10/22/2015

Testing when s is known


Interpreting the p-value

11-59

Testing when s is known


Interpreting the p-value

11-60

16

10/22/2015

Testing when s is known


Interpreting the p-value

11-61

Testing when s is known


Lets investigate Example 11.1 again using our
tools in Excel

11-62

17

10/22/2015

Testing when s is known


Lets investigate a two-tailed test using
Example 11.2

11-63

18

Vous aimerez peut-être aussi