SlideShare une entreprise Scribd logo
1  sur  77
Tests of HypothesisHypothesis
What is a Hypothesis?
 A hypothesis is a claim
(assumption) about a
population parameter:
 population mean
 population proportion
Example: The mean monthly cell phone bill
in this city is μ = $42
Example: The proportion of adults in this
city with cell phones is π = 0.68
The Null Hypothesis, H0
 States the claim or assertion to be tested
Example: The average number of TV sets in
U.S. Homes is equal to three ( )
 Is always about a population parameter,
not about a sample statistic
3μ:H0 =
3μ:H0 = 3X:H0 =
The Null Hypothesis, H0
 Begin with the assumption that the null
hypothesis is true
 Similar to the notion of innocent until
proven guilty
 Refers to the status quo or historical value
 Always contains “=” , “≤” or “≥” sign
 May or may not be rejected
(continued)
The Alternative Hypothesis, H1
 Is the opposite of the null hypothesis
 e.g., The average number of TV sets in U.S.
homes is not equal to 3 ( H1: μ ≠ 3 )
 Challenges the status quo
 May or may not be proven
 Is generally the hypothesis that the
researcher is trying to prove
The Hypothesis Testing
Process
 Claim: The population mean age is 50.
 H0: μ = 50, H1: μ ≠ 50
 Sample the population and find sample mean.
Population
Sample
The Hypothesis Testing
Process
Sampling
Distribution of X
μ = 50
If H0 is true
If it is unlikely that you
would get a sample
mean of this value ...
... then you reject
the null hypothesis
that μ = 50.
20
... When in fact this were
the population mean…
X
(continued)
The Four Steps
‘p value’ & significance
The Four Steps
The Test Statistic and
Critical Values
Critical Values
“Too Far Away” From Mean of Sampling Distribution
(Significant)
Sampling Distribution of the test statistic
Region of
Rejection
Region of
Rejection
Region of
Non-Rejection
Possible ErrorsErrors in Hypothesis Test
 Type I Error
 Reject a true null hypothesis
 Considered a serious type of error
 The probability of a Type I Error is α

Called level of significance of the test

Set by researcher in advance
 Type II Error
 Failure to reject false null hypothesis
 The probability of a Type II Error is β
Possible Errors in Hypothesis Test
Decision Making
Possible Hypothesis Test Outcomes
Actual Situation
Decision H0 True H0 False
Do Not
Reject H0
No Error
Probability 1 - α
Type II Error
Probability β
Reject H0 Type I Error
Probability α
No Error
Probability 1 - β
(continued)
Possible Errors in Hypothesis Test
Decision Making
 The confidence coefficient (1-α) is the
probability of not rejecting H0 when it is true.
 The confidence level of a hypothesis test is
(1-α)*100%.
 The power of a statistical test (1-β) is the
probability of rejecting H0 when it is false.
(continued)
Type I & II Error Relationship
 Type I and Type II errors cannot happen at
the same time
 A Type I error can only occur if H0 is true
 A Type II error can only occur if H0 is false
If Type I error probability ( α ) , then
Type II error probability ( β )
Level of Significance
and the Rejection Region
Level of significance = α
This is a two-tail test because there is a rejection region in both tails
H0: μ = 3
H1: μ ≠
3
Critical values
Rejection Region
/2
0
α/2α
Hypothesis Tests for the Meanfor the Mean
σσ KnownKnown σσ UnknownUnknown
Hypothesis
Tests for µ
(Z test) (t test)
Z Test of Hypothesis for the
Mean (σ Known)
 Convert sample statistic ( ) to a ZSTAT test statisticX
The test statistic is:
n
σ
μX
STATZ
−
=
σ Known σ Unknown
Hypothesis
Tests for µ
σ Known σ Unknown
(Z test) (t test)
Critical Value
Approach to Testing
 For a two-tail test for the mean, σ known:
 Convert sample statistic ( ) to test statistic
(ZSTAT)
 Determine the critical Z values for a specified
level of significance α from a table
 Decision Rule: If the test statistic falls in the
rejection region, reject H0 ; otherwise do not
reject H0
X
Do not reject H0 Reject H0Reject H0
 There are two
cutoff values
(critical values),
defining the
regions of
rejection
Two-Tail Tests
α/2
-Zα/2 0
H0: μ = 3
H1: μ ≠
3
+Zα/2
α/2
Lower
critical
value
Upper
critical
value
3
Z
X
6 Steps in
Hypothesis Testing
1. State the null hypothesis, H0 and the
alternative hypothesis, H1
2. Choose the level of significance, α, and the
sample size, n
3. Determine the appropriate test statistic and
sampling distribution
4. Determine the critical values that divide the
rejection and non-rejection regions
6 Steps in
Hypothesis Testing
5. Collect data and compute the value of the test
statistic
6. Make the statistical decision and state the
managerial conclusion. If the test statistic falls
into the non-rejection region, do not reject the
null hypothesis H0. If the test statistic falls into
the rejection region, reject the null hypothesis.
Express the managerial conclusion in the
context of the problem
(continued)
Hypothesis Testing Example
Test the claim that the true mean # of
TV sets in US homes is equal to 3.
(Assume σ = 0.8)
1. State the appropriate null and alternative
hypotheses
 H0: μ = 3 H1: μ ≠ 3 (This is a two-tail test)
2. Specify the desired level of significance and the
sample size
 Suppose that α = 0.05 and n = 100 are chosen
for this test
2.0
.08
.16
100
0.8
32.84
n
σ
μX
STATZ −=
−
=
−
=
−
=
Hypothesis Testing Example
3. Determine the appropriate technique
 σ is known so this is a Z test.
4. Determine the critical values
 For α = 0.05 the critical Z values are ±1.96
5. Collect the data and compute the test statistic
 Suppose the sample results are
n = 100, X = 2.84 (σ = 0.8 is assumed known)
So the test statistic is:
(continued)
Reject H0 Do not reject H0
 6. Is the test statistic in the rejection region?
α/2 = 0.025
-Zα/2 = -1.96 0
Reject H0 if
ZSTAT < -1.96 or
ZSTAT > 1.96;
otherwise do
not reject H0
Hypothesis Testing Example
(continued)
α/2 = 0.025
Reject H0
+Zα/2 = +1.96
Here, ZSTAT = -2.0 < -1.96, so the
test statistic is in the rejection
region
6 (continued). Reach a decision and interpret the result
-2.0
Since ZSTAT = -2.0 < -1.96, reject the null hypothesis
and conclude there is sufficient evidence that the mean
number of TVs in US homes is not equal to 3
Hypothesis Testing Example
(continued)
Reject H0 Do not reject H0
α = 0.05/2
-Zα/2 = -1.96 0
α = 0.05/2
Reject H0
+Zα/2= +1.96
Hypothesis Testing Example
Hypothesis Testing Example
p-Value Approach to Testing
 p-value: Probability of obtaining a test
statistic equal to or more extreme than the
observed sample value given H0 is true
 The p-value is also called the observed level of
significance
 It is the smallest value of α for which H0 can be
rejected
p-Value Approach to Testing:
Interpreting the p-value
 Compare the p-value with α
 If p-value < α , reject H0
 If p-value ≥ α , do not reject H0
 Remember
 If the p-value is low then H0 must go
p-value Hypothesis Testing
Example
Test the claim that the true mean # of
TV sets in US homes is equal to 3.
(Assume σ = 0.8)
1. State the appropriate null and alternative
hypotheses
 H0: μ = 3 H1: μ ≠ 3 (This is a two-tail test)
2. Specify the desired level of significance and the
sample size
 Suppose that α = 0.05 and n = 100 are chosen
for this test
2.0
.08
.16
100
0.8
32.84
n
σ
μX
STATZ −=
−
=
−
=
−
=
p-value Hypothesis Testing
Example
3. Determine the appropriate technique
 σ is assumed known so this is a Z test.
4. Collect the data, compute the test statistic and the
p-value
 Suppose the sample results are
n = 100, X = 2.84 (σ = 0.8 is assumed known)
So the test statistic is:
(continued)
p-Value Hypothesis Testing Example:
Calculating the p-value
4. (continued) Calculate the p-value.
 How likely is it to get a ZSTAT of -2 (or something further from the
mean (0), in either direction) if H0 is true?
p-value = 0.0228 + 0.0228 = 0.0456
P(Z < -2.0) = 0.0228
0
-2.0
Z
2.0
P(Z > 2.0) = 0.0228
 5. Is the p-value < α?
 Since p-value = 0.0456 < α = 0.05 Reject H0
 5. (continued) State the managerial conclusion
in the context of the situation.
 There is sufficient evidence to conclude the average number of
TVs in US homes is not equal to 3.
p-value Hypothesis Testing
Example
(continued)
Connection Between Two Tail
Tests and Confidence Intervals
 For X = 2.84, σ = 0.8 and n = 100, the 95%
confidence interval is:
2.6832 ≤ μ ≤ 2.9968
 Since this interval does not contain the hypothesized
mean (3.0), we reject the null hypothesis at α = 0.05
100
0.8
(1.96)2.84to
100
0.8
(1.96)-2.84 +
Hypothesis Testing:
σ Unknown
 If the population standard deviation is unknown, you
instead use the sample standard deviation S.
 Because of this change, you use the t distribution instead
of the Z distribution to test the null hypothesis about the
mean.
 When using the t distribution you must assume the
population you are sampling from follows a normal
distribution.
 All other steps, concepts, and conclusions are the
same.
t Test of Hypothesis for the Mean
(σ Unknown)
The test statistic is:
n
S
μX
STATt
−
=
Hypothesis
Tests for µ
σ Known σ Unknownσ Known σ Unknown
(Z test) (t test)
t Test of Hypothesis for the Mean
(σ Unknown)
 Convert sample statistic ( ) to a tSTAT test statistic
The test statistic is:
n
S
μX
STATt
−
=
Hypothesis
Tests for µ
σ Known σ Unknownσ Known σ Unknown
(Z test) (t test)
X
The test statistic is:
n
S
μX
STATt
−
=
Hypothesis
Tests for µ
σ Known σ Unknownσ Known σ Unknown
(Z test) (t test)
Reading the
T tableT table
Example: Two-Tail Test
(σ Unknown)
The average cost of a hotel
room in New York is said to
be $168 per night. To
determine if this is true, a
random sample of 25 hotels
is taken and resulted in an X
of $172.50 and an S of
$15.40. Test the appropriate
hypotheses at α = 0.05.
(Assume the population distribution is normal)
H0: μ = 168
H1: μ ≠
168
 α = 0.05
 n = 25, df = 25-1=24
 σ is unknown, so
use a t statistic
 Critical Value:
±t24,0.025 = ± 2.0639
Example Solution:
Two-Tail t TestTwo-Tail t Test
Do not reject H0: insufficient evidence that true
mean cost is different than $168
Reject H0Reject H0
α/2=.025
-t 24,0.025
Do not reject H0
0
α/2=.025
-2.0639 2.0639
1.46
25
15.40
168172.50
n
S
μX
STATt =
−
=
−
=
1.46
H0: μ = 168
H1: μ ≠
168
t 24,0.025
Connection of Two Tail Tests to
Confidence Intervals
 For X = 172.5, S = 15.40 and n = 25, the 95%
confidence interval for µ is:
172.5 - (2.0639) 15.4/ 25 to 172.5 + (2.0639) 15.4/ 25
166.14 ≤ μ ≤ 178.86
 Since this interval contains the Hypothesized mean (168),
we do not reject the null hypothesis at α = 0.05
One-Tail Tests
 In many cases, the alternative hypothesis
focuses on a particular direction
H0: μ ≥ 3
H1: μ < 3
H0: μ ≤ 3
H1: μ > 3
This is a lower-tail test since the
alternative hypothesis is focused on
the lower tail below the mean of 3
This is an upper-tail test since the
alternative hypothesis is focused on
the upper tail above the mean of 3
Reject H0 Do not reject H0
 There is only one
critical value, since
the rejection area is
in only one tail
Lower-Tail Tests
α
-Zα or -tα
0
μ
H0: μ ≥ 3
H1: μ < 3
Z or t
X
Critical value
Reject H0Do not reject H0
Upper-Tail Tests
α
Zα or tα0
μ
H0: μ ≤ 3
H1: μ > 3
 There is only one
critical value, since
the rejection area is
in only one tail
Critical value
Z or t
X
_
Example: Upper-Tail t Test
for Mean (σ unknown)
A telecom manager thinks that customer monthly
cell phone bills have increased, and now
average over $52 per month. The company
wishes to test this claim. (Assume a normal
population)
H0: μ ≤ 52 the average is not over $52 per month
H1: μ > 52 the average is greater than $52 per month
(i.e., sufficient evidence exists to support the
manager’s claim)
Form hypothesis test:
Reject H0Do not reject H0
 Suppose that α = 0.10 is chosen for this test and
n = 25.
Find the rejection region:
α = 0.10
1.3180
Reject H0
Reject H0 if tSTAT > 1.318
Example: Find Rejection Region
(continued)
Obtain sample and compute the test statistic
Suppose a sample is taken with the following
results: n = 25, X = 53.1, and S = 10
 Then the test statistic is:
0.55
25
10
5253.1
n
S
μX
tSTAT
=
−
=
−
=
Example: Test Statistic
(continued)
Reject H0Do not reject H0
Example: Decision
α = 0.10
1.318
0
Reject H0
Do not reject H0 since tSTAT = 0.55 ≤ 1.318
there is not sufficient evidence that the
mean bill is over $52
tSTAT = 0.55
Reach a decision and interpret the result:
(continued)
Hypothesis Tests for ProportionsProportions
 Involves categorical variables
 Two possible outcomes
 Possesses characteristic of interest
 Does not possess characteristic of interest
 Fraction or proportion of the population in the
category of interest is denoted by π
ProportionsProportions
 Sample proportion in the category of interest is
denoted by p

 When both nπ and n(1-π) are at least 5, p can
be approximated by a normal distribution with
mean and standard deviation

sizesample
sampleininterestofcategoryinnumber
n
X
p ==
π=pμ
n
)(1
σ
ππ −
=p
(continued)
 The sampling
distribution of p is
approximately
normal, so the test
statistic is a ZSTAT
value:
Hypothesis Tests for Proportions
n
)(1
p
STATZ
ππ
π
−
−
=
nπ ≥ 5
&
n(1-π) ≥ 5
Example: Z Test for Proportion
A marketing company
claims that it receives
8% responses from its
mailing. To test this
claim, a random sample
of 500 were surveyed
with 25 responses. Test
at the α = 0.05
significance level.
Check:
nπ = (500)(.08) = 40
n(1-π) = (500)(.92) = 460

Z Test for Proportion: Solution
α = 0.05
n = 500, p = 0.05
Reject H0 at α = 0.05
H0: π = 0.08
H1: π ≠
0.08
Critical Values: ± 1.96
Test Statistic:
Decision:
Conclusion:
z0
Reject Reject
.025.025
1.96
-2.47
There is sufficient
evidence to reject the
company’s claim of 8%
response rate.
2.47
500
.08).08(1
.08.05
n
)(1
p
STATZ −=
−
−
=
−
−
=
ππ
π
-1.96
Two-sample t-testTwo-sample t-test comparing two
population means (Independent Samples)
Two-sample t-testTwo-sample t-test comparing two
population means
Two-sample t-testTwo-sample t-test - example
Two-sample t-testTwo-sample t-test - example
Two-sample t-testTwo-sample t-test - solution
Two-sample z-testTwo-sample z-test for comparing twofor comparing two
population proportionspopulation proportions
Two-sample z-testTwo-sample z-test for comparing twofor comparing two
population proportionspopulation proportions
Practice ProblemPractice Problem
Paired t TestPaired t Test (Dependent Samples)(Dependent Samples)
Paired t test is used when experiments are conducted on the same set
of inputs (in this case ‘locations’)
Paired t TestPaired t Test (Dependent Samples)(Dependent Samples)
Paired t TestPaired t Test (Dependent Samples)(Dependent Samples)
Sd = Std dev of the differences
Tests for VariancesTests for Variances
-Chi-squaredChi-squared
-F-testF-test
Chi-squaredChi-squared distributiondistribution
The chi-squared distribution (also chi-square or χ²-distribution) with k (or sometimes ‘df’)
degrees of freedom is the distribution of a sum of the squares of k independent standard
normal random variables.
If Z1, ..., Zk are independent, standard normal random variables, then the sum of their
squares,
is distributed according to the chi-squared distribution with k degrees of freedom. This is
usually denoted as
Use: It helps us understand the relationship between categorical variables like age, sex,
year etc.
Chi-squaredChi-squared exampleexample
Degrees of Freedom = (r-1)(c-1)
Where r = no. of rows & c = no. of columns.
SolutionSolution
Similarly, we can fill the ‘expected values’ of other cells. General formula is
EV = (Row Total*Column total)/Grand total; here it is 25*60/100 = 15
SolutionSolution
SolutionSolution
Now look up the chi squared table for 1 degree of freedom & 5% significance.
The value is 3.841; since 2 < 3.841, we can conclude that there is no
significant difference between the two genders.
The TableThe Table
F TestF Test
Is the variance the same for both brands?
The F StatisticThe F Statistic
The F TableThe F Table
There is one table for each level of significance!
DF in Numerator (n-1)
DF in Denominator
(n-1)
Calculating the F StatisticCalculating the F Statistic
Highest variance/Lowest variance
(across all the samples)
ConcludingConcluding
F value = ___________
Critical value (from the F-table for .05 significance) = _____
If F-value < Critical Value => DO NOT reject the null hypothesis,
that is, the variances across samples are the same.
ThankThank youyou!!

Contenu connexe

Tendances

Statistical inference concept, procedure of hypothesis testing
Statistical inference   concept, procedure of hypothesis testingStatistical inference   concept, procedure of hypothesis testing
Statistical inference concept, procedure of hypothesis testingAmitaChaudhary19
 
STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testingjundumaug1
 
Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesisvikramlawand
 
Testing of hypotheses
Testing of hypothesesTesting of hypotheses
Testing of hypothesesRajThakuri
 
Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statisticsewhite00
 
Statistical inference
Statistical inferenceStatistical inference
Statistical inferenceJags Jagdish
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesisJags Jagdish
 
Chi square tests using SPSS
Chi square tests using SPSSChi square tests using SPSS
Chi square tests using SPSSParag Shah
 
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...nszakir
 
One-Sample Hypothesis Tests
One-Sample Hypothesis TestsOne-Sample Hypothesis Tests
One-Sample Hypothesis TestsSr Edith Bogue
 

Tendances (20)

Statistical inference concept, procedure of hypothesis testing
Statistical inference   concept, procedure of hypothesis testingStatistical inference   concept, procedure of hypothesis testing
Statistical inference concept, procedure of hypothesis testing
 
STATISTICS: Hypothesis Testing
STATISTICS: Hypothesis TestingSTATISTICS: Hypothesis Testing
STATISTICS: Hypothesis Testing
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesis
 
Testing of hypotheses
Testing of hypothesesTesting of hypotheses
Testing of hypotheses
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statistics
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
T test
T testT test
T test
 
Statistical inference
Statistical inferenceStatistical inference
Statistical inference
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
Chi square tests using SPSS
Chi square tests using SPSSChi square tests using SPSS
Chi square tests using SPSS
 
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
 
Non parametric-tests
Non parametric-testsNon parametric-tests
Non parametric-tests
 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statistics
 
STATISTIC ESTIMATION
STATISTIC ESTIMATIONSTATISTIC ESTIMATION
STATISTIC ESTIMATION
 
One-Sample Hypothesis Tests
One-Sample Hypothesis TestsOne-Sample Hypothesis Tests
One-Sample Hypothesis Tests
 

En vedette

PROJECT REPORT 2(2014)TATA PROJECT
PROJECT REPORT 2(2014)TATA PROJECTPROJECT REPORT 2(2014)TATA PROJECT
PROJECT REPORT 2(2014)TATA PROJECTNilanjan Bhaumik
 
Probability distribution 2
Probability distribution 2Probability distribution 2
Probability distribution 2Nilanjan Bhaumik
 
Four steps to hypothesis testing
Four steps to hypothesis testingFour steps to hypothesis testing
Four steps to hypothesis testingHasnain Baber
 
Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt finalpiyushdhaker
 
Levine smume7 ch09 modified
Levine smume7 ch09 modifiedLevine smume7 ch09 modified
Levine smume7 ch09 modifiedmgbardossy
 
Statistics Applied to Biomedical Sciences
Statistics Applied to Biomedical SciencesStatistics Applied to Biomedical Sciences
Statistics Applied to Biomedical SciencesLuca Massarelli
 
Module 9 Lecture Notes
Module 9 Lecture NotesModule 9 Lecture Notes
Module 9 Lecture NotesLumen Learning
 
CPSC 125 Ch 4 Sec 4
CPSC 125 Ch 4 Sec 4CPSC 125 Ch 4 Sec 4
CPSC 125 Ch 4 Sec 4David Wood
 
Hypothesis tests for one and two population variances ppt @ bec doms
Hypothesis tests for one and two population variances ppt @ bec domsHypothesis tests for one and two population variances ppt @ bec doms
Hypothesis tests for one and two population variances ppt @ bec domsBabasab Patil
 
CPSC 125 Ch 3 Sec 2
CPSC 125 Ch 3 Sec 2CPSC 125 Ch 3 Sec 2
CPSC 125 Ch 3 Sec 2David Wood
 
CPSC 125 Ch 3 Sec 1
CPSC 125 Ch 3 Sec 1CPSC 125 Ch 3 Sec 1
CPSC 125 Ch 3 Sec 1David Wood
 

En vedette (20)

F table
F tableF table
F table
 
PROJECT REPORT 2(2014)TATA PROJECT
PROJECT REPORT 2(2014)TATA PROJECTPROJECT REPORT 2(2014)TATA PROJECT
PROJECT REPORT 2(2014)TATA PROJECT
 
Probability+distribution
Probability+distributionProbability+distribution
Probability+distribution
 
Probability distribution 2
Probability distribution 2Probability distribution 2
Probability distribution 2
 
Four steps to hypothesis testing
Four steps to hypothesis testingFour steps to hypothesis testing
Four steps to hypothesis testing
 
Sampling distribution
Sampling distributionSampling distribution
Sampling distribution
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Hypothesis testing ppt final
Hypothesis testing ppt finalHypothesis testing ppt final
Hypothesis testing ppt final
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Levine smume7 ch09 modified
Levine smume7 ch09 modifiedLevine smume7 ch09 modified
Levine smume7 ch09 modified
 
Statistics Applied to Biomedical Sciences
Statistics Applied to Biomedical SciencesStatistics Applied to Biomedical Sciences
Statistics Applied to Biomedical Sciences
 
Module 9 Lecture Notes
Module 9 Lecture NotesModule 9 Lecture Notes
Module 9 Lecture Notes
 
Forecasting
ForecastingForecasting
Forecasting
 
CPSC 125 Ch 4 Sec 4
CPSC 125 Ch 4 Sec 4CPSC 125 Ch 4 Sec 4
CPSC 125 Ch 4 Sec 4
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis tests for one and two population variances ppt @ bec doms
Hypothesis tests for one and two population variances ppt @ bec domsHypothesis tests for one and two population variances ppt @ bec doms
Hypothesis tests for one and two population variances ppt @ bec doms
 
CPSC 125 Ch 3 Sec 2
CPSC 125 Ch 3 Sec 2CPSC 125 Ch 3 Sec 2
CPSC 125 Ch 3 Sec 2
 
CPSC 125 Ch 3 Sec 1
CPSC 125 Ch 3 Sec 1CPSC 125 Ch 3 Sec 1
CPSC 125 Ch 3 Sec 1
 
Unit 3
Unit 3Unit 3
Unit 3
 
Introductory sessions
Introductory sessionsIntroductory sessions
Introductory sessions
 

Similaire à Hypothesis

Introduction to hypothesis testing ppt @ bec doms
Introduction to hypothesis testing ppt @ bec domsIntroduction to hypothesis testing ppt @ bec doms
Introduction to hypothesis testing ppt @ bec domsBabasab Patil
 
hypothesisTestPPT.pptx
hypothesisTestPPT.pptxhypothesisTestPPT.pptx
hypothesisTestPPT.pptxdangwalakash07
 
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-testHypothesis Test _One-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-testRavindra Nath Shukla
 
Lesson05_Static11
Lesson05_Static11Lesson05_Static11
Lesson05_Static11thangv
 
Hypothesis Testing (Statistical Significance)1Hypo.docx
Hypothesis Testing (Statistical Significance)1Hypo.docxHypothesis Testing (Statistical Significance)1Hypo.docx
Hypothesis Testing (Statistical Significance)1Hypo.docxadampcarr67227
 
Int 150 The Moral Instinct”1. Most cultures agree that abus.docx
Int 150 The Moral Instinct”1.   Most cultures agree that abus.docxInt 150 The Moral Instinct”1.   Most cultures agree that abus.docx
Int 150 The Moral Instinct”1. Most cultures agree that abus.docxmariuse18nolet
 
BIOSTATISTICS T TEST Z TEST F TEST HYPOTHESIS TYPES OF ERROR.pptx
BIOSTATISTICS T TEST Z TEST F TEST HYPOTHESIS TYPES OF ERROR.pptxBIOSTATISTICS T TEST Z TEST F TEST HYPOTHESIS TYPES OF ERROR.pptx
BIOSTATISTICS T TEST Z TEST F TEST HYPOTHESIS TYPES OF ERROR.pptxPayaamvohra1
 
[The following information applies to the questions displayed belo.docx
[The following information applies to the questions displayed belo.docx[The following information applies to the questions displayed belo.docx
[The following information applies to the questions displayed belo.docxdanielfoster65629
 
Descriptive Statistics Formula Sheet Sample Populatio.docx
Descriptive Statistics Formula Sheet    Sample Populatio.docxDescriptive Statistics Formula Sheet    Sample Populatio.docx
Descriptive Statistics Formula Sheet Sample Populatio.docxsimonithomas47935
 

Similaire à Hypothesis (20)

Introduction to hypothesis testing ppt @ bec doms
Introduction to hypothesis testing ppt @ bec domsIntroduction to hypothesis testing ppt @ bec doms
Introduction to hypothesis testing ppt @ bec doms
 
hypothesisTestPPT.pptx
hypothesisTestPPT.pptxhypothesisTestPPT.pptx
hypothesisTestPPT.pptx
 
Testing a claim about a mean
Testing a claim about a mean  Testing a claim about a mean
Testing a claim about a mean
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-testHypothesis Test _One-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-test
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Lesson05_Static11
Lesson05_Static11Lesson05_Static11
Lesson05_Static11
 
Hypothesis Testing (Statistical Significance)1Hypo.docx
Hypothesis Testing (Statistical Significance)1Hypo.docxHypothesis Testing (Statistical Significance)1Hypo.docx
Hypothesis Testing (Statistical Significance)1Hypo.docx
 
TEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptxTEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptx
 
Int 150 The Moral Instinct”1. Most cultures agree that abus.docx
Int 150 The Moral Instinct”1.   Most cultures agree that abus.docxInt 150 The Moral Instinct”1.   Most cultures agree that abus.docx
Int 150 The Moral Instinct”1. Most cultures agree that abus.docx
 
hypothesis_testing-ch9-39-14402.pdf
hypothesis_testing-ch9-39-14402.pdfhypothesis_testing-ch9-39-14402.pdf
hypothesis_testing-ch9-39-14402.pdf
 
More Statistics
More StatisticsMore Statistics
More Statistics
 
Basics of Hypothesis Testing
Basics of Hypothesis Testing  Basics of Hypothesis Testing
Basics of Hypothesis Testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
BIOSTATISTICS T TEST Z TEST F TEST HYPOTHESIS TYPES OF ERROR.pptx
BIOSTATISTICS T TEST Z TEST F TEST HYPOTHESIS TYPES OF ERROR.pptxBIOSTATISTICS T TEST Z TEST F TEST HYPOTHESIS TYPES OF ERROR.pptx
BIOSTATISTICS T TEST Z TEST F TEST HYPOTHESIS TYPES OF ERROR.pptx
 
[The following information applies to the questions displayed belo.docx
[The following information applies to the questions displayed belo.docx[The following information applies to the questions displayed belo.docx
[The following information applies to the questions displayed belo.docx
 
Descriptive Statistics Formula Sheet Sample Populatio.docx
Descriptive Statistics Formula Sheet    Sample Populatio.docxDescriptive Statistics Formula Sheet    Sample Populatio.docx
Descriptive Statistics Formula Sheet Sample Populatio.docx
 
HypothesisTesting_HANDOUT.pdf
HypothesisTesting_HANDOUT.pdfHypothesisTesting_HANDOUT.pdf
HypothesisTesting_HANDOUT.pdf
 

Plus de Nilanjan Bhaumik

Plus de Nilanjan Bhaumik (20)

Amity mba ii sem legal aspects of business module i revised
Amity mba ii sem legal aspects of business module i revised Amity mba ii sem legal aspects of business module i revised
Amity mba ii sem legal aspects of business module i revised
 
Amity mba ii sem legal aspects of business module ii
Amity mba ii sem legal aspects of business  module iiAmity mba ii sem legal aspects of business  module ii
Amity mba ii sem legal aspects of business module ii
 
Business law answers for 75 questions
Business law answers for 75 questionsBusiness law answers for 75 questions
Business law answers for 75 questions
 
7
77
7
 
business low
business lowbusiness low
business low
 
5
55
5
 
3
33
3
 
business low
business lowbusiness low
business low
 
Hr accounting ppt
Hr accounting pptHr accounting ppt
Hr accounting ppt
 
Grievance ppt
Grievance pptGrievance ppt
Grievance ppt
 
Career management ppt
Career management pptCareer management ppt
Career management ppt
 
Module iv individual in the organization fs
Module iv individual in the organization fsModule iv individual in the organization fs
Module iv individual in the organization fs
 
Module iii individual in the group fs
Module iii individual in the group fsModule iii individual in the group fs
Module iii individual in the group fs
 
Module 2 --personality
Module 2 --personalityModule 2 --personality
Module 2 --personality
 
Module 2 --perception
Module 2 --perceptionModule 2 --perception
Module 2 --perception
 
Module 2 --conflict management part 1
Module 2 --conflict management part 1Module 2 --conflict management part 1
Module 2 --conflict management part 1
 
Modul 2 --motivation
Modul 2 --motivationModul 2 --motivation
Modul 2 --motivation
 
Leadership
LeadershipLeadership
Leadership
 
Measures of dispersion
Measures of dispersionMeasures of dispersion
Measures of dispersion
 
Measures of central tendency
Measures of central tendencyMeasures of central tendency
Measures of central tendency
 

Dernier

Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxolyaivanovalion
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% SecurePooja Nehwal
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一ffjhghh
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxMohammedJunaid861692
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 

Dernier (20)

Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一定制英国白金汉大学毕业证(UCB毕业证书)																			成绩单原版一比一
定制英国白金汉大学毕业证(UCB毕业证书) 成绩单原版一比一
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 

Hypothesis

  • 2. What is a Hypothesis?  A hypothesis is a claim (assumption) about a population parameter:  population mean  population proportion Example: The mean monthly cell phone bill in this city is μ = $42 Example: The proportion of adults in this city with cell phones is π = 0.68
  • 3. The Null Hypothesis, H0  States the claim or assertion to be tested Example: The average number of TV sets in U.S. Homes is equal to three ( )  Is always about a population parameter, not about a sample statistic 3μ:H0 = 3μ:H0 = 3X:H0 =
  • 4. The Null Hypothesis, H0  Begin with the assumption that the null hypothesis is true  Similar to the notion of innocent until proven guilty  Refers to the status quo or historical value  Always contains “=” , “≤” or “≥” sign  May or may not be rejected (continued)
  • 5. The Alternative Hypothesis, H1  Is the opposite of the null hypothesis  e.g., The average number of TV sets in U.S. homes is not equal to 3 ( H1: μ ≠ 3 )  Challenges the status quo  May or may not be proven  Is generally the hypothesis that the researcher is trying to prove
  • 6. The Hypothesis Testing Process  Claim: The population mean age is 50.  H0: μ = 50, H1: μ ≠ 50  Sample the population and find sample mean. Population Sample
  • 7. The Hypothesis Testing Process Sampling Distribution of X μ = 50 If H0 is true If it is unlikely that you would get a sample mean of this value ... ... then you reject the null hypothesis that μ = 50. 20 ... When in fact this were the population mean… X (continued)
  • 9. ‘p value’ & significance
  • 11. The Test Statistic and Critical Values Critical Values “Too Far Away” From Mean of Sampling Distribution (Significant) Sampling Distribution of the test statistic Region of Rejection Region of Rejection Region of Non-Rejection
  • 12. Possible ErrorsErrors in Hypothesis Test  Type I Error  Reject a true null hypothesis  Considered a serious type of error  The probability of a Type I Error is α  Called level of significance of the test  Set by researcher in advance  Type II Error  Failure to reject false null hypothesis  The probability of a Type II Error is β
  • 13. Possible Errors in Hypothesis Test Decision Making Possible Hypothesis Test Outcomes Actual Situation Decision H0 True H0 False Do Not Reject H0 No Error Probability 1 - α Type II Error Probability β Reject H0 Type I Error Probability α No Error Probability 1 - β (continued)
  • 14. Possible Errors in Hypothesis Test Decision Making  The confidence coefficient (1-α) is the probability of not rejecting H0 when it is true.  The confidence level of a hypothesis test is (1-α)*100%.  The power of a statistical test (1-β) is the probability of rejecting H0 when it is false. (continued)
  • 15. Type I & II Error Relationship  Type I and Type II errors cannot happen at the same time  A Type I error can only occur if H0 is true  A Type II error can only occur if H0 is false If Type I error probability ( α ) , then Type II error probability ( β )
  • 16. Level of Significance and the Rejection Region Level of significance = α This is a two-tail test because there is a rejection region in both tails H0: μ = 3 H1: μ ≠ 3 Critical values Rejection Region /2 0 α/2α
  • 17. Hypothesis Tests for the Meanfor the Mean σσ KnownKnown σσ UnknownUnknown Hypothesis Tests for µ (Z test) (t test)
  • 18. Z Test of Hypothesis for the Mean (σ Known)  Convert sample statistic ( ) to a ZSTAT test statisticX The test statistic is: n σ μX STATZ − = σ Known σ Unknown Hypothesis Tests for µ σ Known σ Unknown (Z test) (t test)
  • 19. Critical Value Approach to Testing  For a two-tail test for the mean, σ known:  Convert sample statistic ( ) to test statistic (ZSTAT)  Determine the critical Z values for a specified level of significance α from a table  Decision Rule: If the test statistic falls in the rejection region, reject H0 ; otherwise do not reject H0 X
  • 20. Do not reject H0 Reject H0Reject H0  There are two cutoff values (critical values), defining the regions of rejection Two-Tail Tests α/2 -Zα/2 0 H0: μ = 3 H1: μ ≠ 3 +Zα/2 α/2 Lower critical value Upper critical value 3 Z X
  • 21. 6 Steps in Hypothesis Testing 1. State the null hypothesis, H0 and the alternative hypothesis, H1 2. Choose the level of significance, α, and the sample size, n 3. Determine the appropriate test statistic and sampling distribution 4. Determine the critical values that divide the rejection and non-rejection regions
  • 22. 6 Steps in Hypothesis Testing 5. Collect data and compute the value of the test statistic 6. Make the statistical decision and state the managerial conclusion. If the test statistic falls into the non-rejection region, do not reject the null hypothesis H0. If the test statistic falls into the rejection region, reject the null hypothesis. Express the managerial conclusion in the context of the problem (continued)
  • 23. Hypothesis Testing Example Test the claim that the true mean # of TV sets in US homes is equal to 3. (Assume σ = 0.8) 1. State the appropriate null and alternative hypotheses  H0: μ = 3 H1: μ ≠ 3 (This is a two-tail test) 2. Specify the desired level of significance and the sample size  Suppose that α = 0.05 and n = 100 are chosen for this test
  • 24. 2.0 .08 .16 100 0.8 32.84 n σ μX STATZ −= − = − = − = Hypothesis Testing Example 3. Determine the appropriate technique  σ is known so this is a Z test. 4. Determine the critical values  For α = 0.05 the critical Z values are ±1.96 5. Collect the data and compute the test statistic  Suppose the sample results are n = 100, X = 2.84 (σ = 0.8 is assumed known) So the test statistic is: (continued)
  • 25. Reject H0 Do not reject H0  6. Is the test statistic in the rejection region? α/2 = 0.025 -Zα/2 = -1.96 0 Reject H0 if ZSTAT < -1.96 or ZSTAT > 1.96; otherwise do not reject H0 Hypothesis Testing Example (continued) α/2 = 0.025 Reject H0 +Zα/2 = +1.96 Here, ZSTAT = -2.0 < -1.96, so the test statistic is in the rejection region
  • 26. 6 (continued). Reach a decision and interpret the result -2.0 Since ZSTAT = -2.0 < -1.96, reject the null hypothesis and conclude there is sufficient evidence that the mean number of TVs in US homes is not equal to 3 Hypothesis Testing Example (continued) Reject H0 Do not reject H0 α = 0.05/2 -Zα/2 = -1.96 0 α = 0.05/2 Reject H0 +Zα/2= +1.96
  • 29. p-Value Approach to Testing  p-value: Probability of obtaining a test statistic equal to or more extreme than the observed sample value given H0 is true  The p-value is also called the observed level of significance  It is the smallest value of α for which H0 can be rejected
  • 30. p-Value Approach to Testing: Interpreting the p-value  Compare the p-value with α  If p-value < α , reject H0  If p-value ≥ α , do not reject H0  Remember  If the p-value is low then H0 must go
  • 31. p-value Hypothesis Testing Example Test the claim that the true mean # of TV sets in US homes is equal to 3. (Assume σ = 0.8) 1. State the appropriate null and alternative hypotheses  H0: μ = 3 H1: μ ≠ 3 (This is a two-tail test) 2. Specify the desired level of significance and the sample size  Suppose that α = 0.05 and n = 100 are chosen for this test
  • 32. 2.0 .08 .16 100 0.8 32.84 n σ μX STATZ −= − = − = − = p-value Hypothesis Testing Example 3. Determine the appropriate technique  σ is assumed known so this is a Z test. 4. Collect the data, compute the test statistic and the p-value  Suppose the sample results are n = 100, X = 2.84 (σ = 0.8 is assumed known) So the test statistic is: (continued)
  • 33. p-Value Hypothesis Testing Example: Calculating the p-value 4. (continued) Calculate the p-value.  How likely is it to get a ZSTAT of -2 (or something further from the mean (0), in either direction) if H0 is true? p-value = 0.0228 + 0.0228 = 0.0456 P(Z < -2.0) = 0.0228 0 -2.0 Z 2.0 P(Z > 2.0) = 0.0228
  • 34.  5. Is the p-value < α?  Since p-value = 0.0456 < α = 0.05 Reject H0  5. (continued) State the managerial conclusion in the context of the situation.  There is sufficient evidence to conclude the average number of TVs in US homes is not equal to 3. p-value Hypothesis Testing Example (continued)
  • 35. Connection Between Two Tail Tests and Confidence Intervals  For X = 2.84, σ = 0.8 and n = 100, the 95% confidence interval is: 2.6832 ≤ μ ≤ 2.9968  Since this interval does not contain the hypothesized mean (3.0), we reject the null hypothesis at α = 0.05 100 0.8 (1.96)2.84to 100 0.8 (1.96)-2.84 +
  • 36. Hypothesis Testing: σ Unknown  If the population standard deviation is unknown, you instead use the sample standard deviation S.  Because of this change, you use the t distribution instead of the Z distribution to test the null hypothesis about the mean.  When using the t distribution you must assume the population you are sampling from follows a normal distribution.  All other steps, concepts, and conclusions are the same.
  • 37. t Test of Hypothesis for the Mean (σ Unknown) The test statistic is: n S μX STATt − = Hypothesis Tests for µ σ Known σ Unknownσ Known σ Unknown (Z test) (t test) t Test of Hypothesis for the Mean (σ Unknown)  Convert sample statistic ( ) to a tSTAT test statistic The test statistic is: n S μX STATt − = Hypothesis Tests for µ σ Known σ Unknownσ Known σ Unknown (Z test) (t test) X The test statistic is: n S μX STATt − = Hypothesis Tests for µ σ Known σ Unknownσ Known σ Unknown (Z test) (t test)
  • 39. Example: Two-Tail Test (σ Unknown) The average cost of a hotel room in New York is said to be $168 per night. To determine if this is true, a random sample of 25 hotels is taken and resulted in an X of $172.50 and an S of $15.40. Test the appropriate hypotheses at α = 0.05. (Assume the population distribution is normal) H0: μ = 168 H1: μ ≠ 168
  • 40.  α = 0.05  n = 25, df = 25-1=24  σ is unknown, so use a t statistic  Critical Value: ±t24,0.025 = ± 2.0639 Example Solution: Two-Tail t TestTwo-Tail t Test Do not reject H0: insufficient evidence that true mean cost is different than $168 Reject H0Reject H0 α/2=.025 -t 24,0.025 Do not reject H0 0 α/2=.025 -2.0639 2.0639 1.46 25 15.40 168172.50 n S μX STATt = − = − = 1.46 H0: μ = 168 H1: μ ≠ 168 t 24,0.025
  • 41. Connection of Two Tail Tests to Confidence Intervals  For X = 172.5, S = 15.40 and n = 25, the 95% confidence interval for µ is: 172.5 - (2.0639) 15.4/ 25 to 172.5 + (2.0639) 15.4/ 25 166.14 ≤ μ ≤ 178.86  Since this interval contains the Hypothesized mean (168), we do not reject the null hypothesis at α = 0.05
  • 42. One-Tail Tests  In many cases, the alternative hypothesis focuses on a particular direction H0: μ ≥ 3 H1: μ < 3 H0: μ ≤ 3 H1: μ > 3 This is a lower-tail test since the alternative hypothesis is focused on the lower tail below the mean of 3 This is an upper-tail test since the alternative hypothesis is focused on the upper tail above the mean of 3
  • 43. Reject H0 Do not reject H0  There is only one critical value, since the rejection area is in only one tail Lower-Tail Tests α -Zα or -tα 0 μ H0: μ ≥ 3 H1: μ < 3 Z or t X Critical value
  • 44. Reject H0Do not reject H0 Upper-Tail Tests α Zα or tα0 μ H0: μ ≤ 3 H1: μ > 3  There is only one critical value, since the rejection area is in only one tail Critical value Z or t X _
  • 45. Example: Upper-Tail t Test for Mean (σ unknown) A telecom manager thinks that customer monthly cell phone bills have increased, and now average over $52 per month. The company wishes to test this claim. (Assume a normal population) H0: μ ≤ 52 the average is not over $52 per month H1: μ > 52 the average is greater than $52 per month (i.e., sufficient evidence exists to support the manager’s claim) Form hypothesis test:
  • 46. Reject H0Do not reject H0  Suppose that α = 0.10 is chosen for this test and n = 25. Find the rejection region: α = 0.10 1.3180 Reject H0 Reject H0 if tSTAT > 1.318 Example: Find Rejection Region (continued)
  • 47. Obtain sample and compute the test statistic Suppose a sample is taken with the following results: n = 25, X = 53.1, and S = 10  Then the test statistic is: 0.55 25 10 5253.1 n S μX tSTAT = − = − = Example: Test Statistic (continued)
  • 48. Reject H0Do not reject H0 Example: Decision α = 0.10 1.318 0 Reject H0 Do not reject H0 since tSTAT = 0.55 ≤ 1.318 there is not sufficient evidence that the mean bill is over $52 tSTAT = 0.55 Reach a decision and interpret the result: (continued)
  • 49. Hypothesis Tests for ProportionsProportions  Involves categorical variables  Two possible outcomes  Possesses characteristic of interest  Does not possess characteristic of interest  Fraction or proportion of the population in the category of interest is denoted by π
  • 50. ProportionsProportions  Sample proportion in the category of interest is denoted by p   When both nπ and n(1-π) are at least 5, p can be approximated by a normal distribution with mean and standard deviation  sizesample sampleininterestofcategoryinnumber n X p == π=pμ n )(1 σ ππ − =p (continued)
  • 51.  The sampling distribution of p is approximately normal, so the test statistic is a ZSTAT value: Hypothesis Tests for Proportions n )(1 p STATZ ππ π − − = nπ ≥ 5 & n(1-π) ≥ 5
  • 52. Example: Z Test for Proportion A marketing company claims that it receives 8% responses from its mailing. To test this claim, a random sample of 500 were surveyed with 25 responses. Test at the α = 0.05 significance level. Check: nπ = (500)(.08) = 40 n(1-π) = (500)(.92) = 460 
  • 53. Z Test for Proportion: Solution α = 0.05 n = 500, p = 0.05 Reject H0 at α = 0.05 H0: π = 0.08 H1: π ≠ 0.08 Critical Values: ± 1.96 Test Statistic: Decision: Conclusion: z0 Reject Reject .025.025 1.96 -2.47 There is sufficient evidence to reject the company’s claim of 8% response rate. 2.47 500 .08).08(1 .08.05 n )(1 p STATZ −= − − = − − = ππ π -1.96
  • 54. Two-sample t-testTwo-sample t-test comparing two population means (Independent Samples)
  • 55. Two-sample t-testTwo-sample t-test comparing two population means
  • 59. Two-sample z-testTwo-sample z-test for comparing twofor comparing two population proportionspopulation proportions
  • 60. Two-sample z-testTwo-sample z-test for comparing twofor comparing two population proportionspopulation proportions
  • 62. Paired t TestPaired t Test (Dependent Samples)(Dependent Samples) Paired t test is used when experiments are conducted on the same set of inputs (in this case ‘locations’)
  • 63. Paired t TestPaired t Test (Dependent Samples)(Dependent Samples)
  • 64. Paired t TestPaired t Test (Dependent Samples)(Dependent Samples) Sd = Std dev of the differences
  • 65. Tests for VariancesTests for Variances -Chi-squaredChi-squared -F-testF-test
  • 66. Chi-squaredChi-squared distributiondistribution The chi-squared distribution (also chi-square or χ²-distribution) with k (or sometimes ‘df’) degrees of freedom is the distribution of a sum of the squares of k independent standard normal random variables. If Z1, ..., Zk are independent, standard normal random variables, then the sum of their squares, is distributed according to the chi-squared distribution with k degrees of freedom. This is usually denoted as Use: It helps us understand the relationship between categorical variables like age, sex, year etc.
  • 67. Chi-squaredChi-squared exampleexample Degrees of Freedom = (r-1)(c-1) Where r = no. of rows & c = no. of columns.
  • 68. SolutionSolution Similarly, we can fill the ‘expected values’ of other cells. General formula is EV = (Row Total*Column total)/Grand total; here it is 25*60/100 = 15
  • 70. SolutionSolution Now look up the chi squared table for 1 degree of freedom & 5% significance. The value is 3.841; since 2 < 3.841, we can conclude that there is no significant difference between the two genders.
  • 72. F TestF Test Is the variance the same for both brands?
  • 73. The F StatisticThe F Statistic
  • 74. The F TableThe F Table There is one table for each level of significance! DF in Numerator (n-1) DF in Denominator (n-1)
  • 75. Calculating the F StatisticCalculating the F Statistic Highest variance/Lowest variance (across all the samples)
  • 76. ConcludingConcluding F value = ___________ Critical value (from the F-table for .05 significance) = _____ If F-value < Critical Value => DO NOT reject the null hypothesis, that is, the variances across samples are the same.