$$ z = max(x+b,y) $$ where x ~ N(m1,s1) and y~N(m2,s2), b is a contant
What's the pdf of z?
Or exact form of E(z)? (E is expectation operator)
To the best of my guessing from the literature it is related with Weibull (https://en.wikipedia.org/wiki/Weibull_distribution) but I can't derive the exact pdf of z or exact E(z).
If there is a formula for arbitrary number of variables and covariance matrix, then that will be even better.
=====================================
Should the answer be like the following?
$$P(z) = P_2(z) \int_{-\infty}^{z-b} P_1(x)dx\; + P_1(z-b) \int_{-\infty}^z P_2(y)dy\; $$
$$ =\frac{1}{2\pi\sigma_{1}\sigma_{2}}\left[\exp\left(\frac{-(z-\mu_{2})^{2}}{2\sigma_{2}^{2}}\right)\int_{-\infty}^{z-b}\exp\left(\frac{-(x-\mu_{1})^{2}}{2\sigma_{1}^{2}}\right)dx+\exp\left(\frac{-(z-b-\mu_{1})^{2}}{2\sigma_{1}^{2}}\right)\int_{-\infty}^{z}\exp\left(\frac{-(y-\mu_{2})^{2}}{2\sigma_{2}^{2}}\right)dy\right] $$
$$ =\frac{1}{2\pi\sigma_{1}\sigma_{2}}\left[\exp\left(\frac{-(z-\mu_{2})^{2}}{2\sigma_{2}^{2}}\right)\sigma_{1}\sqrt{\frac{\pi}{2}}\mathrm{erfc}\left(\frac{\mu_{1}-z+b}{\sigma_{1}\sqrt{2}}\right)+\exp\left(\frac{-(z-b-\mu_{1})^{2}}{2\sigma_{1}^{2}}\right)\sigma_{2}\sqrt{\frac{\pi}{2}}\mathrm{erfc}\left(\frac{\mu_{2}-z}{\sigma_{2}\sqrt{2}}\right)\right] $$