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

1 visualización (últimos 30 días)
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?

Respuestas (1)

the cyclist
the cyclist el 5 de Dic. de 2019
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 comentario
Fady Dawra
Fady Dawra el 6 de Dic. de 2019
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

Iniciar sesión para comentar.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by