I have the information about the event number and the number of particles generated per event.
I want to calculate the statistical error when I calculate the moments. Any helpful tips/formulae i can use for it.
I guess you would like to know the standard errors on the moments (mean, variance).
The ROOT class TH1 computes them for the mean and the standard deviations, see
For the StandardDeviation the TH1 classes computes the error assuming a normal distribution for the data. You can find the general formula in some statistics books, for example, Kendall-Stuart Vol. 1.
Thank you, Moneta. I have tried calculating using the delta theorem approach. The results are similar to the results from the function you have pointed out.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.