필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Pick a value from a set of samples with some probability.

조회 수: 1 (최근 30일)
Francesco Pio
Francesco Pio 2023년 5월 22일
마감: John D'Errico 2023년 5월 22일
Hello everyone. I have a set of samples (for example I have values of the height of a set of people).
x = [1.50 1.55 1.58 1.66 1.70 1.70 1.71 1.72 1.72 1.73 1.73 1.74 1.79 1.80 1.85];
How can I calculate the probability distribution of this set? so to associate each sample of x with a certain probability?
Then, once a probability is associated with each value of x, how can I choose a random value of x taking into account the various probabilities?
  댓글 수: 1
John D'Errico
John D'Errico 2023년 5월 22일
As I said the last time you asked virtually the identical question, there is NO correct "THE DISTRIBUTION" for any set of data. You cannot know the true distribution. You might guess that is a sampling from some distribution, perhaps normal, perhaps not.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by