If \(X_{i}, i=1, \ldots, n\) are independent normal random variables, with
\(X_{i}\) having mean \(\mu_{i}\) and variance 1, then the random variable
\(\sum_{i=1}^{n} X_{i}^{2}\) is said to be a noncentral chi-squared random
variable.
(a) if \(X\) is a normal random variable having mean \(\mu\) and variance 1 show,
for \(|t|<1 / 2\), that the moment generating function of \(X^{2}\) is
$$
(1-2 t)^{-1 / 2} e^{\frac{t \mu^{2}}{1-2 t}}
$$
(b) Derive the moment generating function of the noncentral chi-squared random
variable \(\sum_{i=1}^{n} X_{i}^{2}\), and show that its distribution depends on
the sequence of
means \(\mu_{1}, \ldots, \mu_{n}\) only through the sum of their squares. As a
result, we say that \(\sum_{i=1}^{n} X_{i}^{2}\) is a noncentral chi-squared
random variable with parameters \(n\) and \(\theta=\sum_{i=1}^{n} \mu_{i}^{2}\)
(c) If all \(\mu_{i}=0\), then \(\sum_{i=1}^{n} X_{i}^{2}\) is called a chi-
squared random variable with \(n\) degrees of freedom. Determine, by
differentiating its moment generating function, its expected value and
variance.
(d) Let \(K\) be a Poisson random variable with mean \(\theta / 2\), and suppose
that conditional on \(K=k\), the random variable \(W\) has a chi-squared
distribution with \(n+2 k\) degrees of freedom. Show, by computing its moment
generating function, that \(W\) is a noncentral chi-squared random variable with
parameters \(n\) and \(\theta\).
(e) Find the expected value and variance of a noncentral chi-squared random
variable with parameters \(n\) and \(\theta\).