I encountered some unexpected behavior from the hist() function while doing a curve-fitting assignment at work.
First, upon typing this:
gets me this
Now, my question is: Why there are densities (probabilities) larger than 1 ??????
the problem gets even worse if I try to increase the number of rectangles, using the 'breaks' option, like this:
Any idea what is going on here?