Consider the following mixed discrete-continuous pdf for a random vector \((X,
Y)\), (discussed in Casella and George, 1992):
$$
f(x, y) \propto\left\\{\begin{array}{ll}
\left(\begin{array}{l}
n \\
x
\end{array}\right) y^{x+\alpha-1}(1-y)^{n-x+\beta-1} & x=0,1, \ldots, n, 00\) and \(\beta>0\).
(a) Show that this function is indeed a joint, mixed discrete-continuous pdf
by finding the proper constant of proportionality.
(b) Determine the conditional pdfs \(f(x \mid y)\) and \(f(y \mid x)\).
(c) Write the Gibbs sampler algorithm to generate random samples on \(X\) and
\(Y\).
(d) Determine the marginal distributions of \(X\) and \(Y\).
11.4.8. If computation facilities are available, write a program for the Gibbs
sampler of Exercise 11.4.7. Run your program for \(\alpha=10, \beta=4, m=3000\),
and \(n=6000\). Obtain estimates (and confidence intervals) of \(E(X)\) and \(E(Y)\)
and compare them with the true parameters.