# Probability of a specific element in different sets having the same attribute value

Assume we have n number of sets with varying number of elements, some of which appear in more than one set. Each element can have zero or more attributes.

If we are told that an element appears in all the sets, what is the probability that it has a specific attribute t?

As a concrete example, let's say we have two decks of standard playing cards, one missing the diamonds and one missing the clubs as well as spades. Now if a card that appears in both decks is picked, what is the probability that it's a heart?

• You ask for a conditional probability. Ergo, the only elements that need consideration are those appearing in all the sets. Accordingly, you don't have to worry about $n$ sets: you just have one set; namely, their intersection. At this point objective analysis of your question ends, because it makes no sense to provide a probability (except in trivial cases where all or none of the elements of the union have attribute $t$) until you describe how a given element in the union was selected. What can you tell us about that procedure? – whuber Sep 8 '13 at 16:21

• For Peter's example, if we have $P(Deck=1)=P(Deck=2)=\frac{1}{2}$, we have $$P(Card=Spade) = P(Card=Spade|Deck=1)P(Deck=1)+P(Card=Spade|Deck=2)P(Deck=2) = \frac{1}{2}\frac{1}{2}+\frac{1}{3}\frac{1}{2}=\frac{5}{12}=0.416$$. That is what you asked for? – rapaio Aug 9 '13 at 16:05