SlideShare a Scribd company logo
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.1
Chapter 11
Introduction to Hypothesis
Testing
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.2
Nonstatistical Hypothesis Testing…
A criminal trial is an example of hypothesis testing without
the statistics.
In a trial a jury must decide between two hypotheses. The
null hypothesis is
H0: The defendant is innocent
The alternative hypothesis or research hypothesis is
H1: The defendant is guilty
The jury does not know which hypothesis is true. They must
make a decision on the basis of evidence presented.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.3
Nonstatistical Hypothesis Testing…
In the language of statistics convicting the defendant is called rejecting
the null hypothesis in favor of the alternative hypothesis. That is, the
jury is saying that there is enough evidence to conclude that the
defendant is guilty (i.e., there is enough evidence to support the
alternative hypothesis).
If the jury acquits it is stating that there is not enough evidence to
support the alternative hypothesis. Notice that the jury is not saying
that the defendant is innocent, only that there is not enough evidence to
support the alternative hypothesis. That is why we never say that we
accept the null hypothesis, although most people in industry will say
“We accept the null hypothesis”
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.4
Nonstatistical Hypothesis Testing…
There are two possible errors.
A Type I error occurs when we reject a true null hypothesis.
That is, a Type I error occurs when the jury convicts an
innocent person. We would want the probability of this type
of error [maybe 0.001 – beyond a reasonable doubt] to be
very small for a criminal trial where a conviction results in
the death penalty, whereas for a civil trial, where conviction
might result in someone having to “pay for damages to a
wrecked auto”,we would be willing for the probability to be
larger [0.49 – preponderance of the evidence ]
P(Type I error) =  [usually 0.05 or 0.01]
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.5
Nonstatistical Hypothesis Testing…
A Type II error occurs when we don’t reject a false null
hypothesis [accept the null hypothesis]. That occurs when a
guilty defendant is acquitted.
In practice, this type of error is by far the most serious
mistake we normally make. For example, if we test the
hypothesis that the amount of medication in a heart pill is
equal to a value which will cure your heart problem and
“accept the hull hypothesis that the amount is ok”. Later on
we find out that the average amount is WAY too large and
people die from “too much medication” [I wish we had
rejected the hypothesis and threw the pills in the trash can],
it’s too late because we shipped the pills to the public.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.6
Nonstatistical Hypothesis Testing…
The probability of a Type I error is denoted as α (Greek letter
alpha). The probability of a type II error is β (Greek letter
beta).
The two probabilities are inversely related. Decreasing one
increases the other, for a fixed sample size.
In other words, you can’t have  and β both real small for
any old sample size. You may have to take a much larger
sample size, or in the court example, you need much more
evidence.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.7
Types of Errors…
A Type I error occurs when we reject a true null hypothesis
(i.e. Reject H0 when it is TRUE)
A Type II error occurs when we don’t reject a false null
hypothesis (i.e. Do NOT reject H0 when it is FALSE)
H0 T F
Reject I
Reject II
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.8
Nonstatistical Hypothesis Testing…
The critical concepts are theses:
1. There are two hypotheses, the null and the alternative hypotheses.
2. The procedure begins with the assumption that the null hypothesis is
true.
3. The goal is to determine whether there is enough evidence to infer
that the alternative hypothesis is true, or the null is not likely to be
true.
4. There are two possible decisions:
Conclude that there is enough evidence to support the alternative
hypothesis. Reject the null.
Conclude that there is not enough evidence to support the
alternative hypothesis. Fail to reject the null.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.9
Concepts of Hypothesis Testing (1)…
The two hypotheses are called the null hypothesis and the
other the alternative or research hypothesis. The usual
notation is:
H0: — the ‘null’hypothesis
H1: — the ‘alternative’or ‘research’hypothesis
The null hypothesis (H0) will always state that the parameter
equals the value specified in the alternative hypothesis (H1)
pronounced
H “nought”
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.10
Concepts of Hypothesis Testing…
Consider mean demand for computers during assembly lead
time. Rather than estimate the mean demand, our operations
manager wants to know whether the mean is different from
350 units. In other words, someone is claiming that the mean
time is 350 units and we want to check this claim out to see
if it appears reasonable. We can rephrase this request into a
test of the hypothesis:
H0: = 350
Thus, our research hypothesis becomes:
H1: ≠ 350
Recall that the standard deviation [σ]was assumed to be 75,
the sample size [n] was 25, and the sample mean [ ] was
calculated to be 370.16
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.11
Concepts of Hypothesis Testing…
For example, if we’re trying to decide whether the mean is
not equal to 350, a large value of (say, 600) would provide
enough evidence.
If is close to 350 (say, 355) we could not say that this
provides a great deal of evidence to infer that the population
mean is different than 350.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.12
Concepts of Hypothesis Testing (4)…
The two possible decisions that can be made:
Conclude that there is enough evidence to support the alternative
hypothesis
(also stated as: reject the null hypothesis in favor of the alternative)
Conclude that there is not enough evidence to support the
alternative hypothesis
(also stated as: failing to reject the null hypothesis in favor of the
alternative)
NOTE: we do not say that we accept the null hypothesis if a
statistician is around…
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.13
Concepts of Hypothesis Testing (2)…
The testing procedure begins with the assumption that the
null hypothesis is true.
Thus, until we have further statistical evidence, we will
assume:
H0: = 350 (assumed to be TRUE)
The next step will be to determine the sampling distribution
of the sample mean assuming the true mean is 350.
is normal with 350
75/SQRT(25) = 15
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.14
Is the Sample Mean in the Guts of the Sampling Distribution??
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.15
Three ways to determine this: First way
1. Unstandardized test statistic: Is in the guts of the
sampling distribution? Depends on what you define as
the “guts” of the sampling distribution.
If we define the guts as the center 95% of the distribution
[this means  = 0.05], then the critical values that define
the guts will be 1.96 standard deviations of X-Bar on
either side of the mean of the sampling distribution
[350], or
UCV = 350 + 1.96*15 = 350 + 29.4 = 379.4
LCV = 350 – 1.96*15 = 350 – 29.4 = 320.6
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.16
1. Unstandardized Test Statistic Approach
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.17
Three ways to determine this: Second way
2. Standardized test statistic: Since we defined the “guts” of
the sampling distribution to be the center 95% [ = 0.05],
If the Z-Score for the sample mean is greater than
1.96, we know that will be in the reject region on the right
side or
If the Z-Score for the sample mean is less than -1.97,
we know that will be in the reject region on the left side.
Z = ( - )/ = (370.16 – 350)/15 = 1.344
Is this Z-Score in the guts of the sampling distribution???
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.18
2. Standardized Test Statistic Approach
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.19
Three ways to determine this: Third way
3. The p-value approach (which is generally used with a computer and
statistical software): Increase the “Rejection Region” until it “captures”
the sample mean.
For this example, since is to the right of the mean, calculate
P( > 370.16) = P(Z > 1.344) = 0.0901
Since this is a two tailed test, you must double this area for the p-value.
p-value = 2*(0.0901) = 0.1802
Since we defined the guts as the center 95% [ = 0.05], the reject
region is the other 5%. Since our sample mean, , is in the 18.02%
region, it cannot be in our 5% rejection region [ = 0.05].
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.20
3. p-value approach
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.21
Statistical Conclusions:
Unstandardized Test Statistic:
Since LCV (320.6) < (370.16) < UCV (379.4), we
reject the null hypothesis at a 5% level of significance.
Standardized Test Statistic:
Since -Z/2(-1.96) < Z(1.344) < Z/2 (1.96), we fail to
reject the null hypothesis at a 5% level of significance.
P-value:
Since p-value (0.1802) > 0.05 [], we fail to reject the
hull hypothesis at a 5% level of significance.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.22
Example 11.1…
A department store manager determines that a new billing
system will be cost-effective only if the mean monthly
account is more than $170.
A random sample of 400 monthly accounts is drawn, for
which the sample mean is $178. The accounts are
approximately normally distributed with a standard deviation
of $65.
Can we conclude that the new system will be cost-effective?
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.23
Example 11.1…
The system will be cost effective if the mean account
balance for all customers is greater than $170.
We express this belief as a our research hypothesis, that is:
H1: > 170 (this is what we want to determine)
Thus, our null hypothesis becomes:
H0: = 170 (this specifies a single value for the
parameter of interest) – Actually H0: μ < 170
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.24
Example 11.1…
What we want to show:
H1: > 170
H0: < 170 (we’ll assume this is true)
Normally we put Ho first.
We know:
n = 400,
= 178, and
= 65
= 65/SQRT(400) = 3.25
 = 0.05
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.25
Example 11.1… Rejection Region…
The rejection region is 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.
is the critical value of to reject H0.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.26
Example 11.1…
At a 5% significance level (i.e. =0.05), we get [all  in one tail]
Z = Z0.05 = 1.645
Therefore, UCV = 170 + 1.645*3.25 = 175.35
Since our sample mean (178) is greater than the critical value we
calculated (175.35), we reject the null hypothesis in favor of H1
OR
(>1.645) Reject null
OR
p-value = P( > 178) = P(Z > 2.46) = 0.0069 < 0.05 Reject null
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.27
Example 11.1… The Big Picture…
=175.34
=178
H1: > 170
H0: = 170
Reject H0 in favor of
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.28
Interpreting the p-value…
The smaller the p-value, the more statistical evidence exists
to support the alternative hypothesis.
•If the p-value is less than 1%, there is overwhelming
evidence that supports the alternative hypothesis.
•If the p-value is between 1% and 5%, there is a strong
evidence that supports the alternative hypothesis.
•If the p-value is between 5% and 10% there is a weak
evidence that supports the alternative hypothesis.
•If the p-value exceeds 10%, there is no evidence that
supports the alternative hypothesis.
We observe a p-value of .0069, hence there is
overwhelming evidence to support H1: > 170.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.29
Interpreting the p-value…
Overwhelming Evidence
(Highly Significant)
Strong Evidence
(Significant)
Weak Evidence
(Not Significant)
No Evidence
(Not Significant)
0 .01 .05 .10
p=.0069
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.30
Conclusions of a Test of Hypothesis…
If we reject the null hypothesis, we conclude that there is
enough evidence to infer that the alternative hypothesis is
true.
If we fail to reject the null hypothesis, we conclude that there
is not enough statistical evidence to infer that the alternative
hypothesis is true. This does not mean that we have proven
that the null hypothesis is true!
Keep in mind that committing a Type I error OR a Type II
error can be VERY bad depending on the problem.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.31
One tail test with rejection region on right
The last example was a one tail test, because the rejection
region is located in only one tail of the sampling distribution:
More correctly, this was an example of a right tail test.
H1: μ > 170
H0: μ < 170
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.32
One tail test with rejection region on left
The rejection region will be in the left tail.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.33
Two tail test with rejection region in both tails
The rejection region is split equally between the two tails.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.34
Example 11.2… Students work
AT&T’s argues that its rates are such that customers won’t
see a difference in their phone bills between them and their
competitors. They calculate the mean and standard deviation
for all their customers at $17.09 and $3.87 (respectively).
Note: Don’t know the true value for σ, so we estimate σ from
the data [σ ~ s = 3.87] – large sample so don’t worry.
They then sample 100 customers at random and recalculate a
monthly phone bill based on competitor’s rates.
Our null and alternative hypotheses are
H1: ≠ 17.09. We do this by assuming that:
H0: = 17.09
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.35
Example 11.2…
The rejection region is set up so we can reject the null
hypothesis when the test statistic is large or when it is small.
That is, we set up a two-tail rejection region. The total area
in the rejection region must sum to , so we divide  by 2.
stat is “small” stat is “large”
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.36
Example 11.2…
At a 5% significance level (i.e. = .05), we have
/2 = .025. Thus, z.025 = 1.96 and our rejection region is:
z < –1.96 -or- z > 1.96
z
-z.025 +z.025
0
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.37
Example 11.2…
From the data, we calculate = 17.55
Using our standardized test statistic:
We find that:
Since z = 1.19 is not greater than 1.96, nor less than –1.96
we cannot reject the null hypothesis in favor of H1. That is
“there is insufficient evidence to infer that there is a
difference between the bills of AT&T and the competitor.”
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.38
Summary of One- and Two-Tail Tests…
One-Tail Test
(left tail)
Two-Tail Test One-Tail Test
(right tail)
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.39
Probability of a Type II Error –
A Type II error occurs when a false null hypothesis is not
rejected or “you accept the null when it is not true” but don’t
say it this way if a statistician is around.
In practice, this is by far the most serious error you can make
in most cases, especially in the “quality field”.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.40
Judging the Test…
A statistical test of hypothesis is effectively defined by the
significance level ( ) and the sample size (n), both of
which are selected by the statistics practitioner.
Therefore, if the probability of a Type II error ( ) is too
large [we have insufficient power], we can reduce it by
increasing , and/or
increasing the sample size, n.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.41
Judging the Test…
The power of a test is defined as 1– .
It represents the probability of rejecting the null hypothesis when it is
false and the true mean is something other than the null value for the
mean.
If we are testing the hypothesis that the average amount of medication
in blood pressure pills is equal to 6 mg (which is good), and we “fail to
reject” the null hypothesis, ship the pills to patients worldwide, only to
find out later that the “true” average amount of medication is really 8
mg and people die, we get in trouble. This occurred because the
P(reject the null / true mean = 7 mg) = 0.32 which would mean that we
have a 68% chance on not rejecting the null for these BAD pills and
shipping to patients worldwide.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.42
Probability you ship pills whose mean amount of medication is 7 mg approximately 67%

More Related Content

Similar to chapter11.ppt

Chapter8 Introduction to Estimation Hypothesis Testing.pdf
Chapter8 Introduction to Estimation Hypothesis Testing.pdfChapter8 Introduction to Estimation Hypothesis Testing.pdf
Chapter8 Introduction to Estimation Hypothesis Testing.pdf
mekkimekki5
 
6 estimation hypothesis testing t test
6 estimation hypothesis testing t test6 estimation hypothesis testing t test
6 estimation hypothesis testing t test
Penny Jiang
 
B.tech admission in india
B.tech admission in indiaB.tech admission in india
B.tech admission in india
Edhole.com
 
Hypothesis Testing Lesson 1
Hypothesis Testing Lesson 1Hypothesis Testing Lesson 1
Hypothesis Testing Lesson 1
yhchung
 
Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesis
Jaspreet1192
 
hypothesis test
 hypothesis test hypothesis test
hypothesis test
Unsa Shakir
 
Chapter 9 Fundamental of Hypothesis Testing.ppt
Chapter 9 Fundamental of Hypothesis Testing.pptChapter 9 Fundamental of Hypothesis Testing.ppt
Chapter 9 Fundamental of Hypothesis Testing.ppt
HasanGilani3
 
More Statistics
More StatisticsMore Statistics
More Statistics
mandrewmartin
 
Unit 4 Tests of Significance
Unit 4 Tests of SignificanceUnit 4 Tests of Significance
Unit 4 Tests of Significance
Rai University
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
Jags Jagdish
 
hypothesis-tesing.pdf
hypothesis-tesing.pdfhypothesis-tesing.pdf
hypothesis-tesing.pdf
Sandeep Phogat
 
40007 chapter8
40007 chapter840007 chapter8
40007 chapter8
nagaraj navalgund
 
Hypothesis testing - Primer
Hypothesis testing - PrimerHypothesis testing - Primer
Hypothesis testing - Primer
Sreehari Menon CFSA, CAMS
 
Chapter8 introduction to hypothesis testing
Chapter8 introduction to hypothesis testingChapter8 introduction to hypothesis testing
Chapter8 introduction to hypothesis testing
BOmebratu
 
Hypothesis test
Hypothesis testHypothesis test
Hypothesis test
pallopathak
 
Morestatistics22 091208004743-phpapp01
Morestatistics22 091208004743-phpapp01Morestatistics22 091208004743-phpapp01
Morestatistics22 091208004743-phpapp01
mandrewmartin
 
Hypothesis
HypothesisHypothesis
Hypothesis
LIVING KIMARIO
 
Formulatinghypotheses
Formulatinghypotheses Formulatinghypotheses
Formulatinghypotheses
CMA Khursheed Ahmad Bhat
 
testingofhypothesis-150108150611-conversion-gate02.pptx
testingofhypothesis-150108150611-conversion-gate02.pptxtestingofhypothesis-150108150611-conversion-gate02.pptx
testingofhypothesis-150108150611-conversion-gate02.pptx
wigatox256
 
Chapter 1 biostatistics by Dr Ahmed Hussein
Chapter 1 biostatistics by Dr Ahmed HusseinChapter 1 biostatistics by Dr Ahmed Hussein
Chapter 1 biostatistics by Dr Ahmed Hussein
Dr Ghaiath Hussein
 

Similar to chapter11.ppt (20)

Chapter8 Introduction to Estimation Hypothesis Testing.pdf
Chapter8 Introduction to Estimation Hypothesis Testing.pdfChapter8 Introduction to Estimation Hypothesis Testing.pdf
Chapter8 Introduction to Estimation Hypothesis Testing.pdf
 
6 estimation hypothesis testing t test
6 estimation hypothesis testing t test6 estimation hypothesis testing t test
6 estimation hypothesis testing t test
 
B.tech admission in india
B.tech admission in indiaB.tech admission in india
B.tech admission in india
 
Hypothesis Testing Lesson 1
Hypothesis Testing Lesson 1Hypothesis Testing Lesson 1
Hypothesis Testing Lesson 1
 
Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesis
 
hypothesis test
 hypothesis test hypothesis test
hypothesis test
 
Chapter 9 Fundamental of Hypothesis Testing.ppt
Chapter 9 Fundamental of Hypothesis Testing.pptChapter 9 Fundamental of Hypothesis Testing.ppt
Chapter 9 Fundamental of Hypothesis Testing.ppt
 
More Statistics
More StatisticsMore Statistics
More Statistics
 
Unit 4 Tests of Significance
Unit 4 Tests of SignificanceUnit 4 Tests of Significance
Unit 4 Tests of Significance
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
hypothesis-tesing.pdf
hypothesis-tesing.pdfhypothesis-tesing.pdf
hypothesis-tesing.pdf
 
40007 chapter8
40007 chapter840007 chapter8
40007 chapter8
 
Hypothesis testing - Primer
Hypothesis testing - PrimerHypothesis testing - Primer
Hypothesis testing - Primer
 
Chapter8 introduction to hypothesis testing
Chapter8 introduction to hypothesis testingChapter8 introduction to hypothesis testing
Chapter8 introduction to hypothesis testing
 
Hypothesis test
Hypothesis testHypothesis test
Hypothesis test
 
Morestatistics22 091208004743-phpapp01
Morestatistics22 091208004743-phpapp01Morestatistics22 091208004743-phpapp01
Morestatistics22 091208004743-phpapp01
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Formulatinghypotheses
Formulatinghypotheses Formulatinghypotheses
Formulatinghypotheses
 
testingofhypothesis-150108150611-conversion-gate02.pptx
testingofhypothesis-150108150611-conversion-gate02.pptxtestingofhypothesis-150108150611-conversion-gate02.pptx
testingofhypothesis-150108150611-conversion-gate02.pptx
 
Chapter 1 biostatistics by Dr Ahmed Hussein
Chapter 1 biostatistics by Dr Ahmed HusseinChapter 1 biostatistics by Dr Ahmed Hussein
Chapter 1 biostatistics by Dr Ahmed Hussein
 

More from HasanGilani3

Balmer ACID.ppt
Balmer ACID.pptBalmer ACID.ppt
Balmer ACID.ppt
HasanGilani3
 
Intro to SPSS.ppt
Intro to SPSS.pptIntro to SPSS.ppt
Intro to SPSS.ppt
HasanGilani3
 
ad writing.ppt
ad writing.pptad writing.ppt
ad writing.ppt
HasanGilani3
 
Cross_Tabs_lecture.ppt
Cross_Tabs_lecture.pptCross_Tabs_lecture.ppt
Cross_Tabs_lecture.ppt
HasanGilani3
 
2013 SC retail image and consumer perceptions(1).pptx
2013 SC retail image and consumer perceptions(1).pptx2013 SC retail image and consumer perceptions(1).pptx
2013 SC retail image and consumer perceptions(1).pptx
HasanGilani3
 
business ethics.ppt
business ethics.pptbusiness ethics.ppt
business ethics.ppt
HasanGilani3
 
Session 12 How_To_Make_an_Effective_Poster.pptx
Session 12 How_To_Make_an_Effective_Poster.pptxSession 12 How_To_Make_an_Effective_Poster.pptx
Session 12 How_To_Make_an_Effective_Poster.pptx
HasanGilani3
 
Week 3 Consumer psychology.ppt
Week 3 Consumer psychology.pptWeek 3 Consumer psychology.ppt
Week 3 Consumer psychology.ppt
HasanGilani3
 
Luxury brand social media.pdf
Luxury brand social media.pdfLuxury brand social media.pdf
Luxury brand social media.pdf
HasanGilani3
 
Decolonisation-and-anti-racism-in-the-classroom-CAI-workshop-Dec-2020 (1).pptx
Decolonisation-and-anti-racism-in-the-classroom-CAI-workshop-Dec-2020 (1).pptxDecolonisation-and-anti-racism-in-the-classroom-CAI-workshop-Dec-2020 (1).pptx
Decolonisation-and-anti-racism-in-the-classroom-CAI-workshop-Dec-2020 (1).pptx
HasanGilani3
 

More from HasanGilani3 (10)

Balmer ACID.ppt
Balmer ACID.pptBalmer ACID.ppt
Balmer ACID.ppt
 
Intro to SPSS.ppt
Intro to SPSS.pptIntro to SPSS.ppt
Intro to SPSS.ppt
 
ad writing.ppt
ad writing.pptad writing.ppt
ad writing.ppt
 
Cross_Tabs_lecture.ppt
Cross_Tabs_lecture.pptCross_Tabs_lecture.ppt
Cross_Tabs_lecture.ppt
 
2013 SC retail image and consumer perceptions(1).pptx
2013 SC retail image and consumer perceptions(1).pptx2013 SC retail image and consumer perceptions(1).pptx
2013 SC retail image and consumer perceptions(1).pptx
 
business ethics.ppt
business ethics.pptbusiness ethics.ppt
business ethics.ppt
 
Session 12 How_To_Make_an_Effective_Poster.pptx
Session 12 How_To_Make_an_Effective_Poster.pptxSession 12 How_To_Make_an_Effective_Poster.pptx
Session 12 How_To_Make_an_Effective_Poster.pptx
 
Week 3 Consumer psychology.ppt
Week 3 Consumer psychology.pptWeek 3 Consumer psychology.ppt
Week 3 Consumer psychology.ppt
 
Luxury brand social media.pdf
Luxury brand social media.pdfLuxury brand social media.pdf
Luxury brand social media.pdf
 
Decolonisation-and-anti-racism-in-the-classroom-CAI-workshop-Dec-2020 (1).pptx
Decolonisation-and-anti-racism-in-the-classroom-CAI-workshop-Dec-2020 (1).pptxDecolonisation-and-anti-racism-in-the-classroom-CAI-workshop-Dec-2020 (1).pptx
Decolonisation-and-anti-racism-in-the-classroom-CAI-workshop-Dec-2020 (1).pptx
 

Recently uploaded

The effects of customers service quality and online reviews on customer loyal...
The effects of customers service quality and online reviews on customer loyal...The effects of customers service quality and online reviews on customer loyal...
The effects of customers service quality and online reviews on customer loyal...
balatucanapplelovely
 
Digital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and TemplatesDigital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and Templates
Aurelien Domont, MBA
 
Event Report - SAP Sapphire 2024 Orlando - lots of innovation and old challenges
Event Report - SAP Sapphire 2024 Orlando - lots of innovation and old challengesEvent Report - SAP Sapphire 2024 Orlando - lots of innovation and old challenges
Event Report - SAP Sapphire 2024 Orlando - lots of innovation and old challenges
Holger Mueller
 
Chapter 7 Final business management sciences .ppt
Chapter 7 Final business management sciences .pptChapter 7 Final business management sciences .ppt
Chapter 7 Final business management sciences .ppt
ssuser567e2d
 
Organizational Change Leadership Agile Tour Geneve 2024
Organizational Change Leadership Agile Tour Geneve 2024Organizational Change Leadership Agile Tour Geneve 2024
Organizational Change Leadership Agile Tour Geneve 2024
Kirill Klimov
 
Best practices for project execution and delivery
Best practices for project execution and deliveryBest practices for project execution and delivery
Best practices for project execution and delivery
CLIVE MINCHIN
 
Company Valuation webinar series - Tuesday, 4 June 2024
Company Valuation webinar series - Tuesday, 4 June 2024Company Valuation webinar series - Tuesday, 4 June 2024
Company Valuation webinar series - Tuesday, 4 June 2024
FelixPerez547899
 
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
my Pandit
 
Zodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
Zodiac Signs and Food Preferences_ What Your Sign Says About Your TasteZodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
Zodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
my Pandit
 
FIA officials brutally tortured innocent and snatched 200 Bitcoins of worth 4...
FIA officials brutally tortured innocent and snatched 200 Bitcoins of worth 4...FIA officials brutally tortured innocent and snatched 200 Bitcoins of worth 4...
FIA officials brutally tortured innocent and snatched 200 Bitcoins of worth 4...
jamalseoexpert1978
 
Training my puppy and implementation in this story
Training my puppy and implementation in this storyTraining my puppy and implementation in this story
Training my puppy and implementation in this story
WilliamRodrigues148
 
-- June 2024 is National Volunteer Month --
-- June 2024 is National Volunteer Month ---- June 2024 is National Volunteer Month --
-- June 2024 is National Volunteer Month --
NZSG
 
Evgen Osmak: Methods of key project parameters estimation: from the shaman-in...
Evgen Osmak: Methods of key project parameters estimation: from the shaman-in...Evgen Osmak: Methods of key project parameters estimation: from the shaman-in...
Evgen Osmak: Methods of key project parameters estimation: from the shaman-in...
Lviv Startup Club
 
Mastering B2B Payments Webinar from BlueSnap
Mastering B2B Payments Webinar from BlueSnapMastering B2B Payments Webinar from BlueSnap
Mastering B2B Payments Webinar from BlueSnap
Norma Mushkat Gaffin
 
The Influence of Marketing Strategy and Market Competition on Business Perfor...
The Influence of Marketing Strategy and Market Competition on Business Perfor...The Influence of Marketing Strategy and Market Competition on Business Perfor...
The Influence of Marketing Strategy and Market Competition on Business Perfor...
Adam Smith
 
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdfikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
agatadrynko
 
Exploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social DreamingExploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social Dreaming
Nicola Wreford-Howard
 
Lundin Gold Corporate Presentation - June 2024
Lundin Gold Corporate Presentation - June 2024Lundin Gold Corporate Presentation - June 2024
Lundin Gold Corporate Presentation - June 2024
Adnet Communications
 
3 Simple Steps To Buy Verified Payoneer Account In 2024
3 Simple Steps To Buy Verified Payoneer Account In 20243 Simple Steps To Buy Verified Payoneer Account In 2024
3 Simple Steps To Buy Verified Payoneer Account In 2024
SEOSMMEARTH
 
Building Your Employer Brand with Social Media
Building Your Employer Brand with Social MediaBuilding Your Employer Brand with Social Media
Building Your Employer Brand with Social Media
LuanWise
 

Recently uploaded (20)

The effects of customers service quality and online reviews on customer loyal...
The effects of customers service quality and online reviews on customer loyal...The effects of customers service quality and online reviews on customer loyal...
The effects of customers service quality and online reviews on customer loyal...
 
Digital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and TemplatesDigital Transformation and IT Strategy Toolkit and Templates
Digital Transformation and IT Strategy Toolkit and Templates
 
Event Report - SAP Sapphire 2024 Orlando - lots of innovation and old challenges
Event Report - SAP Sapphire 2024 Orlando - lots of innovation and old challengesEvent Report - SAP Sapphire 2024 Orlando - lots of innovation and old challenges
Event Report - SAP Sapphire 2024 Orlando - lots of innovation and old challenges
 
Chapter 7 Final business management sciences .ppt
Chapter 7 Final business management sciences .pptChapter 7 Final business management sciences .ppt
Chapter 7 Final business management sciences .ppt
 
Organizational Change Leadership Agile Tour Geneve 2024
Organizational Change Leadership Agile Tour Geneve 2024Organizational Change Leadership Agile Tour Geneve 2024
Organizational Change Leadership Agile Tour Geneve 2024
 
Best practices for project execution and delivery
Best practices for project execution and deliveryBest practices for project execution and delivery
Best practices for project execution and delivery
 
Company Valuation webinar series - Tuesday, 4 June 2024
Company Valuation webinar series - Tuesday, 4 June 2024Company Valuation webinar series - Tuesday, 4 June 2024
Company Valuation webinar series - Tuesday, 4 June 2024
 
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
Taurus Zodiac Sign: Unveiling the Traits, Dates, and Horoscope Insights of th...
 
Zodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
Zodiac Signs and Food Preferences_ What Your Sign Says About Your TasteZodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
Zodiac Signs and Food Preferences_ What Your Sign Says About Your Taste
 
FIA officials brutally tortured innocent and snatched 200 Bitcoins of worth 4...
FIA officials brutally tortured innocent and snatched 200 Bitcoins of worth 4...FIA officials brutally tortured innocent and snatched 200 Bitcoins of worth 4...
FIA officials brutally tortured innocent and snatched 200 Bitcoins of worth 4...
 
Training my puppy and implementation in this story
Training my puppy and implementation in this storyTraining my puppy and implementation in this story
Training my puppy and implementation in this story
 
-- June 2024 is National Volunteer Month --
-- June 2024 is National Volunteer Month ---- June 2024 is National Volunteer Month --
-- June 2024 is National Volunteer Month --
 
Evgen Osmak: Methods of key project parameters estimation: from the shaman-in...
Evgen Osmak: Methods of key project parameters estimation: from the shaman-in...Evgen Osmak: Methods of key project parameters estimation: from the shaman-in...
Evgen Osmak: Methods of key project parameters estimation: from the shaman-in...
 
Mastering B2B Payments Webinar from BlueSnap
Mastering B2B Payments Webinar from BlueSnapMastering B2B Payments Webinar from BlueSnap
Mastering B2B Payments Webinar from BlueSnap
 
The Influence of Marketing Strategy and Market Competition on Business Perfor...
The Influence of Marketing Strategy and Market Competition on Business Perfor...The Influence of Marketing Strategy and Market Competition on Business Perfor...
The Influence of Marketing Strategy and Market Competition on Business Perfor...
 
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdfikea_woodgreen_petscharity_dog-alogue_digital.pdf
ikea_woodgreen_petscharity_dog-alogue_digital.pdf
 
Exploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social DreamingExploring Patterns of Connection with Social Dreaming
Exploring Patterns of Connection with Social Dreaming
 
Lundin Gold Corporate Presentation - June 2024
Lundin Gold Corporate Presentation - June 2024Lundin Gold Corporate Presentation - June 2024
Lundin Gold Corporate Presentation - June 2024
 
3 Simple Steps To Buy Verified Payoneer Account In 2024
3 Simple Steps To Buy Verified Payoneer Account In 20243 Simple Steps To Buy Verified Payoneer Account In 2024
3 Simple Steps To Buy Verified Payoneer Account In 2024
 
Building Your Employer Brand with Social Media
Building Your Employer Brand with Social MediaBuilding Your Employer Brand with Social Media
Building Your Employer Brand with Social Media
 

chapter11.ppt

  • 1. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.1 Chapter 11 Introduction to Hypothesis Testing
  • 2. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.2 Nonstatistical Hypothesis Testing… A criminal trial is an example of hypothesis testing without the statistics. In a trial a jury must decide between two hypotheses. The null hypothesis is H0: The defendant is innocent The alternative hypothesis or research hypothesis is H1: The defendant is guilty The jury does not know which hypothesis is true. They must make a decision on the basis of evidence presented.
  • 3. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.3 Nonstatistical Hypothesis Testing… In the language of statistics convicting the defendant is called rejecting the null hypothesis in favor of the alternative hypothesis. That is, the jury is saying that there is enough evidence to conclude that the defendant is guilty (i.e., there is enough evidence to support the alternative hypothesis). If the jury acquits it is stating that there is not enough evidence to support the alternative hypothesis. Notice that the jury is not saying that the defendant is innocent, only that there is not enough evidence to support the alternative hypothesis. That is why we never say that we accept the null hypothesis, although most people in industry will say “We accept the null hypothesis”
  • 4. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.4 Nonstatistical Hypothesis Testing… There are two possible errors. A Type I error occurs when we reject a true null hypothesis. That is, a Type I error occurs when the jury convicts an innocent person. We would want the probability of this type of error [maybe 0.001 – beyond a reasonable doubt] to be very small for a criminal trial where a conviction results in the death penalty, whereas for a civil trial, where conviction might result in someone having to “pay for damages to a wrecked auto”,we would be willing for the probability to be larger [0.49 – preponderance of the evidence ] P(Type I error) =  [usually 0.05 or 0.01]
  • 5. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.5 Nonstatistical Hypothesis Testing… A Type II error occurs when we don’t reject a false null hypothesis [accept the null hypothesis]. That occurs when a guilty defendant is acquitted. In practice, this type of error is by far the most serious mistake we normally make. For example, if we test the hypothesis that the amount of medication in a heart pill is equal to a value which will cure your heart problem and “accept the hull hypothesis that the amount is ok”. Later on we find out that the average amount is WAY too large and people die from “too much medication” [I wish we had rejected the hypothesis and threw the pills in the trash can], it’s too late because we shipped the pills to the public.
  • 6. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.6 Nonstatistical Hypothesis Testing… The probability of a Type I error is denoted as α (Greek letter alpha). The probability of a type II error is β (Greek letter beta). The two probabilities are inversely related. Decreasing one increases the other, for a fixed sample size. In other words, you can’t have  and β both real small for any old sample size. You may have to take a much larger sample size, or in the court example, you need much more evidence.
  • 7. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.7 Types of Errors… A Type I error occurs when we reject a true null hypothesis (i.e. Reject H0 when it is TRUE) A Type II error occurs when we don’t reject a false null hypothesis (i.e. Do NOT reject H0 when it is FALSE) H0 T F Reject I Reject II
  • 8. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.8 Nonstatistical Hypothesis Testing… The critical concepts are theses: 1. There are two hypotheses, the null and the alternative hypotheses. 2. The procedure begins with the assumption that the null hypothesis is true. 3. The goal is to determine whether there is enough evidence to infer that the alternative hypothesis is true, or the null is not likely to be true. 4. There are two possible decisions: Conclude that there is enough evidence to support the alternative hypothesis. Reject the null. Conclude that there is not enough evidence to support the alternative hypothesis. Fail to reject the null.
  • 9. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.9 Concepts of Hypothesis Testing (1)… The two hypotheses are called the null hypothesis and the other the alternative or research hypothesis. The usual notation is: H0: — the ‘null’hypothesis H1: — the ‘alternative’or ‘research’hypothesis The null hypothesis (H0) will always state that the parameter equals the value specified in the alternative hypothesis (H1) pronounced H “nought”
  • 10. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.10 Concepts of Hypothesis Testing… Consider mean demand for computers during assembly lead time. Rather than estimate the mean demand, our operations manager wants to know whether the mean is different from 350 units. In other words, someone is claiming that the mean time is 350 units and we want to check this claim out to see if it appears reasonable. We can rephrase this request into a test of the hypothesis: H0: = 350 Thus, our research hypothesis becomes: H1: ≠ 350 Recall that the standard deviation [σ]was assumed to be 75, the sample size [n] was 25, and the sample mean [ ] was calculated to be 370.16
  • 11. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.11 Concepts of Hypothesis Testing… For example, if we’re trying to decide whether the mean is not equal to 350, a large value of (say, 600) would provide enough evidence. If is close to 350 (say, 355) we could not say that this provides a great deal of evidence to infer that the population mean is different than 350.
  • 12. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.12 Concepts of Hypothesis Testing (4)… The two possible decisions that can be made: Conclude that there is enough evidence to support the alternative hypothesis (also stated as: reject the null hypothesis in favor of the alternative) Conclude that there is not enough evidence to support the alternative hypothesis (also stated as: failing to reject the null hypothesis in favor of the alternative) NOTE: we do not say that we accept the null hypothesis if a statistician is around…
  • 13. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.13 Concepts of Hypothesis Testing (2)… The testing procedure begins with the assumption that the null hypothesis is true. Thus, until we have further statistical evidence, we will assume: H0: = 350 (assumed to be TRUE) The next step will be to determine the sampling distribution of the sample mean assuming the true mean is 350. is normal with 350 75/SQRT(25) = 15
  • 14. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.14 Is the Sample Mean in the Guts of the Sampling Distribution??
  • 15. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.15 Three ways to determine this: First way 1. Unstandardized test statistic: Is in the guts of the sampling distribution? Depends on what you define as the “guts” of the sampling distribution. If we define the guts as the center 95% of the distribution [this means  = 0.05], then the critical values that define the guts will be 1.96 standard deviations of X-Bar on either side of the mean of the sampling distribution [350], or UCV = 350 + 1.96*15 = 350 + 29.4 = 379.4 LCV = 350 – 1.96*15 = 350 – 29.4 = 320.6
  • 16. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.16 1. Unstandardized Test Statistic Approach
  • 17. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.17 Three ways to determine this: Second way 2. Standardized test statistic: Since we defined the “guts” of the sampling distribution to be the center 95% [ = 0.05], If the Z-Score for the sample mean is greater than 1.96, we know that will be in the reject region on the right side or If the Z-Score for the sample mean is less than -1.97, we know that will be in the reject region on the left side. Z = ( - )/ = (370.16 – 350)/15 = 1.344 Is this Z-Score in the guts of the sampling distribution???
  • 18. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.18 2. Standardized Test Statistic Approach
  • 19. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.19 Three ways to determine this: Third way 3. The p-value approach (which is generally used with a computer and statistical software): Increase the “Rejection Region” until it “captures” the sample mean. For this example, since is to the right of the mean, calculate P( > 370.16) = P(Z > 1.344) = 0.0901 Since this is a two tailed test, you must double this area for the p-value. p-value = 2*(0.0901) = 0.1802 Since we defined the guts as the center 95% [ = 0.05], the reject region is the other 5%. Since our sample mean, , is in the 18.02% region, it cannot be in our 5% rejection region [ = 0.05].
  • 20. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.20 3. p-value approach
  • 21. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.21 Statistical Conclusions: Unstandardized Test Statistic: Since LCV (320.6) < (370.16) < UCV (379.4), we reject the null hypothesis at a 5% level of significance. Standardized Test Statistic: Since -Z/2(-1.96) < Z(1.344) < Z/2 (1.96), we fail to reject the null hypothesis at a 5% level of significance. P-value: Since p-value (0.1802) > 0.05 [], we fail to reject the hull hypothesis at a 5% level of significance.
  • 22. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.22 Example 11.1… A department store manager determines that a new billing system will be cost-effective only if the mean monthly account is more than $170. A random sample of 400 monthly accounts is drawn, for which the sample mean is $178. The accounts are approximately normally distributed with a standard deviation of $65. Can we conclude that the new system will be cost-effective?
  • 23. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.23 Example 11.1… The system will be cost effective if the mean account balance for all customers is greater than $170. We express this belief as a our research hypothesis, that is: H1: > 170 (this is what we want to determine) Thus, our null hypothesis becomes: H0: = 170 (this specifies a single value for the parameter of interest) – Actually H0: μ < 170
  • 24. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.24 Example 11.1… What we want to show: H1: > 170 H0: < 170 (we’ll assume this is true) Normally we put Ho first. We know: n = 400, = 178, and = 65 = 65/SQRT(400) = 3.25  = 0.05
  • 25. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.25 Example 11.1… Rejection Region… The rejection region is 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. is the critical value of to reject H0.
  • 26. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.26 Example 11.1… At a 5% significance level (i.e. =0.05), we get [all  in one tail] Z = Z0.05 = 1.645 Therefore, UCV = 170 + 1.645*3.25 = 175.35 Since our sample mean (178) is greater than the critical value we calculated (175.35), we reject the null hypothesis in favor of H1 OR (>1.645) Reject null OR p-value = P( > 178) = P(Z > 2.46) = 0.0069 < 0.05 Reject null
  • 27. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.27 Example 11.1… The Big Picture… =175.34 =178 H1: > 170 H0: = 170 Reject H0 in favor of
  • 28. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.28 Interpreting the p-value… The smaller the p-value, the more statistical evidence exists to support the alternative hypothesis. •If the p-value is less than 1%, there is overwhelming evidence that supports the alternative hypothesis. •If the p-value is between 1% and 5%, there is a strong evidence that supports the alternative hypothesis. •If the p-value is between 5% and 10% there is a weak evidence that supports the alternative hypothesis. •If the p-value exceeds 10%, there is no evidence that supports the alternative hypothesis. We observe a p-value of .0069, hence there is overwhelming evidence to support H1: > 170.
  • 29. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.29 Interpreting the p-value… Overwhelming Evidence (Highly Significant) Strong Evidence (Significant) Weak Evidence (Not Significant) No Evidence (Not Significant) 0 .01 .05 .10 p=.0069
  • 30. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.30 Conclusions of a Test of Hypothesis… If we reject the null hypothesis, we conclude that there is enough evidence to infer that the alternative hypothesis is true. If we fail to reject the null hypothesis, we conclude that there is not enough statistical evidence to infer that the alternative hypothesis is true. This does not mean that we have proven that the null hypothesis is true! Keep in mind that committing a Type I error OR a Type II error can be VERY bad depending on the problem.
  • 31. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.31 One tail test with rejection region on right The last example was a one tail test, because the rejection region is located in only one tail of the sampling distribution: More correctly, this was an example of a right tail test. H1: μ > 170 H0: μ < 170
  • 32. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.32 One tail test with rejection region on left The rejection region will be in the left tail.
  • 33. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.33 Two tail test with rejection region in both tails The rejection region is split equally between the two tails.
  • 34. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.34 Example 11.2… Students work AT&T’s argues that its rates are such that customers won’t see a difference in their phone bills between them and their competitors. They calculate the mean and standard deviation for all their customers at $17.09 and $3.87 (respectively). Note: Don’t know the true value for σ, so we estimate σ from the data [σ ~ s = 3.87] – large sample so don’t worry. They then sample 100 customers at random and recalculate a monthly phone bill based on competitor’s rates. Our null and alternative hypotheses are H1: ≠ 17.09. We do this by assuming that: H0: = 17.09
  • 35. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.35 Example 11.2… The rejection region is set up so we can reject the null hypothesis when the test statistic is large or when it is small. That is, we set up a two-tail rejection region. The total area in the rejection region must sum to , so we divide  by 2. stat is “small” stat is “large”
  • 36. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.36 Example 11.2… At a 5% significance level (i.e. = .05), we have /2 = .025. Thus, z.025 = 1.96 and our rejection region is: z < –1.96 -or- z > 1.96 z -z.025 +z.025 0
  • 37. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.37 Example 11.2… From the data, we calculate = 17.55 Using our standardized test statistic: We find that: Since z = 1.19 is not greater than 1.96, nor less than –1.96 we cannot reject the null hypothesis in favor of H1. That is “there is insufficient evidence to infer that there is a difference between the bills of AT&T and the competitor.”
  • 38. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.38 Summary of One- and Two-Tail Tests… One-Tail Test (left tail) Two-Tail Test One-Tail Test (right tail)
  • 39. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.39 Probability of a Type II Error – A Type II error occurs when a false null hypothesis is not rejected or “you accept the null when it is not true” but don’t say it this way if a statistician is around. In practice, this is by far the most serious error you can make in most cases, especially in the “quality field”.
  • 40. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.40 Judging the Test… A statistical test of hypothesis is effectively defined by the significance level ( ) and the sample size (n), both of which are selected by the statistics practitioner. Therefore, if the probability of a Type II error ( ) is too large [we have insufficient power], we can reduce it by increasing , and/or increasing the sample size, n.
  • 41. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.41 Judging the Test… The power of a test is defined as 1– . It represents the probability of rejecting the null hypothesis when it is false and the true mean is something other than the null value for the mean. If we are testing the hypothesis that the average amount of medication in blood pressure pills is equal to 6 mg (which is good), and we “fail to reject” the null hypothesis, ship the pills to patients worldwide, only to find out later that the “true” average amount of medication is really 8 mg and people die, we get in trouble. This occurred because the P(reject the null / true mean = 7 mg) = 0.32 which would mean that we have a 68% chance on not rejecting the null for these BAD pills and shipping to patients worldwide.
  • 42. Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 11.42 Probability you ship pills whose mean amount of medication is 7 mg approximately 67%

Editor's Notes

  1. October 4, 2023