Computing the convolution of the difference between random variables

I have the empirical distributions of Z, and X, where Z= X + Y. I've fit pearson type 4 distribution to X and Z.
What is the best way in matlab to solve for the pdf of Y= Z-X ? I've discretized the pdf of z and x and run a double summation to come up with a vector of y's. However, the result just doesnt seem quite right..
Thanks!

 채택된 답변

Torsten
Torsten 2016년 12월 16일

0 개 추천

For a first check, I'd run a Monte-Carlo simulation with the empirical CDFs of X and Z.
Best wishes
Torsten.

추가 답변 (1개)

John D'Errico
John D'Errico 2016년 12월 16일

0 개 추천

Too late probably for you to see this, but...
There is no way to compute the analytical pdf of the difference of the pair of Pearson distributions. Type 4 looks a bit on the non-standard side, so is not going to be amenable for that.
I would use statistical tolerancing to compute the difference. This can be as simple as a Monte Carlo. Then you compute a Pearson distribution from the computed first 4 moments of the random sample differences.
More accurate will be to use Taguchi style methods, specifically the modified Taguchi methods we explained in a few papers.
https://www.jstor.org/stable/1269802?seq=1#page_scan_tab_contents
As we showed in that paper, these methods are simply the equivalent to computing an expectation using Gaussian quadrature. Compute weighted moments, and you can get a fairly high degree of accuracy if you use more than the basic 3 point rules.

질문:

2016년 12월 16일

답변:

2016년 12월 16일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by