Ask Your Question

LostTrolley's profile - activity

2013-07-30 10:20:51 +0200 received badge  Teacher (source)
2013-07-30 10:20:51 +0200 received badge  Necromancer (source)
2013-07-30 07:02:30 +0200 answered a question convolution got the wrong result

Agreed that it is wrong. After very odd results with something more complicated, I tried convolving two rectangular distributions of unequal width as a test. It is easy enough to show that the result should be a trapezoidal distribution. The result of the convolution in Sage was kind-of the right shape, but the top of the trapezium was detached, and too high by a factor of (exactly) 4.

I'm not a hacker, but would be happy to provide some test cases to somebody who wants to have a go at fixing the code.