Docsity

Probability and Statistics I Exercise Solutions, Exams of Mathematics

Toggle sidebar
bg1
CM141A – Probability and Statistics I Solutions
to exercise sheet 3
1. We know that a die is selected at random from two twenty-faced dice on which the
symbols 1-10 are written with non-uniform frequency as follows:
Symbol
1
2
3
4
5
6
7
8
9
10
Number of faces of die A
6
4
3
2
1
1
1
1
1
0
Number of faces of die B
3
3
2
2
2
2
2
2
1
1
The data set we are given is the following results of 7 die experiments: 5, 3, 9, 3, 8, 4, 7.
Define the two events A, B corresponding to the selection of die A or B respectively.
Also, let us denote the data D in the following way D ={Ci}i 1,= ,7 ={5,3,9,3,8,4,7}.
Using that notation we are interested in P A D()= P A C({ }i )
In order to obtain the probability that the die is die A, we will use Bayes’ theorem:
P({Ci} A P A) ( ) P({Ci} A P A) ( )
P A C({ }i ) = P({ }Ci ) = P({ }CiA P A) ( )+ P({ }CiB P B) ( )
Obviously, . Also
P({ }CiA)=∏i 17= P C A( i)= P C A( 1) P C A( 7) = 20 20 20 20 20 20 201 3 1 3
1 21 = 20187
P({ }CiB) =∏i 17= P C B(i)= P C B( 1) P C B( 7) = 20 20 20 20 20 20 202 2 1 2
2 22 = 20647
Therefore, we obtain
P A C({ }i ) = 187 + 647 = 1882 = 419 = .2195,
20 20
so around 22%.
pf3
pf4
pf5
pf8

Partial preview of the text

Download Probability and Statistics I Exercise Solutions and more Exams Mathematics in PDF only on Docsity!

CM141A – Probability and Statistics I Solutions

to exercise sheet 3

  1. We know that a die is selected at random from two twenty-faced dice on which the

symbols 1-10 are written with non-uniform frequency as follows:

Symbol 1 2 3 4 5 6 7 8 9 10

Number of faces of die A 6 4 3 2 1 1 1 1 1 0

Number of faces of die B 3 3 2 2 2 2 2 2 1 1

The data set we are given is the following results of 7 die experiments: 5, 3, 9, 3, 8, 4, 7.

Define the two events A, B corresponding to the selection of die A or B respectively.

Also, let us denote the data D in the following way D ={C

i

i 1,

= 

Using that notation we are interested in P A D()= P A C({ } i

)

In order to obtain the probability that the die is die A, we will use Bayes’ theorem:

P({C i

} A P A) ( ) P({C i

} A P A) ( )

P A C({ }i ) = P({ }Ci ) = P({ }CiA P A) ( )+ P({ }CiB P B) ( )

Obviously,. Also

P({ }CiA)=∏i 17= P C A( i)= P C A( 1 ) P C A( 7 ) = 20 20 20 20 20 20 20 1 3 1 3

P({ }CiB) =∏i 17= P C B(i)= P C B( 1 ) P C B( 7 ) = 20 20 20 20 20 20 20 2 2 1 2

Therefore, we obtain

P A C({ } i

) = 18

7

20 20

so around 22%.

2. a. Given P A B ( | )=1, we know that

P A B ( | ) = P A B ( P B ( )



= 1 ⇒ P A B P B ( ) = ( ) ⇒ B A ⊂

that is, B is a subset of A - you might want to look at the corresponding Venn diagram for

that (the shaded area is the intersection):

It is therefore clear that for the complementary events A , B opposite is true, i.e. A ⊂ B ,

and thus A  B = A ⇒ P A (  B ) = P A ( ) ⇒ P B A == QED.

b. Given P A B ( | ) = P A B ( | ), we can use the definition of the conditional probability to

get the equation

or after multiplication by P B P B ( ) ( ): P A (  B P B ) ( )= P A (  B P B ) ( ).

Now, note the following facts: P B ()= − 1 P B ( ) and P A ( ) = P A (  B )+ P A (  B )

Thus we can rewrite P A (  B )⎡

1 − P B ( )⎤ ⎡

= P A ( )− P A (  B )⎤

P B ( )

Or P A (  B )− P A (  B P B ) ( ) = P A P B ( ) ( )− P A (  B P B ) ( )

Which boils down to saying that A and B are independent since P A B P A P B ( ) = ( ) (

c. We know that both P A C P B C ( | )> ( | ) and P A C ( | ) > P B C ( | ) are true.

Let’s multiply these inequalities by P C ( ) and P C ( ) respectively (both are nonnegative)

P A C P C ( | ) ( ) > P B C P C ( | ) ( )

P A C P C ( | ) ( ) > P B C P C ( | ) ( )

A
B
PA B
PA
PA B
PA B
PAB PAB
PB PB

c. μ= Y = ∑ yp y ( ) = 3 × + × + − × + − × 278 1 1227 ( 1 ) 276 (

y ∈ − −{ 3, 1,1,3}

In order to calculate the standard deviation σ, we will use the formula σ

2

= Y

2

− Y

2

Y 2 = ∑ y p y 2 ( )= 32 × + × + − 278 12 1227 ( 1 ) 2 × + − 276 (

3 ) 2 × 271 = 72 12 6 9+ + + 27 = = 1133 23 ,

y ∈ − −{ 3, 1,1,3}

and thus: σ 2 = Y 2 − Y 2 = − 113 ( 1 ) 2 = 83 ⇒ σ=

8

3

(d) The Cumulative Distribution Function is:

⎧ 0 y <− 3

t ≤ y ⎪

1 3 ≤ y

0

  • 3 - 1 1 3

y

y

F y

  1. There are ⎜ ⎟

⎝ ⎠ 4 ways of selecting any 4 CDs from 10. We can select x jazz CDs from 5

and then select ( 4 − x ) from the remaining CDs in p x ( ) =⎜ ⎟⎜⎝ ⎠⎝

x 4 − x

ways. Hence

p y ( )= ⎜ ⎟⎜ y 4 − y ⎟⎠ with y = 0,1,2,3,

Summarizing these results gives the probability distribution of the RV Y:

y 0 1 2 3 4

p(y) 1/42 10/42 20/42 10/42 1/

The same information can be represented by the following histogram:

  1. We know that the proportion of people who respond to a certain mail-order solicitation

is a continuous random variable X that has the density function

p x ( ) =

⎪⎩ 0 elsewhere

(a) We need to show that P ( 0 < X < 1 )=1:

1 11

P ( 0 < < = X 1

∫ p x dx ( ) =∫ 5

2

( x + 2 ) dx =

5

2

1

2

x

2

x

5

2

(

1

2

  • = = 2 ) 5 2

2 5

QED

0 0

0

0 1 2 3 4

x

x2 0 x 1

1112 2 x 3

  1. a. Intuitively X > Y since the RV X gives more weight to a big group while Y gives the

same weight to everyone. This may sound unclear – so go over the calculation and give it

another thought. I find it important to develop such a quantitative intuition out of detailed

calculations.

b. Let’s calculate the probability distribution for both X and Y. Actually, both X and Y

assume exactly the same values. The only difference is in the assigned probabilities:

x/y 25 33 40 50

p(x) 25 148 33 148 40 148 50 148

p(y) 1 4 1 4 1 4 1 4

Thus:

X

xp x

x

Y yp y

y

This confirms the guess that X > Y.

c. In order to calculate the variances we will use the formula Var X ( ) = X

2

− X

2

X 2 =∑ x p x 2 ( )= 252 × 14825 + 332 × 14833 + 402 × 14840 + 502 × 14850 = 240562148 1625.4 ,

x

and thus: Var X ( )= X 2 − X 2 = 240562148 −( 5814148 ) 2 82.

Similarly, Y

2

=∑ y p y

2

1

4

2

2

2

2

5814

4

y

and thus: Var Y ( )= Y

2

− Y

2

5814

4

2

8. (a) Let’s start by plotting F x( )

⎧ 0 x < 0

F x( )=⎨2 3 1 ≤ <x 2

1 3 ≤ x

(b) (i) P X 1 P X 1 F

, where ε is arbitrarily small.

Pow ered by TC PDF (ww w.tc pdf.org)

x

F x