I'm still learning about statistics so please excuse my partial inability to properly word my confusion.I've plotted the Titanic survival ratios by sex today in seaborn as a barplot and I realized that it shows a confidence interval in the form of error bars on my plot. I understand it does this because the mean is essentially a prediction, where individual values may generally be further away or closer to that prediction. At first, I was a bit confused as I looked at it as single, definitive, correct values (e.g. x % of females and y % of males survived).I want to be sure I understand these error bars here correctly. Intuitively, I would think that the mean can also be interpreted as the mean chance to survive by sex. Looking at it like that, would the error bars then represent the fact, that this chance of survival varies for the individual members of each gender? Or do they not represent any useful intuitive information in this case?
Confidence interval intuition when looking at percentages
python;statistics;prediction;distribution