Is it possible to get Mathematica (9) to calculate PDF's for combined distributions? I can't seem to find the right notation, if this is possible at all. My attempts:

PDF[NormalDistribution[0, 1] + NormalDistribution[0, 1], x]

Nor can we store a distribution to a variable:

z \[Distributed] NormalDistribution[0, 1]
PDF[z, x]
dist = TransformedDistribution[u + v, 
 {u \[Distributed] NormalDistribution[μ1, σ1], 
  v \[Distributed] NormalDistribution[μ2, σ2]}];
PDF[dist, x]

enter image description here

Note: check the correct syntax for PDF in the docs.

  • $\begingroup$ @Matt, my pleasure. Welcome to Mathematica.SE. $\endgroup$ – kglr Mar 13 '13 at 18:02
  • $\begingroup$ Thanks for the welcome! I do most of my coding in R, working on a review of Mathematica for R users right now... $\endgroup$ – Matt Asher Mar 13 '13 at 18:12
  • 4
    $\begingroup$ @MattAsher I suppose you're aware of Mathematica 9's new RLink feature, right? $\endgroup$ – Sjoerd C. de Vries Mar 13 '13 at 19:58
  • $\begingroup$ @Sjoerd C. de Vries Yes I am. I'll be evaluating some of RLink's capabilities in my review. $\endgroup$ – Matt Asher Mar 15 '13 at 16:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.