How to know what distribution is my time data
Mostrar comentarios más antiguos
Dear, I'm new user at the Matlab and I would like to use it on my simulation project. I have data of processing time to set up a simulation model (Plant Simulation) who accepts many types of distribution, for example, normal, lognormal, weibul and others, but I need to put the parameters, as mu, sigma, lower bound, upper bound... so, I would like to know if I can use the Matlab to know what the best distribution to my time data and what the parameters which that distribution requires, as mu and sigma to a lognormal distribution for example. I put my data on Matlab and used the command h = adtest(a) and h = kstest(a) and [mu, sigma]=normfit(a), but I can't know what type of distribuition is my time data and can't see a graphic with my data and the best fit distribution. I appreciate any help. Thanks.
>> time=[4.28, 4.07, 4.06, 4.22, 4.11, 3.97, 3.79, 4.02, 3.73, 3.8, 3.79, 3.86, 3.79, 3.71, 3.68, 3.82, 3.74, 3.81, 3.65, 3.63, 3.63, 3.63, 3.6, 3.57, 3.61, 3.76, 3.83, 3.59, 3.93, 3.56, 3.78, 3.64, 3.75, 3.71, 3.8, 3.84, 3.78, 3.78, 3.95, 3.7, 3.7, 3.66, 3.69, 3.6, 3.78, 3.85, 4.26, 4.13, 4.04, 3.87]; >> h = adtest(time)
h =
1
>> h = kstest(time)
h =
1
>> [mu, sigma]=normfit(time)
mu =
3.8110
sigma =
0.1834
Respuestas (1)
Jeff Miller
el 2 de Jul. de 2018
0 votos
Categorías
Más información sobre Statistics and Machine Learning Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!