I have data with which I plot a histogram.
I would like to know the standard deviation of each bar of histogram.
Do you think it is an acceptable method to divide the samples into sub-samples for which I calculate the height of a bar (and so I will get a new sample of heights), and with this new sample I calculate a standard deviation?
OR should I use an alternative method I found (i.e., bootstrapping). In that case, many new samples are created from the original one, I could get the heights for each of them and then I could get stand deviation for each height.
- What can be told about the accuracy of these standard deviations?
- Are they OK?
- Do you know a better method?