2

I came up with a question: What is the distribution of $(X−Y)^2+(Z−Y)^2$, where $X$,$Y$ and $Z$ are independent normal distributions with their own means and variance? The common part is $Y$ in both of the summands that introduces correlations, otherwise it is χ2. Thanks for the help!

kjetil b halvorsen
  • 63,378
  • 26
  • 142
  • 467
Jing Tang
  • 33
  • 3
  • How does the histogram look like if you sample, say $10^5$, observations from $X, Y, Z$, compute and plot that expression? Maybe you can guess from that empirical data. – TrungDung Dec 18 '20 at 08:31
  • 1
    @Xi'an HI, i think the link you provided works only for independent variables, but in my case they are not. – Jing Tang Dec 18 '20 at 11:48
  • 2
    The highly upvoted answer by djs there points out that this is a generalized chi-squared distribution and offers links to literature. – whuber Dec 18 '20 at 13:17
  • Dear whuber, I don't find the answer by djs. Could you please help? Thanks. – Jing Tang Dec 18 '20 at 15:46
  • The answer by djs is [here](https://stats.stackexchange.com/questions/67533/sum-of-noncentral-chi-square-random-variables/96953#96953). – Richard Hardy Dec 18 '20 at 16:10

0 Answers0