makedist gives error when applied to Gamma distribution
Show older comments
Hello,
I get the following error using makedist('Gamma','a',number 1,'b',number 2)
"Error using makedist (line X)
Distribution name 'Gamma' is unrecognized."
Any idea what is going on? Thanks
9 Comments
Walter Roberson
on 24 Apr 2019
Which release are you using?
As a work-around, try using 'gamma' instead of 'Gamma'
Cristian Martinez
on 24 Apr 2019
Walter Roberson
on 24 Apr 2019
I will install R2016b locally to test. While we are waiting on that, please show
which -all makedist
Walter Roberson
on 24 Apr 2019
Works for me when I test in R2016b.
Cristian Martinez
on 25 Apr 2019
Mustafa Vural
on 17 Sep 2020
Is there a makedist solution for a 3 parameter weibull distribution?
It only exists for a 2 parameter weibull distribution...
Twinkle Bhavsar
on 17 Mar 2021
Edited: Walter Roberson
on 18 Mar 2021
Hello!
I am getting an error as "Distribution name 'nakagami' is unrecognized." while running the line "
pd = makedist('nakagami','mu',msr1,'omega',omg);
I have installed version R2021a.
Please help!!!!
msr1 = randn;
omg = rand;
pd = makedist('nakagami','mu',msr1,'omega',omg)
Seems to work for me in R2021a. It needs the Statistics and Machine Learning Toolbox.
There appears to be another makedist() from Simulink Design Optimization Toolbox that does not support that distribution; https://www.mathworks.com/help/sldo/ref/makedist.html
Fabio
on 7 Feb 2023
I had the same issue with R2022b. Installing the Statistics and Machine Learning Toolbox add-on solved it.
Answers (0)
Categories
Find more on Sensitivity Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!