ParmHat not returning shape parameter

1 view (last 30 days)
Hello,
I'm new to MATLAB and statistics, but have been trying to estimate my parameters for a weibull distribution of a set of value. When I run the command parmHat=wblfit(x), it should technically return both scale and shape parameter, but its returning only the former. Why is it so?
My x data= [221447,277196,464274,565756,463453,564535,653655,564354,576124,567234,896453] fro example.
Regards

Accepted Answer

Star Strider
Star Strider on 8 Sep 2020
It returns both parameters for me (in R2020a, Update 5):
data= [221447,277196,464274,565756,463453,564535,653655,564354,576124,567234,896453];
parmHat = wblfit(data);
Shape = parmHat(1)
Scale = parmHat(2)
producing:
Shape =
588194.482822158
Scale =
3.35979418647355
.
  6 Comments

Sign in to comment.

More Answers (0)

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!