MATLAB: How to determine if the data follows a lognormal distribution

lognormalMATLABStatistics and Machine Learning Toolbox

My x-data includes arrival time for cells and my y-data includes their velocities. How can I determine if this data set follows a lognormal distribution?
I've already tried QQ-plots and histograms, but am utterly lost on how to approach this.
Thanks.

Best Answer

If all your data are positive, that’s a good start. I’m not sure what you’re studying, but I always associate ‘arrival times’ with the Poisson distribution (that ‘looks’ a lot like the lognormal distribution). The velocities may well be lognormally distrbuted. I suggest using the histfit function for both. Another option is to use the chi2gof function to perform a Chi-square goodness-of-fit test.
Related Question