Say we have to independent normal distributions ($X$ and $Y$). What is the distribution of Z where Z is $(X + Y)^2$.
Thanks!
Say we have to independent normal distributions ($X$ and $Y$). What is the distribution of Z where Z is $(X + Y)^2$.
Thanks!
Your random variable $Z$ has a distribution related to the non-central chi-squared distribution.
Here is a specific example:
Suppose $X \sim \mathsf{Norm}(20, 3)$ and independently $X \sim \mathsf{Norm}(30, 4).$ Then $T = X + Y \sim \mathsf{Norm}(50, \sqrt{3^2+4^2}=5)$ and $T/5 \sim \mathsf{Norm}(10,1).$
Then $Z = T^2/25 \sim \mathsf{Chisq}(df = 1, ncp=10^2),$ a non-contral chi-squared distribution with noncentrality parameter 100, according to the definition of that distribution given in the Wikipedia link above.
By way of demonstration, consider the brief simulation in R below.
set.seed(2018)
t = rnorm(10^5, 50, 5); z = t^2/25
hist(z, prob=T, br=30, col="skyblue2", main="Sample from CHISQ(df=1, ncp=100)")
curve(dchisq(x, 1, ncp=100), add=T, col="red", lwd=2)
Note: Non-central chi-squared distributions are widely used in applications to model the sum of squares of several independent normal random variables with various means and common unit standard deviation. One specific application is in finding the power of a one-factor, fixed-effect ANOVA.