Custom probability distribution in disttool

조회 수: 8 (최근 30일)
Emilio Dermani
Emilio Dermani 2016년 10월 4일
댓글: michio 2016년 10월 5일
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.

채택된 답변

michio
michio 2016년 10월 4일
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
Emilio Dermani
Emilio Dermani 2016년 10월 4일
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 2016년 10월 5일
Good luck:)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by