Professional Documents
Culture Documents
HYPOTHESIS
TESTING
EMPLOYEE ABSENTEEISM
EXAMPLE
Management
in a company with 600
employees is very much concerned about the
absenteeism of its employees and its impact
on the production. They have thus estimated,
using past records, the probability that any
employee is absent for work in any given day
is 0.02. Find the probability that there will be
more than 5 employees absent in any given
day.
HYPOTHESIS TESTING
We estimate parameters by using
past records
similar experience
Are they correct ? ?
HYPOTHESIS TESTING
We made certain claims
We garanteed certain things
NULL HYPOTHESIS
Testing a Belief
Testing a Claim
Claim / Belief
Null Hypotheses - H0
EXAMPLES
H0 : = 100
ALTERNATIVE HYPOTHESIS
EXAMPLES
COMPOSITE HYPOTHESIS
H0 : = 100
H1 : 100
H0 : 100
H1 : < 100
H0 : p = 0.5
H1 : p 0.5
H0 : p 0.5
H1 : p > 0.5
H0 : p = 0.5
Testing whether the population proportion is 0.5.
H0 : 75
HOW TO TEST
POPULATION
HYPOTHESIS
H0 : = 100
H1 : 100
SAMPLE
DECISION
Reject H0 if Z is very LARGE or very SMALL
SAMPLE
QUANTITY
TEST
STATISTIC
TEST STATISTIC
0.025
0.025
0.95
-1.96
HYPOTHESIS
1.96
H0 : 100
H1 : < 100
DECISION
Reject H0 if Z is very SMALL
TEST STATISTIC
0.05
HYPOTHESIS
0.95
H0 : 100
H1 : > 100
-1.64
If Z < -1.64
we reject H0 with 95% confidence
(at 5% level of significance)
DECISION
Reject H0 if Z is very LARGE
If Z > 1.64
we reject H0 with 95% confidence
(at 5% level of significance)
Test Statistic =
H0 : = 250
H1 : 250
N = 36
TEST STATISTICS
=265
= 40
By substituting the values for ,
and n
= 2.25
Z > 1.96
we reject H0 with 95% confidence
(at 5% level of significance)
0.025
0.025
0.95
-1.96
0.005
0.99
1.96
-2.57
2.25
AVERAGE SPENDING HAS CHANGED.
2.57
2.25
CANNOT SAY AVERAGE SPENDING HAS
CHANGED WITH 99% CONFIDENCE.
PRODUCTIVITY IMPROVEMENT
EXAMPLE
In an attempt to test whether or not a special
training program has improved the productivity
of the employees in a company, a sample of 25
employees were selected and the time taken to
do a particular job after the training was
measured. The average time required to do the
job by these trained employees was calculated as
18 minutes. The time required to do the same
type of a job by an untrained employee is 20
minutes with a standard deviation 16 minutes.
Test whether the training was able to reduce the
time to do the job significantly.
=18
= 16
Z > -0.625
we cannot reject H0 with 95% confidence
(at 5% level of significance)
Test Statistic =
0.05
0.95
and n
= -0.625
-0.625
WE CANNOT SAY THAT THE TRAINING HAS
REDUCED THE TIME REQUIRED TO THE JOB
SIGNIFICANTLY.
N = 32
=0.9
TEST STATISTICS
Z < 1.28
we cannot reject H0 with 90% confidence
(at 10% level of significance)
Test Statistic =
0.10
0.90
and n
= 1.2
1.2
WE CANNOT SAY THAT MORE THAN 0.75
AMPERES PASSES THROUGH A RESISTOR.
Test Statistic
follows t distribution with (n-1)
degrees of freedom
How to Calculate ? ? ?
Estimate 2 by s2
Then test Statistic becomes
S = 123.15
Z > -1.79
we cannot reject H0 with 95% confidence
(at 5% level of significance)
Test Statistic =
0.05
0.95
-0.89
and n
= - 0.89
-0.89
750
0.05
12
718.3333333
123.1468697
35.54943918
11
-0.890778234
-1.795884814
0.196057552
MINITAB OUTPUT
2.
3.
4.
5.
MINITAB INSTRUCTIONS
157
152
150
148
153
155
149
146
145
152
145
150
159
142
148
156
147
153
162
HYPOTHESIS
H0 : 150
H1 : > 150
N = 20
TEST STATISTICS
=150.7
S = 5.25
By substituting the values for ,
Z < 1.729
we cannot reject H0 with 95% confidence
.
./
and n
= 0.59
Data
Null Hypothesis
Level of Significance
Sample Size
Sample Mean
Sample Standard Deviation
150
0.05
20
150.7
5.252568294
Intermediate Calculations
Standard Error of the Mean
Degrees of Freedom
t Test Statistic
1.174509976
19
0.595993235
1.729
0.59
WE CANNOT SAY THAT THE AREA IS NOT
SUITABLE FOR LIVING
Upper-Tail Test
Upper Critical Value
p-Value
Do not reject the null hypothesis
1.729132792
0.279106899
price of his dream vehicle as 2.4 million rupees, but unable to purchase it so far due to
H0 : = 2.4
H1 : 2.4
the financial constraints he faced. Now due to the changes in the import policies of
the new government, different people argue that prices of the vehicles has also
changed. Therefore, in order to test whether the price of his dream vehicle has
changed or not, he checked the prices of 18 Such vehicles ( in million rupees)
advertised in the weekend newspapers and the following data were collected.
2.3
2.4
2.5
2.0
1.9
2.1
2.2
2.2
2.4
1.8
2.3
1.9
1.8
2.4
2.0
2.1
2.2
2.0
N = 18
TEST STATISTICS
=2.14
S = 0.22
Test at 5% level whether the price of his dream vehicle has changed.
Z < - 2.11
we reject H0 with 95% confidence
(at 5% level of significance)
Test Statistic =
0.025
0.95
By substituting the values for ,
. .
./
0.025
.
and n
= - 5.10
-2.11
2.11
- 5.10
PRICE OF THE VEHICLE HAS CHANGED.
POPULATION VARIANCE
TEST STATISTIC
= 2.4
0.05
18
2.138888889
0.217306747
0.051219691
17
-5.097865759
Two-Tail Test
Lower Critical Value
Upper Critical Value
p-Value
Reject the null hypothesis
HYPOTHESIS
Intermediate Calculations
Standard Error of the Mean
Degrees of Freedom
t Test Statistic
-2.109815559
2.109815559
8.93343E-05
H0 : =
H1 :
DECISION
Reject H0 if is very LARGE or very SMALL
EXAMPLE
=
H0 : =20
H1 : 20
= 25.82
TEST STATISTICS
HYPOTHESIS
0.05
0.05
By substituting the values for s and n
.
= 11.62
3.33
16.9
11.62
POPULATION PROPORTION
TEST STATISTIC
( )
~ ( , )
HYPOTHESIS
H0 :
H1 :
DECISION
Reject H0 if is very LARGE or very SMALL
()
.
. ( . )
. .
. ( . )
= - 0.2259
If Z < 1.64
we cannot reject H0 with 95% confidence
(at 5% level of significance)
X = PROPORTION OF CUSTOMERS
PREFERRED FIRST DESIGN
HYPOTHESIS
H0 : P = 0.5
H1 : p 0.5
= 0.46
n = 325
TEST STATISTIC
( )
()
.
.( .)
. .
.( .)
!
= - 1.44
0.025
0.95
-1.96
1.96
-1.44
CANNOT SAY AVERAGE SPENDING HAS
CHANGED WITH 95% CONFIDENCE.