Curve Fitting Tool - Weibull distribution

16 views (last 30 days)
SYML2nd
SYML2nd on 14 Nov 2020
Edited: SYML2nd on 15 Nov 2020
Hi all,
I am trying to do a fitting of a graph, using the curve fitting Tool and, in particular, using the Weibull option that use the formula:
a*b*x^(b-1)*exp(-a*x^b)
Despite the fact that the shape of the Weibull distribution seems to be the same of the one of my graph, the height of the Weibull distribution is lower. I have tried to calculate the integral of the Weibull function of the curve fitting tool of some data and the result is always 1. I think that this is due to the fact that it is a density function. With the above mentioned formula, it is impossible to fit properly the dataset because the Weibull distribution is always lower.
I used the approach shown here https://it.mathworks.com/help/curvefit/weibull.html, using the formula:
c*a*b*x^(b-1)*exp(-a*x^b)
Using this approach I have seen that the parameter c helps to scale the data. Is this approach correct? The second formula that I used should not substitute the first one that is used as default in the curve fitting tool?
if I want to obtain a Weibull distribution or a Lognormal distribution is it sufficient to apply a multiplier coefficient (e.g. the c parameter, which is necessary in the formula above to allow the curve's height to adjust to data) to a density function?
  6 Comments
SYML2nd
SYML2nd on 15 Nov 2020
Ok. What it is not clear to me now is: if I want to obtain a Weibull distribution or a Lognormal distribution is it sufficient to apply a multiplier coefficient (e.g. the c parameter, which is necessary in the formula above to allow the curve's height to adjust to data) to a density function?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!