Finding the distribution of random variables

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
9 replies · 2K views · last reply
LokLe
Messages
37
Reaction score
5
Homework Statement
In a box of ten tickets numbered 0, 1, 2,...,9. You pick at random 2 tickets from this box. Let
X is the larger number in these two tickets, and Y be the smaller one.
(a) Find the distributions of X, Y and their joint distribution.
(b) Find the distribution of Z=X-Y.
(c) Compute E(X), Var(X), E(Z) and Var(Z).
Relevant Equations
None
Hi. I have found the answer to a and c (I don't know whether it is correct) but I do not know what I should find in question b.

Handwritten working on lined paper for a probability problem: P(Z = max(X,Y)) values for Z from 0 to 9 with fractions, a boxed table of P(X = x), P(X = y) and P(Y < y) values, then expectation and variance calculations for E(X), Var(X), E(Z) and Var(Z).


Is my method correct and how should I solve part b?

Thank you for your help!
 
Physics news on Phys.org
I made a 10x10 table and counted the occurrence of each max and min. There is a simple pattern.
I don't get the same answers in (a). Can you explain what your logic is? I have trouble reading your work, but it looks like your probabilities add up to more than 1. [EDIT: It looks like I agree with the numbers at the top but not with the numbers in the box.]
 
Last edited:
  • Like
Likes   Reactions: anuttarasammyak
I also made a table with number Z in the cells.
Grid with rows labelled X from 0 to 9 and columns labelled Y from 0 to 9, filled with green-shaded cells holding integers 1 to 9 in an upper-right triangle, with the rest blacked out.
 
Last edited:
  • Like
Likes   Reactions: WWGD and FactChecker
FactChecker said:
I made a 10x10 table and counted the occurrence of each max and min. There is a simple pattern.
I don't get the same answers in (a). Can you explain what your logic is? I have trouble reading your work, but it looks like your probabilities add up to more than 1.
Sorry I am really confused about this topic.
Spreadsheet with a 10 by 10 table of values max(X,Y) for X and Y from 0 to 9, a joint distribution table of values 1/100 to 19/100, and distribution tables listing P(X=0) to P(X=9) as 1/10 and P(Y=0) to P(Y=9) as 1/9.
I tried to correct the mistakes by making a 10x10 table.

We have the same chance of getting a number from 0 to 9, so the distribution of (X=x) should be 1/10.
Since we have already picked a number for X, (Y=y) should be 1/(10-1) = 1/9?
 
LokLe said:
I tried to correct the mistakes by making a 10x10 table.

We have the same chance of getting a number from 0 to 9, so the distribution of (X=x) should be 1/10.
Since we have already picked a number for X, (Y=y) should be 1/(10-1) = 1/9?
You pick up two tickets AT A TIME. Then you read them to call larger one Y and smaller one X.
All the possible cells in the table have an equal probability.
 
anuttarasammyak said:
You pick up two tickets AT A TIME. Then you read them to call larger one Y and smaller one X.
All the possible cells in the table have an equal probability.
Oh so X=x and Y=y have an equal distribution. I will correct it. Thank you.
 
LokLe said:
Oh so X=x and Y=y have an equal distribution. I will correct it. Thank you.
I would say all the cells (x,y) x<y are equal in probability or in distribution.
 
  • Like
Likes   Reactions: LokLe
anuttarasammyak said:
Then you read them to call larger one Y and smaller one X.
You got that backwards.
 
  • Like
Likes   Reactions: anuttarasammyak
LokLe said:
Sorry I am really confused about this topic.View attachment 298597I tried to correct the mistakes by making a 10x10 table.

We have the same chance of getting a number from 0 to 9, so the distribution of (X=x) should be 1/10.
Since we have already picked a number for X, (Y=y) should be 1/(10-1) = 1/9?
Your distribution of Y adds up to more than 1, so we can see it must be wrong. Furthermore, it does not make sense that the probabilities of the X values are equal. Can the maximum being 1 (only two ways to get that) really be as likely as the maximum being 9 (more than two ways to get that)?
I would start with a 10x10 table of the two numbers drawn. In each cell, I would put the Y,X values and see the pattern. Each combination of two numbers has equal probability, so we can just count how many of the cells are in particular events like X=3 or Y=5. I think you had the right pattern in the top section of your original post, but it is hard to read and unexplained.
Table with rows and columns labeled 0 to 9 showing pairs Num 1 and Num 2; cells list pairs such as 0,1, 0,2 and 1,2 and are marked NA on the diagonal, with entries only in the upper-left block.
 
Last edited: