How do we modify the tails of norrmal/any kind of distribution by keeping other portion is same?

2 vues (au cours des 30 derniers jours)
I want to generate random numbers several times with keeping pdf constant in the middle portion and changing the trail part pdf of both sides. The pdf curve can be symmetry or asymmetry, it doesn't matter.

Réponse acceptée

Paul
Paul le 7 Sep 2022
Hard to say much, at least for me, without knowing more details about the starting PDF and how the tails are going to be modified.
One approximate approach that may be feasible is to form the CDF of the new PDF, either exactly or via numerical integration as the case may be, and then model the resulting CDF as a piecewise linear distribution
  3 commentaires
Paul
Paul le 8 Sep 2022
Are you asking how to change the tails?
Or are you asking how to the define and sample from the new pdf based on the original pdf and a definiiton of how to change the tails?

Connectez-vous pour commenter.

Plus de réponses (1)

Jeff Miller
Jeff Miller le 8 Sep 2022
As Paul says, the details are important because there are infinitely many ways to do what you are asking. One way to think about the problem is in terms of a mixture distribution. Your original distribution is a mixture of (say) 10% of scores from its low tail, 80% of scores from its middle, and 10% of its scores from its high tail. It would be possible to keep the same three ranges of scores but to rearrange the percentages from each range in any way you like as long as they add up to 100%.
  6 commentaires
BHUKYA VENKATESH
BHUKYA VENKATESH le 8 Sep 2022
Is it possible for you to show that on PDF vs x plot? Can you do it ?
Jeff Miller
Jeff Miller le 8 Sep 2022
Sure, that is easy. For X from 0 to 0.1, the PDF is 0.5. For X from 0.1 to 0.9, the PDF is 1. For X from 0.9 to 1, the PDF is 1.5. Note that the total area under the PDF is 1.

Connectez-vous pour commenter.

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by