Custom probability distribution in disttool

9 vues (au cours des 30 derniers jours)
Emilio Dermani
Emilio Dermani le 4 Oct 2016
Commenté : michio le 5 Oct 2016
Does anybody know if it's possible to import a custom probability distribution in the disttool app? I would want to quickly and easily visualize via the GUI how the Generalized Hyperbolic distribution behaves when changing its parameter values, but so far I haven't found a way (or even an answer to whether or not this is possible).
Please note I am not referring to the fitting of my custom distribution, but to its visualization through the disttool.
Many thanks in advance.

Réponse acceptée

michio
michio le 4 Oct 2016
Unfortunately, using a custom distribution in disttool is not currently supported.
If I were you, I would
  1. create my own GUI that suites the purpose.
  2. use fplot to plot from the analytical expression of the distribution
For the item 1,
edit disttool
to see the source code could be somewhat helpful.
  2 commentaires
Emilio Dermani
Emilio Dermani le 4 Oct 2016
Thank you for your quick reply! I actually figured out it wasn't (directly) possible after some extensive digging into the Statistics and Machine Learning Toolbox User's Guide, but your suggestion is certainly a good starting point.
michio
michio le 5 Oct 2016
Good luck:)

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by