I am tossing a fair coin 6 times. I define $X$ to be the number of heads in first 3 tosses and $Y$ to be the number of heads in all 6 tosses. $X$ and $Y$ are random variables.
I want to create the joint and marginal distribution tables for $p(X,Y)$ and $p(X)$ and $p(Y)$. For creating the joint distribution table, I have the following (drawing from this post):
$X = B(3, 0.5)$ and $Y = B(6, 0.5)$
Then are the table columns and rows something like this $P(X = i, Y=j)$ with all the values filled in?
\begin{array}{|c|c|c|c|} \hline & i=1 & i=2 & i=3 \\ \hline j=1& & &\\ \hline j=2& & &\\ \hline j=3& & &\\ \hline j=4& & &\\ \hline j=5& & &\\ \hline j=6& & &\\ \hline \end{array}
For example, if I have $P(X = 2, Y= 5)$, I'm interpreting the statement as probability of getting at "exactly 2 heads in the first three tosses and exactly 5 heads from the 6 tosses." So then I calculated that $P(X=2) = 0.375$ and $P(X=6) = 0.09375$. So would I multiply these two values and enter them as such:
\begin{array}{|c|c|c|c|} \hline & i=1 & i=2 & i=3 \\ \hline j=1& & &\\ \hline j=2& & &\\ \hline j=3& & &\\ \hline j=4& & &\\ \hline j=5& & 0.375\times 0.09375 = 0.035 &\\ \hline j=6& & &\\ \hline \end{array}
I'm not sure if this the proper way to represent this and if assumptions are correct or if I'm erring in my concept.