How Do You Calculate the Conditional Distribution P(X = x | Y = y)?

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
cse63146
Messages
435
Reaction score
0

Homework Statement



A card is picked at random from N cards labeled 1,2,...,N and the number that appears is X. A second card is picked at random from cards numbered 1,2,..., X and its number is Y. Find the conditional distribution of X given Y = y.

Homework Equations



[tex]P(X = x | Y = y) = \frac{P(X = x , Y = y)}{P(Y = y)}[/tex]


The Attempt at a Solution



From what I understand, there are two decks. The first deck has N cards, while the second deck has X cards, which depends on the value of the card chosen from the first deck, hence x and y are not independent.

I know that [tex]P(Y = y) = \frac{1}{x}[/tex]

I'm not sure how to find P(X = x , Y = y).

Any help would be greately appreciated. Thank you.
 
Physics news on Phys.org
What is the value of P(X=x)? What does P(x,y) mean in general?