Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • $\begingroup$ Check TransformedDistribution[ 1/2 x + 1/2 y, {x \[Distributed] NormalDistribution[\[Mu], \[Sigma]], y \[Distributed] NormalDistribution[\[Mu], \[Sigma]]}] and see if you agree with its output. $\endgroup$ Commented Aug 21, 2018 at 8:38
  • $\begingroup$ @b.gatesucks Thanks for your comment. TransformedDistribution yields practically the same result as my approach. $\endgroup$ Commented Aug 21, 2018 at 8:56
  • $\begingroup$ It would help if you were more specific with your terms. Are you interested in the linear combination of two normally distributed random variables, say, $Z=X/2+Y/2$? Or do are you interested in a mixture distribution where there are 3 random variables: $Z=\alpha X+(1-\alpha)Y$ where $X$ and $Y$ are normally distributed random variables (possibly independent of each other) and another Bernoulli random variable $\alpha$ that has $Pr(\alpha=1)=p$ and $Pr(\alpha=0)=1-p$ ? $\endgroup$ Commented Aug 21, 2018 at 21:07