You’re an advanced mathematical statistician with a deep understanding of probability theory and statistical methods. You have a strong background in creating educational content, particularly focused on typesetting mathematics using LaTeX, ensuring clarity and precision in your explanations.
Your task is to solve a problem from the textbook "Robert Hogg, Joseph McKean, Allen Craig - Introduction to Mathematical Statistics (2018, Global Edition)." Here are the details of the problem:
\textbf{Problem 2.} For a vector ( \mathbf{x} = (x_1, x_2, \dots, x_n)^\top \in \mathbb{R}^n ), the (\ell_2) norm of ( \mathbf{x} ), denoted as ( |\mathbf{x}|2 ), is defined as
[
|\mathbf{x}|2 = \sqrt{\sum{j=1}^{n} x_j^2}.
]
\begin{enumerate}[label = (\alph*)]
\item Let ( X_1, X_2 ) be independent chi-square variables with ( r_1, r_2 ) degrees of freedom. Show that ( X_1 ) and ( X_2 ) can be represented as:
[
X_1 = Z_1^2 + \cdots + Z{r_1}^2, \quad X_2 = W_1^2 + \cdots + W_{r_2}^2
]
where ( Z_i, W_j \sim N(0,1) ) are independent.
code
\item Let \( Y = (Z_1, \dots, Z_{r_1}, W_1, \dots, W_{r_2})^\top \in \mathbb{R}^{r_1 + r_2} \). Identify the distribution of \( \frac{Y}{\|Y\|_2} \). Conclude that \( \frac{Y}{\|Y\|_2} \) is independent of \( \|Y\|_2 \).
\item Using part (b), show that \( \frac{X_1}{X_1 + X_2} \) is independent of \( X_1 + X_2 \). Use the fact that if two random variables $U, V$ are independent, then for any functions $f,g, f(U)$ and $g(V)$ are also independent.
\item From part (c), conclude that \( \frac{X_1}{X_2} \) and \( X_1 + X_2 \) are independent.
\item Finally, show that if \( X_3 \) is a chi-square random variable with \( r_3 \) degrees of freedom, independent of \( X_1, X_2 \), then
\[
\frac{X_1/r_1}{X_2/r_2} \quad \text{and} \quad \frac{X_3/r_3}{(X_1 + X_2)/(r_1 + r_2)}
\]
are independent \( F \)-variables.
\end{enumerate}
Please keep in mind that while solving the problem, the explanation should be comprehensive enough for a student to understand the steps taken, and the LaTeX code should be well-structured and formatted for easy readability.
Here’s an example of how you may format your solution in LaTeX:
\documentclass{article}
\usepackage{amsmath, amssymb}
\begin{document}
\textbf{Solution:}
\begin{enumerate}[label = (\alph*)]
\item \textbf{Representation of Chi-Square Variables}
Let us recall that a chi-square random variable with $r$ degrees of freedom can be represented as the sum of squares of $r$ independent standard normal random variables. Specifically, if $Z_1, Z_2, \dots, Z_r$ are independent and identically distributed (i.i.d.) with $Z_i \sim N(0,1)$, then:
\[
X = Z_1^2 + Z_2^2 + \cdots + Z_r^2 \sim \chi^2_r
\]
Since $X_1$ and $X_2$ are independent chi-square random variables with degrees of freedom $r_1$ and $r_2$, respectively, we can write:
\[
X_1 = Z_1^2 + Z_2^2 + \cdots + Z_{r_1}^2, \quad X_2 = W_1^2 + W_2^2 + \cdots + W_{r_2}^2
\]
where $Z_1, \dots, Z_{r_1}, W_1, \dots, W_{r_2}$ are independent standard normal random variables.
\item \textbf{Distribution of \(\frac{Y}{\|Y\|_2}\) and Its Independence from \(\|Y\|_2\)}
Define the random vector:
\[
Y = \begin{pmatrix} Z_1 \\ Z_2 \\ \vdots \\ Z_{r_1} \\ W_1 \\ W_2 \\ \vdots \\ W_{r_2} \end{pmatrix} \in \mathbb{R}^{r_1 + r_2}
\]
Since the components of $Y$ are independent and each follows a standard normal distribution, $Y$ follows a multivariate normal distribution with mean vector $\mathbf{0}$ and covariance matrix $\mathbf{I}$, the identity matrix of size $r_1 + r_2$.
The norm of $Y$ is:
\[
\|Y\|_2 = \sqrt{\sum_{j=1}^{r_1} Z_j^2 + \sum_{k=1}^{r_2} W_k^2} = \sqrt{X_1 + X_2}
\]
The vector $\frac{Y}{\|Y\|_2}$ lies on the unit sphere in $\mathbb{R}^{r_1 + r_2}$. Because the multivariate normal distribution is spherically symmetric, the direction of $Y$ (i.e., $\frac{Y}{\|Y\|_2}$) is uniformly distributed on the unit sphere, independent of the magnitude $\|Y\|_2$.
Therefore, we conclude that:
\[
\frac{Y}{\|Y\|_2} \quad \text{is independent of} \quad \|Y\|_2
\]
\item \textbf{Independence of \(\frac{X_1}{X_1 + X_2}\) and \(X_1 + X_2\)}
We observe that:
\[
X_1 = \sum_{j=1}^{r_1} Z_j^2, \quad X_2 = \sum_{k=1}^{r_2} W_k^2
\]
The total sum is:
\[
X_1 + X_2 = \sum_{j=1}^{r_1} Z_j^2 + \sum_{k=1}^{r_2} W_k^2 = \|Y\|_2^2
\]
Note that $X_1$ and $X_1 + X_2$ can be expressed in terms of $Y$ and its norm:
\[
\frac{X_1}{X_1 + X_2} = \frac{\sum_{j=1}^{r_1} Z_j^2}{\|Y\|_2^2}
\]
Let $U = \frac{Y}{\|Y\|_2}$. Then:
\[
\frac{X_1}{X_1 + X_2} = \sum_{j=1}^{r_1} \left( \frac{Z_j}{\|Y\|_2} \right)^2 = \sum_{j=1}^{r_1} U_j^2
\]
Since $U$ is independent of $\|Y\|_2$ (from part (b)), and $X_1 + X_2 = \|Y\|_2^2$, it follows that $\frac{X_1}{X_1 + X_2}$ is a function of $U$ only, and $X_1 + X_2$ is a function of $\|Y\|_2$ only.
Using the fact that if $U$ and $V$ are independent random variables, then any functions $f(U)$ and $g(V)$ are also independent, we conclude that:
\[
\frac{X_1}{X_1 + X_2} \quad \text{is independent of} \quad X_1 + X_2
\]
\item \textbf{Independence of \(\frac{X_1}{X_2}\) and \(X_1 + X_2\)}
From part (c), we know that $\frac{X_1}{X_1 + X_2}$ and $X_1 + X_2$ are independent.
Consider the transformation:
\[
\frac{X_1}{X_2} = \left( \frac{X_1}{X_1 + X_2} \right) \left( \frac{X_1 + X_2}{X_2} \right)
\]
Observe that:
\[
\frac{X_1 + X_2}{X_2} = 1 + \frac{X_1}{X_2}
\]
Solving for $\frac{X_1}{X_2}$:
\[
\frac{X_1}{X_2} = \left( \frac{X_1}{X_1 + X_2} \right) \left( \frac{X_1 + X_2}{X_2} \right) = \left( \frac{X_1}{X_1 + X_2} \right) \left( 1 + \frac{X_1}{X_2} \right)
\]
This suggests that $\frac{X_1}{X_2}$ is a function of $\frac{X_1}{X_1 + X_2}$.
Since $\frac{X_1}{X_1 + X_2}$ is independent of $X_1 + X_2$, and $X_1 + X_2$ is a function of $X_1 + X_2$, it follows that $\frac{X_1}{X_2}$ is independent of $X_1 + X_2$.
\item \textbf{Independence of \( F \)-Variables}
Let $X_3$ be a chi-square random variable with $r_3$ degrees of freedom, independent of $X_1$ and $X_2$.
We are to show that:
\[
\frac{X_1 / r_1}{X_2 / r_2} \quad \text{and} \quad \frac{X_3 / r_3}{(X_1 + X_2) / (r_1 + r_2)}
\]
are independent $F$-variables.
First, recall that the ratio of two independent scaled chi-square random variables follows an $F$-distribution. Specifically, if $U \sim \chi^2_{r_1}$ and $V \sim \chi^2_{r_2}$, independent, then the random variable:
\[
F = \frac{(U / r_1)}{(V / r_2)} \sim F_{r_1, r_2}
\]
From parts (c) and (d), we know that $\frac{X_1}{X_2}$ is independent of $X_1 + X_2$. Also, $X_1$, $X_2$, and $X_3$ are mutually independent.
Since $\frac{X_1 / r_1}{X_2 / r_2}$ depends only on $X_1$ and $X_2$, and $\frac{X_3 / r_3}{(X_1 + X_2) / (r_1 + r_2)}$ depends on $X_3$ and $X_1 + X_2$, which is independent of $\frac{X_1}{X_2}$, the two ratios are independent.
Moreover, both ratios follow $F$-distributions:
\[
\frac{X_1 / r_1}{X_2 / r_2} \sim F_{r_1, r_2}, \quad \frac{X_3 / r_3}{(X_1 + X_2) / (r_1 + r_2)} \sim F_{r_3, r_1 + r_2}
\]
Hence, we have shown that the two random variables are independent $F$-variables.
\end{enumerate}
\end{document}