Animations in Survey Sampling

Yihui Xie 2007-10-25

Note: the website introduced below has been moved to

This afternoon I went to the Beijing Custom to give a lecture on sampling techniques as well as my R program. Actually I didn’t make any preparations until late in this morning. When I finished my lunch, I made some animated pictures to illustrate these four kinds of sampling methods: simple random sampling, stratified sampling, cluster sampling and systematic sampling.

Sampling Survey

After I came back to school, I added these animations to my little project Animated Statistics Using R.