MATLAB Answers

how to estimate the distribution of a random variable knowing the histogram?

1 ビュー (過去 30 日間)
Fady Dawra
Fady Dawra 2019 年 12 月 5 日
コメント済み: Fady Dawra 2019 年 12 月 6 日
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 件のコメント

サインイン to comment.

回答 (1 件)

the cyclist
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).

  1 件のコメント

Fady Dawra
Fady Dawra 2019 年 12 月 6 日
Hello Thank you for your answer.
This is my histogram and what I need is to estimate the distribution of probability.
I think ksdensity is what I am searching for.
Thank you
hist.png

サインイン to comment.

サインイン してこの質問に回答します。


Translated by