X conforms to a normal distribution with mean a and variance b.
Every time I randomly generates a value of X first, say x0. If x0 is greater than preset threshold Q, then I generates Y from another normal distribution with mean c and variance d. If x0 is less or equal to threshold Q, then stop.
Let Z=X+Y
I did below calculation, but that only gives me the expectation. How can I derive the distribution of Z?
E(Z)=E(X)+E(Y)=a+E(Y|X>Q)+E(Y|X<=Q)=a+c+0=a+c
Var(Z)=?