Cross Validated
2024-03-19 23:46 UTC
By Alex J
AI-113-20240319-social-media-189c2472
How should I visualise uncertainty in a histogram from survey sampling?
I have a numeric variable $\{x_i\}$ , which corresponding weights $\{w_i\}$ , where the weights are survey weights from a corresponding complex survey design. I want to visualise a weighted histogram of $\{x_i\}$ that also communicates the uncertainty on $\{x_i\}$ due to sampling error. What are some good ways to communicate this uncertainty? (I know how to make the weighted histogram, it's the uncertainty that I would like assistance with). If code answers are supplied, in R would be preferable. Note 1: In the past, I have created a histogram with error intervals (standard error) on the height of each histogram bar. But that seems clunky to me, and I was hoping to find out about other statistical visualisation techniques. Note 2: For the sake of making visualisation examples, feel free to just make up uncertainties/errors. I will calculate them in my own project using jack-knife replicate weights.
I have a numeric variable $\{x_i\}$ , which corresponding weights $\{w_i\}$ , where the weights are survey weights from a corresponding complex survey design. I want to visualise a weighted histogram of $\{x_i\}$ that also communicates the uncertainty on $\{x_i\}$ due to sampling error. What are some good ways to communicate this uncertainty? (I know how to make the weighted histogram, it's the uncertainty that I would like assistance with). If code answers are supplied, in R would be preferable. Note 1: In the past, I have created a histogram with error intervals (standard error) on the height of each histogram bar. But that seems clunky to me, and I was hoping to find out about other statistical visualisation techniques. Note 2: For the sake of making visualisation examples, feel free to just make up uncertainties/errors. I will calculate them in my own project using jack-knife replicate weights.
Full article content could not be extracted automatically. Read the original below.
Source:
Cross Validated
· stats.stackexchange.com