what is the difference between a histogram and pdf.

조회 수: 11 (최근 30일)
oshomah kanoba
oshomah kanoba 2015년 3월 1일
답변: TheNovice 2015년 3월 1일
i am trying to understand the difference between pdf and histogram.i want to use an algorithm to plot a bernoulli from a pdf using matlab

답변 (1개)

TheNovice
TheNovice 2015년 3월 1일
A pdf is a function that describes the probability that a random variable will take a certain value.
A histogram shows the probability that a random variable will take an interval of values. See the histogram as a way of estimating the pdf if it is unknown.
Regards. TheNovice

카테고리

Help CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by