Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Assignment 5

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Emad Hassan Abdelghany

18221825

1ST Y

05
1)

Ahly (A) Zamalek (Z) Others (O)


English (E) 50 30 60 140
French (F) 10 25 35 70
Arabic (R) 100 40 50 190
160 95 145 400

P( A ) = 160/400 = 0.4

P( E ) = 140/400 =0.35

P ( E  A) = P ( E ) + P ( A ) – P ( E  A ) = (140/400) + (160/400 ) - ( 50/400) =250/400=0.625

P ( Z  O) = P ( Z ) + P ( O ) – P ( Z  O ) = (95/400) + (145/400 ) - ( 0/400) =240/400=0.6

P ( F  Z) = 25/400= 0.0625

P ( R/O) = P ( R  O) / P ( O ) = (50/400) / (145/400) = 0.345

P ( Z/F) = P ( Z  F) / P ( F ) = (25/400) / (70/400) = 0.357

2)

B1 B2 B3 B4
A1 10 30 5 75 120
A2 25 15 10 30 80
35 45 15 105 200

P( A1 ) = 120/200 = 0.6

P( B4 ) = 105/200= 0.525

P( B1 ) = 35/200 = 0.175

P ( A1 OR B1) = P ( A1  B1) = P ( A1 ) + P ( B1 ) – P ( A1  B1 ) = (120/200)+(35/200)-(10/200)=0.725

P ( B2 OR B3) = P ( B2  B3) = P ( B2 ) + P ( B3 ) – P ( B2  B3 ) = (45/200)+(15/200)-(0/200)=0.3

P ( A1 and B1) = P ( A1  B1) = 10/200 = 0.05

P ( A1 and B4) = P ( A1  B4) = 75/200 = 0.375

P ( B4/A1) = P ( B4  A1) / P ( A1 ) = (75/200) / (120/200) = 0.625

P ( A2/B3) = P ( A2  B3) / P ( B3 ) = (10/200) / (15/200) = 0.67


2
(1) Find expected value (Mean) µ , variance  and standard deviation  for the following:

X p (X) X* p (X) X2 * p (X)


0 0.25 0 0
1 0.5 0.5 0.5
2 0.25 0.5 1
1 1 1.5

=1
σ 2=Σ [ x 2∗p ( x ) ]−μ2 =1.5−1=0.5σ =√ σ 2= √0.5=0.71

X p (X) X* p (X) X2 * p (X)


0 0.3 0 0
1 0.2 0.2 0.2
2 0.1 0.2 0.4
3 0.4 1.2 3.6
1 1.6 4.2

= 1.6
σ =Σ [ x ∗p ( x ) ]−μ =4.1−1 .6 =1. 64σ =√ σ 2= √1.64=1.28
2 2 2 2

You might also like