Choosing bin size to include equal number of data points

조회 수: 5 (최근 30일)
Hari krishnan
Hari krishnan 2018년 12월 12일
댓글: Image Analyst 2018년 12월 13일
I have 'time' of certain event to happen in first column and the 'probability of event to happen' in the second column. If i want to plot the data with each bin containing equal number of visits based on the time of visit, how should i decide the bin size?
  댓글 수: 3
Hari krishnan
Hari krishnan 2018년 12월 13일
I am sorry, i don't know.
Image Analyst
Image Analyst 2018년 12월 13일
Do the bins all have to be the same width, or can you have variable size bins? If equal bins, is it OK to ignore empty bins and just try to find the bin width such that the standard deviation of counts in the occupied bins is minimized (this is pretty easy - actually variable sized bins is also fairly easy)?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by