Beruflich Dokumente
Kultur Dokumente
TRADITIONAL P-VALUE
1. Formulate the null hypothesis and the 1. Formulate the null hypothesis and the
alternative hypothesis. alternative hypothesis.
2. Set the level of significance and 2. Set the level of significance.
select the appropriate test. select the appropriate test.
3. Establish the critical region.
4. Compute the value of the test statistic. 3. Compute the value of the test statistic.
STEPS
5. Decide: 4. Decide:
Reject Ho if the value of test statistic Reject Ho if the p-value is less than α
belongs to the critical region.
Do not reject Ho if the value of the test Do not reject Ho if the p-value is greater
statistics does not belong to the critical (or equal) than α
region.
6. Make a conclusion. 5. Make a conclusion.
HYPOTHESIS TEST FOR µ
σ known σ unknown
One mean
Three or more
Two means means
𝑯𝒐 : 𝝁 = 𝝁𝒐
HYPOTHESIS TEST FOR ONE MEAN ҧ 0
𝑥−𝜇
Test Statistic: 𝑡𝑐 =
𝑠/ 𝑛
Given: 𝑥ҧ = sample mean
The average daily earnings for 𝜇0 = 623 𝜇0 = hypothesized mean
those working in a hospital is 𝑛 = 21 𝑠 = sample standard deviation
P623. A group of employees 𝑥ҧ = 650 𝑛 = sample size
working for a private hospital 𝑠 = 71
felt that they earned more. α = 0.05
The mean daily earning for a
random sample of 21
employees showed an average
daily earnings of P650 with a
standard deviation of P71. At
0.05 level of significance, can
it be concluded that the
employees are correct?
HYPOTHESIS TEST FOR ONE MEAN
1. HO: 𝜇 ≤ 623 (The average daily earnings for those
The average daily earnings for working in a hospital is not more than P623.)
those working in a hospital is HA : 𝜇 > 623 (The average daily earnings for those working
P623. A group of employees in a hospital is more than P623.)
working for a private hospital 2. σ is unknown 3. α = 0.05
felt that they earned more. t-test @ α=0.05
The mean daily earning for a df = 20
random sample of 21
ҧ 0
𝑥−𝜇 650−623 𝑡𝛼 = 1.725
employees showed an average 4. 𝑡𝑐 = = = 1.7427
𝑠/ 𝑛 71/ 21
daily earnings of P650 with a
standard deviation of P71. At 5. Since 𝑡𝑐 > 𝑡𝛼 , reject HO.
0.05 level of significance, can
it be concluded that the 6. The evidence is enough to conclude that the average
employees are correct? daily earnings for those working in a hospital is more than
P623.
HYPOTHESIS TEST FOR ONE MEAN
1. HO: 𝜇 = 120 (The mean amount per sales invoice is $120.)
The following data invoices are HA : 𝜇 ≠ 120 (The mean amount per sales invoice differs
the amounts (in dollars) in a from $120.)
random sample of 12 sales
invoices. 2. σ is unknown 3. α/2 = 0.025 α/2 = 0.025
108.98 152.22 111.45 t-test @ α=0.05
110.59 127.46 107.26 df = 11 −𝑡𝛼/2 = −2.201 +𝑡𝛼/2 = 2.201
93.32 91.97 111.56
ҧ 0
𝑥−𝜇 112.8508−120
75.71 128.58 135.11 4. 𝑡𝑐 = = = −1.1908
𝑠/ 𝑛 20.7980/ 12
5. Since −𝑡𝛼/2 < 𝑡𝑐 < +𝑡𝛼/2 , do not reject HO.
At 0.05 level of significance, is
there sufficient evidence to 6. The evidence is not enough to conclude that the mean
conclude that the mean amount per sales invoice differs from $120.
amount per sales invoice differs
from $120?
HYPOTHESIS TEST FOR TWO MEANS
𝑯𝒐 𝑯𝑨 Critical Region Value of Test Statistic
𝜎1 = 𝜎2 but unknown
𝑥ҧ 1 −𝑥ҧ 2 −𝛿
𝑡𝑐 =
𝑠2 2
1 + 𝑠2
𝑛1 𝑛2
2
𝑠1 2 𝑠2 2
+
𝑛1 𝑛2
where df = 2 2
𝑠1 2 ൗ𝑛1 𝑠2 2 ൗ𝑛2
𝑛1 −1
+ 𝑛 −1
2
HYPOTHESIS TEST FOR TWO
ONE MEAN
MEANS
1. H0 : 𝜇A − 𝜇B = 0 (There is no significant difference between the
The following are test scores on a
mean scores of the two colleges.)
standardized examination HA : 𝜇A − 𝜇B ≠ 0 (There is a significant difference between the
administered to a random mean scores of the two colleges.)
sample of 15 students in college 2. σ is unknown, t-test @ α=0.05
A and 10 students in college B. 3. t-Test: Two-Sample Assuming Equal Variances
Grades in college A are 75, 88, 65, Variable 1 Variable 2
100, 100, 95, 82, 57, 42, 100, 72, Mean 80 75
Variance 376.1428571 340.2222222
49, 100, 85, and 90; and grades in Observations 15 10
college B are 95, 80, 72, 63, 100, Pooled Variance 362.0869565
45, 81, 92, 50, and 72. Use 0.05 Hypothesized Mean
level of significance to test Difference 0
df 23
whether the difference between t Stat 0.643634314
the means of these two samples P(T<=t) one-tail 0.263089503
is significant. t Critical one-tail 1.713871528
P(T<=t) two-tail 0.526179005
t Critical two-tail 2.06865761
HYPOTHESIS TEST FOR TWO
ONE MEAN
MEANS
t-Test: Two-Sample Assuming Equal Traditional Approach P-Value Approach
Variances
Variable 1 Variable 2 1. H0 : 𝜇A − 𝜇B = 0 1. H0 : 𝜇A − 𝜇B = 0
Mean 80 75 HA : 𝜇A − 𝜇B ≠ 0 HA : 𝜇A − 𝜇B ≠ 0
Variance 376.1428571 340.2222222 2. σ is unknown 2. σ is unknown
Observations 15 10 t-test @ α=0.05 t-test @ α=0.05
Pooled Variance 362.0869565 3. p-value = 0.5262
3. Reject H0 if
Hypothesized
Mean Difference 0 𝑡𝑐 > 𝑡𝛼/2 or 𝑡𝑐 < −𝑡𝛼/2 4. Do not reject H0
df 23 i.e,𝑡𝑐 > 2.0687 or 𝑡𝑐 < −2.0687 since p-value > α.
t Stat 0.643634314 4. 𝑡𝑐 = 0.6436 5. There is no
P(T<=t) one-tail 0.263089503 5. Do not reject H0 since significant difference
t Critical one-tail 1.713871528 −2.0686 ≤ 0.6463 ≤ 2.0686 between the mean
P(T<=t) two-tail 0.526179005
6. There is no significant scores of the two
t Critical two-tail 2.06865761
difference between the mean colleges.
scores of the two colleges.
HYPOTHESIS TEST FOR TWO
ONE MEAN
MEANS
The following data represent the running times of films produced by two different motion picture
companies:
Company Time (in minutes)
A 102 68 98 109 92
B 81 165 97 143 92 78 114
Test the hypothesis that the average running time of films produced by Company B exceeds the average
running time of films produced by Company A by 10 minutes. Use 0.05 and 0.01 level of significance and
assume the distribution is normal and the population variances are not equal.
1. H0 : 𝜇A − 𝜇B ≥ 10 (The average running time of films produced by Company B exceeds the average
running time of films produced by Company A by 10 minutes.)
HA : 𝜇A − 𝜇B < 10 (The average running time of films produced by Company B exceeds the average
running time of films produced by Company A by 10 minutes.)
2. ANOVA @ α=0.025
Perform an analysis of
variance to test at the 0.025 level 3. Reject 𝐻 if 𝒇 ≥ 𝒇 or p-value < α
0 𝑐 ∝
of significance whether the
differences among the means of
the three samples are not
significant.
HYPOTHESIS TEST FOR THREE
TWO
ONE MEAN
MEANS
OR MORE MEANS
4. ANOVA
Following are the numbers of Source of
microwave ovens sold by each of Variation SS df MS F P-value F crit
the salespersons at the three Between Groups 5.116667 2 2.558333 0.060328 0.941739 5.095867
branches of a retail appliance Within Groups 508.8833 12 42.40694