Block 3: Visualizing distributions

Week 5 · Measurement I · Imai §3.3 · about 5 min

NoteHow this works

Run each cell with Run Code, look at the output, then answer the question at the end of the block. Every cell is editable; Start Over resets it. Errors are information: read them.

1. Bar plot with nonresponse as its own bar

2. Histograms of age and education

3. Education by province

Conclusion: Education by province: which provinces stand out?
Median education is 0 in Helmand and Uruzgan but 6 to 7 in Khost, Kunar and Logar: look at groups, not only the pooled mean. Overall, the median is 1 year and the mean 4: a skewed distribution.