Choosing bin size to include equal number of data points

3 Ansichten (letzte 30 Tage)
Hari krishnan
Hari krishnan am 12 Dez. 2018
Kommentiert: Image Analyst am 13 Dez. 2018
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 Kommentare
Hari krishnan
Hari krishnan am 13 Dez. 2018
I am sorry, i don't know.
Image Analyst
Image Analyst am 13 Dez. 2018
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)?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by