4

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]
Sjoerd C. de Vries
  • 65,815
  • 14
  • 188
  • 323
Matt Asher
  • 75
  • 5

1 Answers1

5
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.

Sjoerd C. de Vries
  • 65,815
  • 14
  • 188
  • 323
kglr
  • 394,356
  • 18
  • 477
  • 896