Hi, everyone
When I try to make a histogram with error bar, I need the average and standard deviation(SD) calculated for one set of data first, and the error bar is represented by SD.
However, what is the error bar of Rate(e.g. morbidity)? For example, I decide to compare the incidence of a disease in two areas(A city and B city). In A city, out of 1000 individuals collected, 25(2.5%) are attacked by the disease. In B city, out of 1100 individuals collected, 10(1%) are attacked by the disease. Then, chi-squared test is used to compare the morbidities, and the P value is 0.00817. Here is the figure.
How to add error bar to the histogram of morbidity? I'm confused what the error bar of Rate means.
Thank you in advance!