Suppose that I am playing a card game with my friend - a $1$ vs $1$ card game. All cards in standard card deck (52 cards) are shuffled randomly, then two cards are drawn to each person respectively. (without replacement) Each player is required to play one of these cards. The card is ranked according to its standard value, regardless of the suits, but the absolute weakest card beats the absolute strongest card, i.e. a $2$ wins an A. The winner belongs to the player who shows the larger value on his card. If both cards have the same value, then we have a tie. Cards will be reshuffle again after a match.
The following are the probabilistic assumptions on this game in order to compute the probability to win:
- The probability to play any one of these cards are equally likely for me and my opponent.
- There is no other factor that affect the match.
If there is the case, then I have calculated that the result is $P(\text{I win})=P(\text{I lose})=\dfrac{8}{17}$ and $P(\text{Tie})=\dfrac{1}{17}$. This sounds reasonable because the probability to win equals to probability to losing by symmetry argument. However, if I define a new parameter for the tendency of a player to play a larger value card as $p$, then I should get a new function $f(p,q)$ for my probability to win, where $q$ is the tendency of my opponent. Note that $0\leq p,q\leq 1$. (Why define such parameter? Because everyone is not guaranteed to play any card equally likely). This changed the probabilistic assumptions, and I intended to do so. But now I have no idea to calculate $f(p,q)$ because the sample space involved is too large. Say a quick example,
$$\begin{align*} P(&\text{I win with a }4)\\ &=P(\text{4 being the smaller card and I choose it})P(\text{win }\lvert\text{ 4 being the smaller card and I choose it})\\&\quad +P(\text{4 being the larger card and I choose it})P(\text{win }\lvert\text{ 4 being the larger card and I choose it}) \end{align*}$$
Writing this seems helpless to solve the problem? How do I proceed the next?
With the help of python
, the function is
\begin{align}
f(p,q)=\dfrac{564}{1225}pq+\dfrac{5137056}{6497400}p(1-q)+\dfrac{1110432}{6497000}(1-p)q+\dfrac{564}{1225}(1-p)(1-q)
\end{align}