필터 지우기
필터 지우기

ParmHat not returning shape parameter

조회 수: 3 (최근 30일)
Chaman Srivastava
Chaman Srivastava 2020년 9월 8일
댓글: Star Strider 2020년 9월 15일
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

채택된 답변

Star Strider
Star Strider 2020년 9월 8일
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
Chaman Srivastava
Chaman Srivastava 2020년 9월 15일
Indeed. Thanks for the help.
Star Strider
Star Strider 2020년 9월 15일
As always, my pleasure!

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

추가 답변 (0개)

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by