A bin of 5 transistors is known to contain 2 that are defective. The transistors are to be tested, one at a time, until the defective ones are identified. Denote by X the number of tests made until the first defect is identified and by Y the number of additional tests until the second defect is identified. (a)  Find g(x|y) and draw

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question

 

Figure attached below.

1. A bin of 5 transistors is known to contain 2 that are defective. The transistors are to be tested, one at a
time, until the defective ones are identified. Denote by X the number of tests made until the first defect
is identified and by Y the number of additional tests until the second defect is identified.
(a)  Find g(x|y) and draw a figure like Figure 4.3-1(b), depicting the conditional pmfs for
y = 1,2,3,and 4.
(b)  Find h(y|x) and draw a figure like Figure 4.3-1(c), depicting the conditional pmfs for
x = 1,2,3,and 4.
(c)  Find E [X|Y = 2] and Var (X|Y = 2)

146 Chapter 4 Bivariate Distributions
For example,
4
1
P(X = 2|Y = 2) = g(2|2) =
12
3
Similarly, the conditional pmf of Y, given that X
= x, is equal to
x+ y
h(y|x) =
y = 1, 2, when x =
1, 2, or 3.
2x + 3
The joint pmf f(x, y) is depicted in Figure 4.3-1(a) along with the marginal pmfs. Now,
if y = 2, we would expect the outcomes of x-namely, 1, 2, and 3–to occur in the
ratio 3:4:5. This is precisely what g(x|y) does:
1+2
2+2
3+2
g(1|2)
g(2|2) =
12
g(3|2) :
12
12
Figure 4.3-1(b) displays g(x|1) and g(x|2), while Figure 4.3-1(c) gives h(y|1), h(y|2),
and h(y|3). Compare the probabilities in Figure 4.3-1(c) with those in Figure 4.3-1(a).
They should agree with your intuition as well as with the formula for h(y|x).
fy(y)
y
12/21 2
• 3/21
• 4/21
• 5/21
9/21 1
• 2/21
• 3/21
• 4/21
1
2
3
5/21
7/21
9/21
fx(x)
(a) Joint and marginal pmfs
y
y
h(y|1)
h(y|2)
h(y|3)
• 3/12
• 4/12
• 5/12 g(x|2)
2
• 3/5
• 4/7
• 5/9
1
• 2/9
• 3/9
• 4/9
g(x|1)
1
• 2/5
• 3/7
• 4/9
1
2
3
1
2
3
(b) Conditional pmfs of X, given y
(c) Conditional pmfs of Y, given x
Figure 4.3-1 Joint, marginal, and conditional pmfs
Note that 0 <h(y|x). If we sum h(y|x) over y for that fixed x, we obtain
Eh(y|x) = E
f(x, y)
fx(x)
= 1.
fx(x)
y
fx(x)
y
Transcribed Image Text:146 Chapter 4 Bivariate Distributions For example, 4 1 P(X = 2|Y = 2) = g(2|2) = 12 3 Similarly, the conditional pmf of Y, given that X = x, is equal to x+ y h(y|x) = y = 1, 2, when x = 1, 2, or 3. 2x + 3 The joint pmf f(x, y) is depicted in Figure 4.3-1(a) along with the marginal pmfs. Now, if y = 2, we would expect the outcomes of x-namely, 1, 2, and 3–to occur in the ratio 3:4:5. This is precisely what g(x|y) does: 1+2 2+2 3+2 g(1|2) g(2|2) = 12 g(3|2) : 12 12 Figure 4.3-1(b) displays g(x|1) and g(x|2), while Figure 4.3-1(c) gives h(y|1), h(y|2), and h(y|3). Compare the probabilities in Figure 4.3-1(c) with those in Figure 4.3-1(a). They should agree with your intuition as well as with the formula for h(y|x). fy(y) y 12/21 2 • 3/21 • 4/21 • 5/21 9/21 1 • 2/21 • 3/21 • 4/21 1 2 3 5/21 7/21 9/21 fx(x) (a) Joint and marginal pmfs y y h(y|1) h(y|2) h(y|3) • 3/12 • 4/12 • 5/12 g(x|2) 2 • 3/5 • 4/7 • 5/9 1 • 2/9 • 3/9 • 4/9 g(x|1) 1 • 2/5 • 3/7 • 4/9 1 2 3 1 2 3 (b) Conditional pmfs of X, given y (c) Conditional pmfs of Y, given x Figure 4.3-1 Joint, marginal, and conditional pmfs Note that 0 <h(y|x). If we sum h(y|x) over y for that fixed x, we obtain Eh(y|x) = E f(x, y) fx(x) = 1. fx(x) y fx(x) y
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman