For example: if we know the data : 'x1, x2, x3,…..xn'
and the errors of these data: 'e1, e2, e3,…, en'
By using 'hist', one can get the histogram, for example, there are 5 bins:
y axies value: 'count1, count2, count3, count4, count5'
x axies value: 'bin1, bin2, bin3, bin4, bin5 '
Then, how to calculate the errors of 'count1, count2, count3, count4, count5', based on 'e1, e2, e3,…, en'?
Best Answer