P&S Unit - Iv PDF
P&S Unit - Iv PDF
x
Z
n
ie, SE
n
Where SE is Standard Error
Estimator:
The method or rule to determine a population
parameter is called an estimator
Estimations are two type, they are
1.Point Estimation
2. Interval Estimation
1.Point Estimation: If the population parameter is
being at an exact point that estimation is called
“Point Estimation”
2.Interval Estimation: If the population parameter is
being in an interval then the estimation is called
“Interval Estimation”
Maximum Error of Estimation for Large Sample
( n 30 )
Maximum Error is denoted by ”E”, and it is given
by
S
E Z /2 OR E Z /2
n n
Where standard deviation of the population
S standard deviation of the sample
n Sample size
Z α/2= Z table value at α/2 level of
significant
Maximum Error of Estimation for Small Sample
(n< 30)
Maximum Error is denoted by ”E”, and it is given
s
by E t /2
n
x
Zcal
n if σ is known
x
Zcal
S
n if σ is unknown
Where x is sample mean, is Population mean, is
Standard deviation of Population, S is SD
Step 5: conclusion: if Ztab Zcal , then Accept Null
Hypothesis Ho
Otherwise Reject Null Hypothesis.
Problem NO.1: An ambulance services claims that it
takes on an average less than 10 min to reach its
destination in emergency calls. A sample of 36 calls
has a mean of 11 min and variance 16 min to reach
the destination in emergency calls. Test the claim at
95% level of significant?
Solution:
Given that
Sample size n=36 (large sample n>30)
Sample mean x =11
Population variance 2 16, 4
Procedure:
STEP 1: Null Hypothesis(HO): Ambulance services
claim is FALSE
ie , HO: µ=10
STEP 2: Alternative Hypothesis (H1): Ambulance
services claim is TRUE
ie , HO: µ < 10 (LTT)
STEP 3: Level of Significant(LOS):
Z tab= Z table value at 5%and LTT (Left Tailed Test)
Z tab=1.645
STEP 4: Test Statistic: Under the Null Hypothesis
Ho
x 11 10
Zcal =1.5
4
n 36
Step 5 :Conlusion: Z tab(1.645) > Z cal(1.5)
Accept HO
ie Reject H1
Ambulance services claim is FALSE
Problem NO.2: A random sample of 64 students
have a mean weight of 70kgs.Can this be regarded as
a sample drawn from the Population with mean
weight 56 kgs and standard deviation(SD) 25 kgs at
99% level of significant?
Solution:
Given that
Sample size n=64 (large sample n>30)
Sample mean x =70 kgs
Population mean µ=56 kgs
Population SD 25
% 1%
Procedure:
STEP 1: Null Hypothesis (HO): The sample is drawn
from the given Population
ie , HO: µ=56
STEP 2: Alternative Hypothesis (H1): The sample is
NOT drawn from the given Population
ie , H1: µ ≠ 56 (TTT)
STEP 3: Level of Significant(LOS):
Z tab= Z table value at 1%and TTT(Two Tailed Test)
Z tab=2.58
STEP 4: Test Statistic: Under the Null Hypothesis
Ho
x 70 56
Zcal = 4.48
25
n 64
Step 5 :Conlusion: Z tab(2.58) < Z cal(4.48)
Reject HO
ie Accept H1 ,
The sample is NOT drawn from the given Population
Problem NO.3: A sample of 400 items is taken from
a Population whose SD is 10.The mean of sample 40.
Test whether the sample has came from a Population
with mean 38. Also calculate 95% Maximum Error
and Confidence Interval for the Population?
Solution: Given that
Sample size n=400 (large sample n>30)
Sample mean x = 40
Population mean µ =38
Population SD σ = 10
% 5%
Procedure:
STEP 1: Null Hypothesis (HO):: The sample is
drawn from the given Population
ie , HO: µ=38
STEP 2: Alternative Hypothesis (H1):: The sample
is NOT drawn from the given Population
ie , H1: µ ≠ 38 (TTT)
STEP 3: Level of Significant(LOS):
Z tab= Z table value at 5%and TTT(Two Tailed Test)
Z tab=1.96
STEP 4: Test Statistic: Under the Null Hypothesis
Ho
x 40 38
Zcal =4
10
n 400
Step 5 :Conlusion: Z tab(1.96) < Z cal(4)
Reject HO
ie Accept H1 , The sample is NOT drawn
from the given Population
Maximum Error:
The given sample is n=400 (large sample)
The Maximum Error for Large sample is
E Z /2
n
10
E (1.96)
400
E 0.98
Confidence Interval:
The given sample is n=400 (large sample)
The confidence interval for Large sample is
CI x E
CI 40 0.98
CI 40 0.98, 40 0.98
CI=[39.02.40.98]
Working rule for Testing of Hypothesis for
Equality of Two Means (OR) Difference between
Two Means in Large Sample
Let x1 and x2 be the sample means of two
independent large random samples of sizes n1 and n2
drawn from two populations having means µ1 and µ2
and Standard Deviations 1 and 2 respectively
Step 1: Null Hypothesis(H0):
Ho: µ1= µ2 OR Ho: µ1- µ2=0
ie The two samples are drawn from same Population
OR
ie There is NO difference between two Population
means
Step 2 : Alternative Hypothesis (H1): Alternative
Hypothesis may be one of the following 3 conditions
1.Right Tailed Test(RTT); H1 : 2
1
Zcal
x x
1 2 1 2
12 22
n1 n2
Zcal
x x
1 2 1 2
Z
72 70 0
12 22
cal
64 36
n1 n2 32 36
Zcal 1.154
Procedure:
Step 1: Null Hypothesis(H0):
Ho: µ1= µ2 OR Ho: µ1- µ2=0
ie There is NO difference between two types of Cars
according to petrol consumption
Step 2 : Alternative Hypothesis (H1):
H1: µ1≠µ2; Two Tailed Test (TTT);
ie There is a difference between two types of Cars
according to petrol consumption
Step 3: Level of Significant(LOS):
Z tab= Z table value at 5% and Two Tailed Test(TTT)
Z tab=1.96
Step 4 : Test Statistic: Compute Test Statistic under
Ho
Zcal
x x
1 2 1
Z 2
15 11.5 0
Zcal 13.585
2 2 cal
2 1.5
1
2
n1 n2 42 80
I St sample IInd
sample
Sample size 1000(n1) 2000(n2)
Sample 67.5( x1 ) 68( x2 )
mean
SD 2.5(both sample sd’s are same) 2.5
Variance 6.25( 12 ) 6.25( 2 2 )
Population µ1 µ2
Assume α% = 5%
Procedure:
Step 1:Null Hypothesis(H0):
Ho: µ1= µ2 OR Ho: µ1- µ2=0
ie The two sample are drawn from same Population
Step 2 : Alternative Hypothesis (H1):
H1: µ1≠µ2; Two Tailed Test(TTT);
ie The two sample are NOT drawn from same
Population
Step 3: Level of Significant(LOS):
Z tab= Z table value at 5% and Two Tailed Test
(TTT)
Z tab=1.96
Step 4 : Test Statistic: Compute Test Statistic under
Ho
Zcal
x x
1 2 1
Z 2
67.5 68 0
Zcal 5.163
2 2 cal
6.25 6.25
1
2
n1 n2 1000 2000
Zcal
x x
1 2 1
Z 2
647 638 0
2 2 cal
729 961
1
2
n1 n2 40 40
Zcal 1.38
729 961
E 1.96
40 40
E 4.5961
Confidence Interval:
The confidence interval for Large sample is
CI ( x1 x2 ) E
CI p1 p2 E
1 1
Where E Z /2 PQ
n n
1 2
n1 p1 n2 p2 x1 x2
P OR P
n1 n2 n1 n2
P+Q=1
Working Rule of Testing of Hypothesis for Single
Proportion:
Step 1: Null Hypothesis(H0): Ho: P=P0
ie The Population has a specified Proportion P0
Step 2 : Alternative Hypothesis (H1):
Alternative Hypothesis may be one of the following 3
conditions
1.Right Tailed Test(RTT);H1: P > P0
2.Left Tailed Test(LTT); H1: P < P0
3.Two Tailed Test (TTT); H1: P≠ P0
Step 3: Level of Significant(LOS):
Z tab= Z table value at α% and Type of test (RTT or
LTTor TTT)
Step 4 : Test Statistic: Compute Test Statistic under
Ho
pP
Zcal
PQ
n
Where P is Population Proportion, P+Q=1;Q=1-P
p is sample proportion
n is sample size
Step 5: Conclusion: If Ztab Zcal , then Accept Null
Hypothesis Ho
Otherwise Reject Null Hypothesis.
Problem NO.1: An experience had shown that 20%
of a manufactured product is of top quality. In one
day production of 400 articles, only 50 are top quality.
Test the hypothesis at 95% Level of Significance?
Also find Maximum Error and Confidence Interval at
5% los?
Solution :
Given that
Population proportion P = 20%=20/100=0.2
P+Q=1
Q=1-P=1-0.2=0.8
P=0.2,Q=0.8
n=400,x=50
sample proportion p=x/n=50/400=0.125
Procedure:
Step 1: Null Hypothesis(H0):
Ho: P=20% OR 0.2
ie 20% of a manufactured product is of top quality.
Step 2 : Alternative Hypothesis (H1):
P≠ 20% OR P=0.2 Two Tailed Test (TTT);
ie 20% of a manufactured product is NOT of top
quality.
Step 3: Level of Significant(LOS):
Ztab= Z table value at 5% and Two Tailed Test (TTT)
Step 4 : Test Statistic: Compute Test Statistic under
Ho
CI P E where E Z /2 PQ =0.0392
n
CI 0.2 0.0392
CI 0.2 0.0392,0.2 0.0392
CI 0.1608,0.2392
Problem NO.2: 40 people were attacked by a disease
and only 36 survived. Will you reject the hypothesis
that the survival rate if attacked by this disease 85% in
favour of the Alternative Hypothesis that is more.
Test the hypothesis at 95% Level of Significance?
Solution: Given that
Population Proportion P = 85%=85/100=0.85
P+Q=1, Q=1-P=1-0.85=0.15
P=0.85, Q=0.15
n=40, x=36
Sample Proportion p=x/n=36/40=0.9
Procedure:
Step 1: Null Hypothesis(H0): Ho: P=85% OR 0.85
ie the survival rate if attacked by this disease 85%
Step 2 : Alternative Hypothesis (H1): P> 85% OR
P>0.85 Right Tailed Test (RTT);ie the survival rate if
attacked by this disease is more than 85%.
Step 3: Level of Significant(LOS):
Ztab= Z table value at 5% and Right Tailed Test
(RTT)
Ztab=1.645
Step 4 : Test Statistic: Compute Test Statistic under
Ho
pP
Zcal
PQ
n
0.9 0.85
Zcal
(0.85)(0.15)
40
Zcal 0.885
pP
Zcal
PQ
n
0.48 0.5
Zcal
(0.5)(0.5)
1000
Zcal 1.26
( p1 p2 ) ( P1 P2 )
Zcal
1 1
PQ( )
n1 n2
Solution :
Given that
Men sample size n1=400
Favourable men to the proposal
x1=200
Men proportion of the proposal
p1=x1/n1=200/400=0.5
Women sample size n2=600
Favourable women to the proposal x2=325
Women Proportion of the proposal
p2=x2/n2=325/600=0.541
Pooled Population Proportion
x x 200 325
P 1 2
n1 n2 400 600
P=0.525
P+Q=1
Q=1-P=1-0.525=0.475
Procedure:
Step 1: Null Hypothesis(H0):
Ho: P1= P2 OR Ho: P1- P2=0
ie Proportions of men and women in favour of the
proposal are same
Step 2 : Alternative Hypothesis (H1): H1: P1≠ P2
Two Tailed Test(TTT);
ie Proportions of men and women in favour of the
proposal are NOT same
Step 3: Level of Significant(LOS):
Ztab= Z table value at 5% and Two Tailed Test(TTT)
Z tab=1.96
Step 4 : Test Statistic: Compute Test Statistic under
Ho
( p1 p2 ) ( P1 P2 )
Zcal
1 1
PQ( )
n1 n2
1 1
E 1.96 (0.525)(0.475)
400 600
E 0.0281
CI 0.041 0.0281
CI 0.041 0.0281, 0.041 0.0281
CI 0.0691, .0129
Problem No2: A company wanted to introduce a
new plan of work and a survey was conducted for this
purpose .one sample of 500 workers in one group
62% favoured the new plan of work and the other
group of 900 workers, 41% were against the new plan
of work . Is there any significance difference between
the two groups in their attitude towards the new plan
at 5% Level of Significance?
Solution: Given that
First group sample size n1=500
First group favoured proportion p1=62%=0.62
Second group sample size n2=900
Second group favoured proportion p2=1-against
proportion=1-0.41=0.59
Population Proportion
n1 p1 n2 p2 500(0.62) 900(0.59)
P
n1 n2 500 900
No of Units No of Defectives
Machine-I 375 17
Machine-II 450 22
Test whether there any significance difference
between performances of two Machines at 5% LOS?
Solution:
Given that
First Machine sample size n1=375
First Machine no of defectives x1=17
First Machine Proportion of defectives
p1=x1/n1=17/375=0.0453
Second Machine sample size n2=450
Second Machine no of defectives x2=22
Second Machine Proportion of defectives
p2=x2/n2=22/450=0.0488
Population Proportion
n1 p1 n2 p2 375(0.0453) 450(0.0488)
P
n1 n2 375 450
P=0.0473
P+Q=1
Q=1-P=1-0.0473=0.9527
Procedure:
Step 1: Null Hypothesis(H0):
Ho: P1= P2 OR Ho: P1- P2=0
ie there NO significance difference between
performances of two Machines
Step 2 : Alternative Hypothesis (H1):
H1: P1≠ P2 Two Tailed Test(TTT);
ie there a significance difference between
performances of two Machines
Step 3: Level of Significant(LOS):
Z tab= Z table value at 5% and Two Tailed Test(TTT)
Z tab=1.96
Step 4 : Test Statistic: Compute Test Statistic under
Ho
( p1 p2 ) ( P1 P2 )
Zcal
1 1
PQ( )
n1 n2
Given that
First factory sample size n1=500
First factory no of defectives x1=15
First factory Proportion of defectives
p1=x1/n1=15/500=0.03
Second factory sample size n2=400
Second factory no of defectives x2=20
Second factory Proportion of defectives
p2=x2/n2=20/400=0.05
Pooled Population Proportion
n1 p1 n2 p2 500(0.03) 400(0.05)
P
n1 n2 500 400
P=0.038
P+Q=1
Q=1-P=1-0.038=0.962
Procedure:
Step 1: Null Hypothesis(H0): Ho: P1= P2 OR Ho: P1-
P2=0
ie there NO significance difference between two
Population Proportions
Step 2 : Alternative Hypothesis (H1): H1: P1≠ P2
Two Tailed Test(TTT);
ie there a significance difference between two
Population Proportions
Step 3: Level of Significant(LOS):
Z tab= Z table value at 1% and Two Tailed Test(TTT)
Z tab=2.58
Step 4 : Test Statistic: Compute Test Statistic under
Ho
( p1 p2 ) ( P1 P2 )
Zcal
1 1
PQ( )
n1 n2