how to estimate the distribution of a random variable knowing the histogram?
1 次查看(过去 30 天)
显示 更早的评论
Hello I need help.
We have a random variable and we start by getting the histogram of this random variable.
Can someone give me a code to extract from the histogram the distribution of this random variable?
0 个评论
回答(1 个)
the cyclist
2019-12-5
Do you have the underlying data, or only the counts from each bin?
Were you hoping to find a particular functional form (e.g. a normal distribution), or is something purely empirical OK?
Depending on the answers to these questions, the ksdensity function might be useful (if you have the Statistics and Machine Learning Toolbox).
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!