I defined a PDF called dist, for example like this one:

dist = ProbabilityDistribution[
  Convolve[PDF[NormalDistribution[4, 5], x], 
   PDF[NormalDistribution[3, 1], x], x, t], {t, -Infinity, Infinity}]

Is it possible to get also a shifted PDF? For example

$p_1(x)=dist(x), p_2(x)=dist(x-c)$

where c is a constant


A transformed distribution should do what you want, e.g.,

dist=TransformedDistribution[a u + b,  u \[Distributed] NormalDistribution[mu, sigma]]

so in your case, distributed by your custom PDF. Be aware, while neat, MMA fancy-probability features have their limits...


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.