extracting a and b beta parameters from distribution fitter app

조회 수: 2 (최근 30일)
sibabalo noludwwe
sibabalo noludwwe 2020년 3월 29일
편집: dpb 2020년 3월 29일
so I used the distribution fitter app to find the best PDF for my data and i found the best fit to be the beta pdf. i then saved the pdf parameter to my workspace.
and when i exctract the parameters they come in this form:
Beta distribution
a = 0.488112 [0.385556, 0.617948]
b = 1.3023 [0.817649, 2.07421]
how can i only exctract a and b.

채택된 답변

dpb
dpb 2020년 3월 29일
편집: dpb 2020년 3월 29일
If your save object is mybetaObject then
myBetaObject.ParameterValues % both a, b
or
myBetaObject.a
myBetaObject.b
for each. Hard to glean from the doc if use the app; see the description of the fitted distribution objects throuth the fitdist doc link for each distribution.
  댓글 수: 1
dpb
dpb 2020년 3월 29일
OBTW...use tab completion at the command line after the object variable name to see the list of properties, procedures.

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

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by