MATLAB Answers

extracting a and b beta parameters from distribution fitter app

3 views (last 30 days)
sibabalo noludwwe
sibabalo noludwwe on 29 Mar 2020
Edited: dpb on 29 Mar 2020
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.

  0 Comments

Sign in to comment.

Accepted Answer

dpb
dpb on 29 Mar 2020
Edited: dpb on 29 Mar 2020
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 Comment

dpb
dpb on 29 Mar 2020
OBTW...use tab completion at the command line after the object variable name to see the list of properties, procedures.

Sign in to comment.

More Answers (0)

Sign in to answer this question.


Translated by