Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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

share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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