Group Abstract Group Abstract

Message Boards Message Boards

Understanding HistogramList result - number of bins

Posted 11 years ago

Dear colleagues, please help me understand this:

In[1]:= data = RandomVariate[NormalDistribution[0, 1], 200];
HistogramList[data, 3]

Out[2]= {{-4, -2, 0, 2, 4}, {5, 84, 109, 2}}

Why there are four and not three bins?

Thank you!

POSTED BY: Tomáš Hruš
2 Replies
Posted 11 years ago

Thank you!

POSTED BY: Tomáš Hruš
POSTED BY: Marco Thiel
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard