You are on page 1of 53

X

15 Note:
20 Binomial parameter: n an
50 Poisson parameter: λ
35 Normal distribution param
10
∑x=130

N= 5
∑X= 130

Mean= 26 Average(A2:A6)
median= 20 Median(A2:A6)
standard deviation= 16.35543 Stdeva(A2:A6)
mode= 50
Variance= 267.5 16.35543^2
skewness= 0.848557 Skew(A2:A6)
kurtosis= -0.666434 Kurt(A2:A6)
Q1= 15 quartile(A2:A6,1)
Q2= 20
Q3= 35
P10= 12
D10=10*(n+1)/10 th item=10*(5+1)/10 th item 6
the value of decile cannot be obtained because there is no 6th item
D5=5*(n+1)/10 th item= 3
D5=50
Binomial parameter: n and p
Poisson parameter: λ
Normal distribution parameter: µ and σ
X F FX FX2 cf
3 4 12 36 4
5 8 40 200 12
7 11 77 539 33
9 14 126 1134 47
11 17 187 2057 54
N=54 ∑fx=442 ∑fx^2=3966
N= 54
∑fx= 442 Q1=(n+1)/4 th item =
∑fx2= 3966 Q3=3*(n+1)/4 th item=
P90=90*(n+1)/100 th item=
Mean=∑fx/N 8.1851852 P10=10*(n+1)/100 th item=
median=(N+1)/2th item= 27.5
therefore median =7
Mode=highest frequency is 17 whose corresponding value is 11
therefore mode=11
σ2=∑fx2/N - (∑fx/N)2 6.4471879
σ=sqrt(6.447188)= 2.5391313 sqrt means square root
skewness=3*(mean-median)/ⱷ= -22.8205779
kurtosis=1/2*(Q3-Q1/P90-P10)= 1.93518519
Note:
Fx= sumproduct(A3,B3)
Fx2= sumproduct(A3,C3)
X2= click home and click arrow right to font then click super script and finally ok
after this again remove superscript

13.75 Q1= 7
41.25 Q3= 9
49.5 P90= 54
5.5 P10= 5
Marks f Lcb Ucb mid value(x) fx fx2 cf
0-10 8 0 10 5 40 200 8
10-20' 15 10 20 15 225 3375 23
20-30 25 20 30 25 625 15625 48
30-40 6 30 40 35 210 7350 54
40-50 7 40 50 45 315 14175 61
50-60 4 50 60 55 220 12100 65

N= 65
∑fx= 1635 calculation of mode calculation of Q1
∑fx2= 52825 Mode=l+(f1-f0)*h/(2f1-f0-f2)= 23.44828 Q1=l+(N/4-cf)*i/f=
f1= 25 size of N/4th item=
mean= 25.153846 f2= 6 Q1 class is 10-20
median=l+(N/2-cf)*i/f= 23.8 f0= 15 l=
size of N/2 th item= 32.5 mode class is 20-30 cf=
median class is 20-30 l= 20 f=
l= 20 h= 10 i=
cf= 23
f= 25 skewness= 3*(mean-median)/ⱷ= 0.302749
i= 10
Kurtosis=1/2*(Q3-Q1/P90-P10)= 11.39558
σ =∑fx /N-(∑fx/N) =
2 2 2
179.98
σ= 13.415526
calculation of Q3 calculation of p90
Q3=l+(3*N/4-cf)*i/f= 31.25 P90=l+(90*N/100-cf)*i/f= 46.42857
size of 3*N/4= 48.75 size of 90*N/100 th item= 58.5
Q3 class is 30-40 p90 class is 40-50
l= 30 l= 40
cf= 48 cf= 54
f= 6 f= 7
i= 10 i= 10
calculation of Q1
Q1=l+(N/4-cf)*i/f= 15.5 calculation of P10
size of N/4th item= 16.25 P10=l+(10*N/100-cf)*i/f= 8.125
Q1 class is 10-20 size of 10*N/100= 6.5
10 P10 class is 0-10
8 l= 0
15 cf= 0
10 f= 8
i= 10
Q.D=(Q3-Q1)/(Q3+Q1)= 0.336898
91 88 95 class frequency(f) Lcb Ucb Midvalue(x) fx
79 97 89 60-80 2 60 80 70 140
66 92 86 80-100 11 80 100 90 990
98 87 98 100-120 1 100 120 110 110
127 142 145 120-140 5 120 140 130 650
139 127 129 140-160 8 140 160 150 1200
154 184 149 160-180 1 160 180 170 170
147 145 158 180-200 2 180 200 190 380
192 162 141 ∑x=30 ∑fx=3640
132 120 100

N= 30 b) c)
∑fx= 3640 dispersion (c.v)=σ/mean= 0.281295 skewness(Sk)=3*(mean-median)/σ=
∑fx =
2
476600
a) mean=∑fx/N= 121.3333 d)
median=l+(N/2-cf)*i/f= 124 σ =(∑fx /N)-(∑fx/N) =
2 2 2
1164.889 kurtosis(k)= 1/2*(Q3-Q1/P90-P10)=
size of N/2 th item= 15 σ= 34.13046862979
median class is 120-140
l= 120 Q1=l+(N/4-cf)*i/f= 90 Q3=l+(3*N/4-cf)*i/f=
cf= 14 size of N/4 th item= 7.5 size of 3*N/4 th item=
f= 5 Q1 class is 80-100 Q3 class is 140-160
i= 20 l= 80 l= 140
cf= 2 cf= 19
f= 11 f= 8
i= 20 i= 20
fx2 cf Bin range
9800 2 Freqyency
60 Bin distribution
Frequency
89100 13 80 60 0
12100 14 12 100 80 2
84500 19 10 120 100 11
180000 27 140 120 1
8
28900 28 160 140 5

frequency
72200 30 6 180 160 8
∑fx^2=476600 4 200 180 1
2
200 2
More 0
0
60-80 80- 100- 120- 140- 160- 180-
=3*(mean-median)/σ= -0.234395 100 120 140 160 180 200
class

1/2*(Q3-Q1/P90-P10)= 33.18466

148.75 P10=l+(10*N/100-cf)*i/f= 81.81818 P90=l+(90*N/100-cf)*i/f=


22.5 size of P10=10*N/100 th item= 3 size of P90=90*N/100= 27
P10 class is 80-100 P90 class is 140-160
l= 80 l= 140
cf= 2 cf= 19
f= 11 f= 8
i= 20 i= 20
160
Items Expenditure per month(in Rs)
Food 400
Rent 120
Cloths
Education
250
100
Expenditure per month(in Rs)
Energy 50 Food Rent Cloths Education Energy Misc.
Misc. 180 16%
5% 36%

9%

23% 11%
step:
select item and expenditure
Rs) select insert
Go to pie chart
Misc. select 3D pie
Go to design
36% select = / = pie chart in chart layouts
Go to format
select shape fill
select fill
select picture or texture fill
Q.no 2)
Given; Mean1= 68 ⱷ= 2.24
Mean2= 69
N1= 60
N2= 50
Now,
step:1 setting hypothesis
a)Null hypothesis H0 :Mean1=mean2
b)Alternative hypothesis H1 :Mean1 ‹ Mean2 (left tailed test)

step:2 level of significance


level of significance is not given we take it as ᾳ=0.05

step:3 Test statistics


Z= (Mean1-mean2)/ⱷ*sqrt(1/n1+1/n2)= -0.085485
Zcal= 0.08548

step:4 critical value


Tabulated value of Z at ᾳ=0.05 is (=normsdist(0.05)) 0.519939
Ztab= 0.519939

step:5 Decision
Zcal ‹ Ztab So, H0 is not rejected
Management student are not taller than economics student
5 number summary

X
12
Box and whisker plot
13 Q1= 21.5 70
15 Min= 12
18 Median= 32.5 60
19 Max= 61 50
21 Q3= 45
23 40

value
25
30
27
31 20
35
31 10
36 0
34
value
41
42
46 hence, it is positive skewness because it is near to minimum
51
53
52
52
61
Step:
find out 5 number summary in order
whisker plot select 5 number summary i.e; c and d column
click insert and line
select line with markers
select design
select switch row/column
Q1= Go to layout lines or analysis
Min=
select high low lines
Median=
Max= then select up down bars
Q3= right click mouse
click format up bars
select no fill
select axis title
in chart title "box and whisker plot:
This means if distance is equal from median=symmetrical
more than it= positive skewness
towards min = negative skewness
near to minimum
Wages No of Workers
0-100 20
100-200 40
200-300 80
300-400 50
400-500 40
500-600 20

0-100 100-200 200-300 300-400 400-


500 500-600
90
80
70
60 0-100 100-200 200-300
300-400 400-500 500-600
50
40
30
20
10
0
0-100 100- 200- 300- 400- 500-
200 300 400 500 600
x
23
25
26 step: Chart Title
31 write data
35 select data 70
36 click insert 60
45 select scatter 50
42 scatter with only marker 40

value
49 select y-axis click on any no. 30 f(x) = − 0.301470588235294 x + 37.0661764705
51 box will appear and double click box R² = 0.00933584609460636
20
56 Go to chart layout
10
51 select layout that contain( fx)
58 you will get regression equation of y on x 0
0 2 4 6 8 10 12 14 16 18
10
12 value
15
19
Chart Title
Chart Title
70
60
50
Column A
70588235294 x + 37.0661764705882Linear
40 (Column A) R^2=coefficient of determination
84609460636 Column A
Axis Title 30 r=correlation x + 37.0661764705882
f(x) = − 0.301470588235294 Linear (Column A)
R² = 0.00933584609460636 R^2= 0.009
20
r= 0.094868
10
8 10 12 14 16 18 0
value 0 2 4 6 8 10 12 14 16 18
Axis Title
more than and less than ogive curve

age f less than f more than f


0-20 5 20 5 0 92
20-40 18 40 23 20 87
40-60 32 60 55 40 69
60-80 22 80 77 60 37
250
80-100 15 100 92 80 15

200
f f
100 92 100 92 87
90 150
77 80
80 69
70

more than
60 55 60
100
Less than

50 f 37
40
40
30 23 20
20 50
10 5 0
0 1 2 3 4
1 2 3 4 5 0 frequency
frequency 1 2 3 4
step:
select less than & f
click insert
click line
click line with markers
click any no. of y-axis
double click y-axis box
select layout
f select data label
87 click above
69 select less than ogive curve and fill black colour
Column D
for axes
Column C
37 double click on box white space
f
click chart layout
15
click chart which has both axes

2 3 4 5
frequency
3 4 5
5
10 class f f
15 0-10 12
20
35 10-20' 15
15
25 20-30 5
40 30-40 6 Axis Title 10
5
30 40-50 18
0
0-10 10-20' 20-30 30-40 40-50
Axis Title

bin range Bin Frequency f


0 0 0
20
10 10 2
18
20 20 1 16
30 30 2 14
40 40 2 12 f
50 50 0 10
8
More 0 6
4
2
0
0-10 10-20' 20-30 30-40 40-50
step:
select class and frequency
go to insert
go to column
select any column
click on histogram chart
40 40-50 right click
click format data series
remove all gap
click fill
then colid fill
select black colour
select picture or text fill
select insert
click shapes
f select

put at mid point and click without leaving trace

40-50
Frequency
0
10 2
20 1
30 2
40 2
50 0
More 0
Rank correlation
step:
X Y R1 R2 d=R1-R2 d^2 R1=Rank(A4,$A$4:$A$8,1)
97 73 3 1 2 4 OR
99 86 5 5 0 0
98 78 4 4 0 0 R1=Rank then click( fx) then fill the box
94 77 1 3 -2 4
95 75 2 2 0 0
∑d^2=8

N= 5 0.989743
∑d^2= 8
6*∑d^2= 48
n*(n^2-1)= 120

Rank correlation=1-((6*∑d^2/n*(n^2-1)))= 0.6


do one by one for each no Point Column1 Rank Percent
6 89 1 100.00%
Rank 23 5 78 2 80.00%
fx) then fill the box 1 45 4 67 3 60.00%
2 56 3 56 4 40.00%
3 67 2 45 5 20.00%
4 78 1 23 6 0.00%
5 89
6

0.989743
0.989743
marks( p) marks(q)
46 40 SUMMARY OUTPUT
X Variable 1 Residu
42 38
44 36 Regression Statistics 2
1
40 35 Multiple R 0.75

Residuals
0
43 39 R Square 0.5625
-1 39 40 41 42 43
41 37 Adjusted R Square 0.475
-2
45 41 Standard Error 1.565247584
-3
Observations 7
X Variable 1
step:
click data ANOVA
click data analysis df SS MS F
regression(double click) Regression 1 15.75 15.75 6.428571
fill the table Residual 5 12.25 2.45
click residual Total 6 28
click residual plots
click normal probability plots Coefficients Standard Error t Stat P-value
Intercept 5.75 12.7333224258 0.451571 0.670491
X Variable 1 0.75 0.29580398915 2.535463 0.052181

RESIDUAL OUTPUT

Observation Predicted Y Residuals


1 40.25 -0.25
2 37.25 0.75
3 38.75 -2.75
4 35.75 -0.75
5 38 1
6 36.5 0.5
7 39.5 1.5
X Variable 1 Residual Plot
only required following data:
R^2= 0.5625
observation(n)= 7
intercept(a)= 5.75
0 41 42 43 44 45 46 47
x variable= 0.75

now, regression equation of y on x is


X Variable 1
Y=ax+b= 5.75x+b

Significance F
0.05218140038 b 0.75
a 5.75 SUMMARY OUTPUT

y= 28.25 Regression Statistics


Lower 95% Upper 95% Lower 95.0% Upper 95.0% Multiple R
-26.9820473232 38.48205 -26.98204732 38.482047323 R Square
-0.01038836115 1.510388 -0.010388361 1.5103883612 Adjusted R
Standard E
Observatio

ANOVA

Regression
Residual
Total

Coefficients
Intercept
X Variable

RESIDUAL OUTPUT

Observation
1
2
3
4
5
6
7
SUMMARY OUTPUT

Regression Statistics X Variable 1 Re


0.75 2
0.5625 1

Residuals
0.475 0
1.565248 -1 39 40 41 42
7 -2
-3
X Vari
df SS MS F Significance F
1 15.75 15.75 6.428571 0.052181
5 12.25 2.45
6 28

Coefficients
Standard Error t Stat P-value Lower 95%Upper 95%Lower 95.0%
Upper 95.0%
5.75 12.73332 0.451571 0.670491 -26.98205 38.48205 -26.98205 38.48205
0.75 0.295804 2.535463 0.052181 -0.010388 1.510388 -0.010388 1.510388

RESIDUAL OUTPUT

Predicted Y Residuals
40.25 -0.25
37.25 0.75
38.75 -2.75
35.75 -0.75
38 1
36.5 0.5
39.5 1.5
X Variable 1 Residual Plot
2
1
0
-1 39 40 41 42 43 44 45 46 47
-2
-3
X Variable 1
owner X No of sampling without replacement C(5,2)=combin
Ritu 3 Given
Suman 5 n=sample size= 2 sample Xbar (Xbar - µXbar)^2
Geeta 8 (3,5) 4 16
Rohan 10 (3,8) 5.5 6.25
Suji 14 (3,10) 6.5 2.25
(3,14) 8.5 0.25
N= 5 (population size) (5,8) 6.5 2.25
µ=average(B3:B6)= 8 (population mean) (5,10) 7.5 0.25
σ=stdeva(B3:B6)= 4.301162634 (5,14) 9.5 2.25
µXbar=∑Xbar/n(=10)= 8 (mean of sample mean) (8,10) 9 1
popn SE (8,14) 11 9
SE=σ/sqrta(n)*sqrt((N-n)/(N-1))= 2.633913 (10,14) 12 16
sum 80 55.5

n= 10
(sample mean SE) SE=σXbar= ∑(Xbar-µ)^2/n=
SE or σ (same in sample)
placement C(5,2)=combin(5,2)= 10

Note: In with replacement in population mean


SE=σ/sqrt(n)

In without replacement in population mean


SE=σ/√n*√(N-n/N-1)

5.55
10
12
15 min= 10
16 max= 59
20 key=1|0= 10
23
25
21
24 steam leaf leaf=rept("0",countif($A$1:$A$20,C10*10+0))&rept("1",countif($A$1:$A
31 1 0256
36 2 01345
33 3 1136
31 4 569
45 5 2339 rept same formula 9 times because the last no of max is 9 and repalce w
46
49
52
53
59
53
+0))&rept("1",countif($A$1:$A$20,C10*10+1))&rept("2",countif($A$1:$A$20,C10*10+2))&rept("3",countif($A$1:$A$20,C10*10+3))&rept

t no of max is 9 and repalce with 1-9 where there is 0 in each part and click enter
$A$1:$A$20,C10*10+3))&rept("4",countif($A$1:$A$20,C10*10+4))&rept("5",countif($A$1:$A$20,C10*10+5))&rept("6",countif($A$1:$A$2
))&rept("6",countif($A$1:$A$20,C10*10+6))&rept("7",countif($A$1:$A$20,C10*10+7))&rept("8",countif($A$1:$A$20,C10*10+8))&rept("9
$1:$A$20,C10*10+8))&rept("9",countif($A$1:$A$20,C10*10+9))
NO.of accidents(x) NO.of days(f) fx P(x=r) NP(x=r)
0 90 0 0.496585 99.31706
1 50 50 0.34761 69.52194
2 30 60 0.121663 24.33268
3 15 45 0.028388 5.677625
4 10 40 0.004968 0.993584
5 5 25
Total 200 220
N= 200
∑fx= 140
mean=λ=∑fx/N= 0.7

expected frequency=NP(x=r)

P(x=r)=poisson(X,mean,cumulative)
Demand(x) P(x) x.P(x) x^2.P(x) Demand(x)P(x) x.p(x) x^2.P(x)
10 0.08 0.8 8 10 0.08 0.8 8
20 0.24 4.8 96 20 0.24 4.8 96
30 0.28 8.4 252 30 0.28 8.4 252
40 0.3 12 480 40 0.3 12 480
50 0.1 5 250 50 0.1 5 250
total 1 31 1086 total 1 31 1086

∑px= 1 Epx= 1
Expectation ,E(x)=∑x.P(x)= 31 E(X)= =Ex.p(X)= 31
∑x^2.P(x)= 1086 EX^2.P(X)= 1086

mean=∑x.P(x)= 31 mean 31
var(x)=∑x^2.P(x)-(∑x.p(x))^2= 125 variance 125
S.D(σ)=sqrt(125)= 11.18034 sd= 11.18034

E(4x+5)=4E(x)+5= 129

E(4x+5)= =4E(x)+5
129
Demand P(x) x.p(x) x^2.p(x)
20 0.08 1.6 32
30 0.24 7.2 216
40 0.28 11.2 448
50 0.3 15 750
60 0.1 6 360
1 41 1806

E(x) 41
mean 41
961
variance= 125
sd= 11.18034
Internal estimator

Given;
sample size(n)= 50 given:
sample mean= 7.5 sample size(n)= 100
estimation of popn mean(Xbar)= 7.5 sample mean= 30214
sample SD (s)= 1.5 standard deviation= 860
S.E of mean=s/sqrt(n) 0.212
Zα/2(5%)= 1.96 z(5%) 1.96
lower limit=Xbar-Zα/2*SE= 7.08448 now,
upper limit=Xbar+Zα/2*SE= 9.00191 se 86
95% confidence interval= (7.08448 , 9.00191) lower cl upper cl
(Xbar+-Zα/2*SE(s/sqrt(n)) 30045.44 30382.56
Estimation

sample size(n)= 150


sample proportion(P)= 0.42
q= 0.58
estimation of popn propottion(P)= 0.42
Q= 0.58
S.E of sample proportion=sqrt(pq/n)= 0.040299
Zα/2(5%)=Z0.05/2= 1.96
lower limit=p-Z*S.E= 0.341014
upper limit=p+Z*S.E= 0.498986

95% confidence limit=p+-Z*S.E= (0.341014 , 0.498986)


Binomial distribution

Q. Probability of a bomb hitting a target is 1/5 . Two bombs are enough to destroy a bridge . If 6 bombs are aimed at the bri
soln:
Given;
p= 1/5' 0.2 X=r P(x)=nC(x=r)*P^r*q^(n-r)
q= 4/5' 0.8 0 0.262144 Binomdist( click fx then fill up
n= 6 1 0.393216 Numbers
2 0.24576 Trials
mean=np= 1.2 3 0.08192 prob
var=npq= 0.96 4 0.01536 cumulative
5 0.001536
6 0.0000640000000000001 OR
Binomdist(E7,$B$8,$C$6,false
P(x>=2)=P2+p3+p4+p5+p6= 0.34464

P(x<3)=p0+p1+p2= 0.90112
bombs are aimed at the bridge , find the probability that the bridge is distroyed.

ck fx then fill up
0 and fill 1-6 in the same way
n=6
p=0.2
0 or false

nomdist(E7,$B$8,$C$6,false)
Poisson distribution

Q. If 4% of the bulbs manufactured by a company are defective, find the probability that in a sample of 125 bulbs a) non is de
soln:
Given; p= 0.04 x P(x) step:
sample size(n)= 125 0 0.006738 poisson(click fx then fill up
mean=λ=np= 5 1 0.03369 x 0 then for other 1-125 follow s
2 0.084224 mean np=5
3 0.140374 cumulative 0 or false
4 0.175467
5 0.175467 Or
6 0.146233 poisson(E6,$C$7,false)
: :
: :
125 0

a) P(x=0)= 0.006738
b)p(x=2)= 0.084224
of 125 bulbs a) non is defective b)2 bulb will be defective.

for other 1-125 follow same process


Given;
Mean=µ 100 step:
S.D= 5 click Normdist(
X= 110 click fx and fill the space u will get P(X≤110)
Z=X-µ/S.D= 2

P(X≤110)= 0.97724987
P(X≥110)=1-p(X≤110)= 0.0227501

P(85<X<105)= P(X<105) - P(X<85)= -0.839995


Here,X1= 85
X2= 105

P(X<105)=Normdist(X1,µ,S.D,1orTrue)= 0.00135

P(X<85)=Normdist(X2,µ,S.D,1)= 0.841345
OR
click Normdist(
then click fx and fill the given data
Z test for single mean

Q. A sample of 400 male students is found to have a mean height of 171.38 cm . Can it be reasonably regarded as a sample fro
Given;
sample member, n= 400
sample mean,Xbar= 171.38
Popn mean, µ= 171.17
popn S.D, σ= 3.3

Significance level, α= 5%
S.E of sample mean,σ/sqrt (n)= 0.165

calculated Z= (Xbar-µ)/(σ/sqrt(n))= 1.272727

i) critical value method: ii) confidence limit method:


H0: µ = 171.17 Lower limit (LCL)=µ - Zα/2 * S.E= 170.8466
H1: µ ≠ 171.17 Upper limit (UCL)=µ + Zα/2 *S.E= 171.4934
Decision:
5% Z = tabulated value of Zα/2 = 1.96 sample mean lies in the confidence interval ,
Decision: So accept H0.
Zcal < Ztab , so H0 is not rejected.
regarded as a sample from a larger population with mean height 171.17cm and S.D 3.30cm.

iii) P-Value method


P-value= 2*(1-Normsdist(Zcalculated))= 0.203115
α= 0.05
Decision:
P-value is greater than 0.05, So H0 is accepted
Z test for two sample for mean

X Y
900 1052 µ1= 1088
1276 947 µ2= 999.5

Given; Z(Zcal)= 0.370129


variance of X= 52783 Z critical one tail(Ztab)= 1.644853
variance of y= 61650 Decision:
confidence level,α= 0.05 P value is less than 0.05, ie; Zcal<Ztab, So rejected

Setting hypothesis:
H0:µ1 = µ2
H1:µ1 > µ2 (one tailed test)

z-Test: Two Sample for Means

Variable 1 Variable 2
Mean 1088 999.5
Known Variance 52783 61560
Observations 2 2 z-Test: Two Sample for
Hypothesized Mean Difference 0
z 0.370129309705
P(Z<=z) one-tail 0.355643072239 Mean
z Critical one-tail 1.644853626951 Known Var
P(Z<=z) two-tail 0.711286144478 Observatio
z Critical two-tail 1.95996398454 Hypothesiz
z
P(Z<=z) one
z Critical o
P(Z<=z) two
z Critical t
Step:
Go to data
click data analysis
click Z-test two samples fro mean
Input
Variable 1 range: (select all X)
Variable 1 range: (select all Y)
Hypothesized mean difference:0
l<Ztab, So rejected Variable 1 variance(known):52783
variable 2 variance(known):61560 z-Test: Two Sample for Means

Variable 1 Variable 2
Mean 1088 999.5
Known Variance 52738 61650
Observations 2 2
Hypothesized M 0
z 0.370056
P(Z<=z) one-tail 0.35567
z Critical one-tai 1.644854
z-Test: Two Sample for Means P(Z<=z) two-tail 0.71134
z Critical two-tai 1.959964
Variable 1 Variable 2
1088 999.5
52783 61650
2 2
0
0.369984
0.355697
1.644854
0.711395
1.959964
Hypothesis: Z-test for 1 sample proportion

Q. A sample of 500 person selected randomly in ktm valley which resulted that the female were 54% . Is there any reason to d
at 5% level of significance.
Given;
sample no , n= 500
sample proportion of female, p= 0.54
q= 0.46

Population proportion, P= 0.5


Q= 0.5

Setting hypothesis:
H0:P=0.5
H1:P≠0.5 (Two tailed test)

level of significance α=0.05

Test statistics:
S.E=sqrt(PQ/n)= 0.02236068
p-P=0.54-0.5= 0.04
Zcal=(p-P)/sqrt(P*Q/n)= 0.26749612

critical value:
Ztab(5%)= 1.96
P-value=2*(1-normsdist(Zcal))= 0.789087
α= 0.05
Decision:
P value is greater than 0.05, So H0 is not rejected.
e 54% . Is there any reason to doubt the hypothesis that females and males are in equal number
Z-test for two sample proportion

Q. Random samples of 250 bolts manufactured by machine A and 200 bolts manufacutred by machine B showed 24 and 10 de
Given;
Machine A Machine B
n1= 250 n2= 200
decective= 24 defective= 10
sample proportion,P1=(24/250)= 0.096 P2=(10/200)= 0.05
q1=1-P1= 0.904 q2=1-P2= 0.95

setting Hypothesis:
H0:P1=P2
H1:P1≠P2

level of significance, α=5%=0.05

Test statistics:
Zcal=(P1-P2)/sqrt((P*Q)*(1/n1+1/n2))= where, P(Pcap)=(n1*P1+n2*P2)/(n1+n2)= 0.075556
1.8346911536 Q(Q cap)=1-P= 0.924444

critical value: Ztab= 1.96 P-value=2*(1-normsdist(Zcal))= 0.066551


Decision: P-value is greater than 0.05 , So H0 is accepted
Decision: Zcal<Ztab , So H0 is not rejected
achine B showed 24 and 10 defective bolts respectively. Test the hypothesis that the machine are showing different qualities of performan
ifferent qualities of performance.

You might also like