Distribution Fitting Tool - finding of best fitting distribution type
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
gayan wijendrasiri
el 19 de Oct. de 2020
Comentada: Jeff Miller
el 21 de Oct. de 2020
I'm just trying to analyze soma data using distribution fiting tool of Matalab. I want to find the mean by fiting some curve types like Log, exponential, Burr, etc. I manually calculated the mean of my data set and compared with the mean produced by the Matlab relative to various curve types. Sometimes though the curve is fitted well, the means are different. As per manual calculation mean is 0.588175. The mean values proposed for various types of curve fiting options are mentioned below.
- Exponential - 0.588175
- Bur - 1.06174
- Log-Logistic - 0.686126
How can I find the best fitting curve for my dataset? Further I extracted the [x,f(x)] data for the fitted curve from the matalab and poltt the curve in excel. Though the curve is ok the mean calculated from these values are different to the mean produced by the matlab. As an example Bur distribution indicates a value of 1.06174 for mean, but the extracted data gives a mean arround 0.5.
Your valuable comments are highly appreciated since I am still new to this tool.
0 comentarios
Respuesta aceptada
Jeff Miller
el 19 de Oct. de 2020
It depends on exactly what you mean by "best fitting curve". In general, there is certainly no guarantee that the best-fitting parameters for each distribution (e.g., by maximum likelihood) will give you means that match the means in your data. You will see even bigger discrepancies if you check the standard deviations of the distributions against the standard deviation in your data (e.g., for the exponential). Your only option is to pick your optimization criterion (e.g., maximum likelihood); once you do that, you just have to live with the discrepancies in predicted/observed means, standard deviations, etc. If you really want to match those and don't care about likelihood, you can use the method of moments for your optimization criterion, but the estimates obtained with that method don't generally have nice statistical properties.
Hope that helps.
2 comentarios
Jeff Miller
el 21 de Oct. de 2020
You are welcome. If this answer is what you needed, please accept it so the question will be closed.
Más respuestas (0)
Ver también
Categorías
Más información sobre Neuroimaging en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!