<< Chapter < Page Chapter >> Page >

Suppose X uniform on 1 through n and Y conditionally binomial ( i , p ) , given X = i .

  1. Determine E [ Y ] from E [ Y | X = k ] .
  2. Determine the joint distribution for { X , Y } for n = 50 and p = 0 . 3 . Use jcalc to determine E [ Y ] ; compare with the theoretical value.
  1. E [ Y | X = i ] = i p , so
    E [ Y ] = i = 1 n E [ Y | X = i ] P ( X = i ) = p n i = 1 n i = p ( n + 1 ) 2
  2. P ( X = i ) = 1 / n , 1 i n , P ( Y = k | X = i ) = i b i n o m ( i , p , 0 : i ) , 0 k i . n = 50; p = 0.3; X = 1:n; Y = 0:n; P0 = zeros(n,n+1); % Could use randbernfor i = 1:n P0(i,1:i+1) = (1/n)*ibinom(i,p,0:i);end P = rot90(P0);jcalc: X Y P - - - - - - - - - - -EY = dot(Y,PY) EY = 7.6500 % Comparison with part (a): 0.3*51/2 = 0.765
Got questions? Get instant answers now!

A number X is selected randomly from the integers 1 through 100. A pair of dice is thrown X times. Let Y be the number of sevens thrown on the X tosses. Determine the joint distribution for { X , Y } and then determine E [ Y ] .

  1. P ( X = i ) = 1 / n , E [ Y | X = i ] = i / 6 , so
    E [ Y ] = 1 6 i = 0 n i / n = ( n + 1 ) 12
  2. n = 100; p = 1/6; X = 1:n; Y = 0:n; PX = (1/n)*ones(1,n); P0 = zeros(n,n+1); % Could use randbernfor i = 1:n P0(i,1:i+1) = (1/n)*ibinom(i,p,0:i);end P = rot90(P0);jcalc EY = dot(Y,PY)EY = 8.4167 % Comparison with part (a): 101/12 = 8.4167
Got questions? Get instant answers now!

A number X is selected randomly from the integers 1 through 100. Each of two people draw X times, independently and randomly, a number from 1 to 10. Let Y be the number of matches (i.e., both draw ones, both draw twos, etc.). Determine thejoint distribution and then determine E [ Y ] .

Same as [link] , except p = 1 / 10 . E [ Y ] = ( n + 1 ) / 20 .

n = 100; p = 0.1; X = 1:n; Y = 0:n; PX = (1/n)*ones(1,n); P0 = zeros(n,n+1); % Could use randbernfor i = 1:n P0(i,1:i+1) = (1/n)*ibinom(i,p,0:i);end P = rot90(P0);jcalc - - - - - - - - - -EY = dot(Y,PY) EY = 5.0500 % Comparison with part (a): EY = 101/20 = 5.05
Got questions? Get instant answers now!

E [ Y | X = t ] = 10 t and X has density function f X ( t ) = 4 - 2 t for 1 t 2 . Determine E [ Y ] .

E [ Y ] = E [ Y | X = t ] f X ( t ) d t = 1 2 10 t ( 4 - 2 t ) d t = 40 / 3
Got questions? Get instant answers now!

E [ Y | X = t ] = 2 3 ( 1 - t ) for 0 t < 1 and X has density function f X ( t ) = 30 t 2 ( 1 - t ) 2 for 0 t 1 . Determine E [ Y ] .

E [ Y ] = E [ Y | X = t ] f X ( t ) d t = 0 1 20 t 2 ( 1 - t ) 3 d t = 1 / 3
Got questions? Get instant answers now!

E [ Y | X = t ] = 2 3 ( 2 - t ) and X has density function f X ( t ) = 15 16 t 2 ( 2 - t ) 2 0 t < 2 . Determine E [ Y ] .

E [ Y ] = E [ Y | X = t ] f X ( t ) d t = 5 8 0 2 t 2 ( 2 - t ) 3 d t = 2 / 3
Got questions? Get instant answers now!

Suppose the pair { X , Y } is independent, with X Poisson ( μ ) and Y Poisson ( λ ) . Show that X is conditionally binomial ( n , μ / ( μ + λ ) ) , given X + Y = n . That is, show that

P ( X = k | X + Y = n ) = C ( n , k ) p k ( 1 - p ) n - k , 0 k n , for p = μ / ( μ + λ )

X Poisson ( μ ) , Y Poisson ( λ ) , Use of property (T1) and generating functions shows that X + Y Poisson ( μ + λ )

P ( X = k | X + Y = n ) = P ( X = k , X + Y = n ) P ( X + Y = n ) = P ( X = k , Y = n - k ) P ( X + Y = n )
= e - μ μ k k ! e - λ λ n - k ( n - k ) ! e - ( μ + λ ) ( μ + λ ) n n ! = n ! k ! ( n - k ) ! μ k λ n - k ( μ + λ ) n

Put p = μ / ( μ + λ ) and q = 1 - p = λ / ( μ + λ ) to get the desired result.

Got questions? Get instant answers now!

Use the fact that g ( X , Y ) = g * ( X , Y , Z ) , where g * ( t , u , v ) does not vary with v . Extend property (CE10) to show

E [ g ( X , Y ) | X = t , Z = v ] = E [ g ( t , Y ) | X = t , Z = v ] a . s . [ P X Z ]
E [ g ( X , Y ) | X = t , Z = v ] = E [ g * ( X , Z , Y ) | ( X , Z ) = ( t , v ) ] = E [ g * ( t , v , Y ) | ( X , Z ) = ( t , v ) ]
= E [ g ( t , Y ) | X = t , Z = v ] a . s . [ P X Z ] by (CE10)
Got questions? Get instant answers now!

Use the result of [link] and properties (CE9a) and (CE10) to show that

E [ g ( X , Y ) | Z = v ] = E [ g ( t , Y ) | X = t , Z = v ] F X | Z ( d t | v ) a . s . [ P Z ]

By (CE9) , E [ g ( X , Y ) | Z ] = E { E [ g ( X , Y ) | X , Z ] | Z } = E [ e ( X , Z ) | Z ] a . s .

By (CE10) ,

E [ e ( X , Z ) | Z = v ] = E [ e ( X , v ) | Z = v ] =
e ( t , v ) F X | Z ( d t | v ) a . s .

By [link] ,

E [ g ( X , Y ) | X = t , Z = v ] F X | Z ( d t | v ) =
E [ g ( t , Y ) | X = t , Z = v ] F X | Z ( d t | v ) a . s . [ P Z ]
Got questions? Get instant answers now!

A shop which works past closing time to complete jobs on hand tends to speed up service on any job received during the last hour before closing. Suppose the arrivaltime of a job in hours before closing time is a random variable T uniform [ 0 , 1 ] . Service time Y for a unit received in that period is conditionally exponential β ( 2 - u ) , given T = u . Determine the distribution function for Y .

F Y ( v ) = F Y | T ( v | u ) f T ( u ) d u = 0 1 ( 1 - e - β ( 2 - u ) v ) d u =
1 - e - 2 β v e β v - 1 β v = 1 - e - β v 1 - e - β v β v , 0 < v
Got questions? Get instant answers now!

Time to failure X of a manufactured unit has an exponential distribution. The parameter is dependent upon the manufacturing process. Suppose the parameter isthe value of random variable H uniform on[0.005, 0.01], and X is conditionally exponential ( u ) , given H = u . Determine P ( X > 150 ) . Determine E [ X | H = u ] and use this to determine E [ X ] .

F X | H ( t | u ) = 1 - e - u t f H ( u ) = 1 0 . 005 = 200 , 0 . 005 u 0 . 01
F X ( t ) = 1 - 200 0 . 005 0 . 01 e - u t d u = 1 - 200 t e - 0 . 005 t - e - 0 . 01 t
P ( X > 150 ) = 200 150 [ e - 0 . 75 - e - 1 . 5 ] 0 . 3323
E [ X | H = u ] = 1 / u E [ X ] = 200 0 . 005 0 . 01 d u u = 200 ln 2
Got questions? Get instant answers now!

A system has n components. Time to failure of the i th component is X i and the class

{ X i : 1 i n } is iid exponential ( λ ) . The system fails if any one or more of the components fails. Let W be the time to system failure. What is the probability the failure is due to the i th component?

Suggestion . Note that W = X i iff X j > X i for all j i . Thus

{ W = X i } = { ( X 1 , X 2 , , X n ) Q } , Q = { ( t 1 , t 2 , t n ) : t k > t i , k i }
P ( W = X i ) = E [ I Q ( X 1 , X 2 , , X n ) ] = E { E [ I Q ( X 1 , X 2 , , X n ) | X i ] }

Let Q = { ( t 1 , t 2 , , t n ) : t k > t i , k i } . Then

P ( W = X i ) = E [ I Q ( X 1 , X 2 , , X n ) ] = E { E [ I Q ( X 1 , X 2 , , X n ) | X i ] }
= E [ I Q ( X 1 , X 2 , , t i , X n ) ] F X ( d t )
E [ I Q ( X 1 , X 2 , , t i , X n ) ] = k i P ( X k > t ) = [ 1 - F X ( t ) ] n - 1

If F X is continuous, strictly increasing, zero for t < 0 , put u = F X ( t ) , d u = f X ( t ) d t . t = 0 u = 0 , t = u = 1 . Then

P ( W = X i ) = 0 1 ( 1 - u ) n - 1 d u = 0 1 u n - 1 d u = 1 / n
Got questions? Get instant answers now!

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Applied probability. OpenStax CNX. Aug 31, 2009 Download for free at http://cnx.org/content/col10708/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Applied probability' conversation and receive update notifications?

Ask